发新话题
打印

XFree86 的交叉编译

XFree86 的交叉编译

各位,不知有谁曾经进行过XFree86 for arm的交叉编译。
我这里MAKE INSTALL总不能过去,出现各种问题,有谁能给出他的一个详细的配置过程吗? 先谢过了。      

TOP

cygwin下还是redhat?      

TOP

是在RedHat7。2下,xfree86的源码来自于Redhat 源码盘。
  xfree86的版本是XFree86-4.1.0      

TOP

把你的configure参数给我们看看,还有你install的错误是那些?
无非 就是配置,make,install啊,不同的系统,会不同错误的,不好讲具体过程的。只能碰见问题然后解决。      

TOP

make install后出错的信息如下:
make[3]: Entering directory `/xc/config/util'
Makefile:889: warning: overriding commands for target `../../config/makedepend/makedepend'
Makefile:801: warning: ignoring old commands for target `../../config/makedepend/makedepend
'
Makefile:897: warning: overriding commands for target `lint'
Makefile:809: warning: ignoring old commands for target `lint'
Makefile:899: warning: overriding commands for target `lint1'
Makefile:811: warning: ignoring old commands for target `lint1'
cc -I../.. -I../../exports/include  -DUSE_CC_E   -c -o makestrs.o makestrs.c
cc: installation problem, cannot exec `cpp0': No such file or directory
make[3]: *** [makestrs.o] Error 1
make[3]: Leaving directory `/xc/config/util'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/xc/config'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/xc'
make: *** [install] Error 2

cpp0 是什么?
                                              先谢了      

TOP

cpp0是c++库里要用到的,也许你装的gcc有问题,对g++支持不够,所以出这个错误。
你看看这个简单的程序能否编译通过:
gcc hello.cpp
g++ hello.cpp
看看什么现象。
#include <iostream.h>
int main()
{
cout << "Hello, world." << endl;
return 0;
}      

TOP

我已经试过了你给出的那个例子,可以交叉编译得到正常的结果。
  我目前绕过了CPP0的这个问题,直接从PROGRAM/下运行MAKE INSTALL,现在已经得到了交叉编译好的二进制XServer,但现在还未尝试,不知可用与否?
  谢谢你的热心帮助,希望以后遇到问题仍能够得到你的答复。
                                              谢谢      

TOP

发新话题