LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 750|回复: 6

每天一个编译问题

[复制链接]
发表于 2005-12-7 15:47:24 | 显示全部楼层 |阅读模式
今天编译x11的源码,在make world后
Building Release 6.8.2.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Wed Dec  7 15:24:03 EST 2005

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/home/xavi/xc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/home/xavi/xc/config/imake'
make  Makefile.boot
make[1]: Entering directory `/home/xavi/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/home/xavi/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/home/xavi/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
make[1]: *** [config/makedepend/Makefile.proto] Error 243
make[1]: Leaving directory `/home/xavi/xc'
make: *** [World] Error 2
我找我找`makefile.proto这个文件发现是空的,而且是编译后自动创建的``
谁能帮帮我?
发表于 2005-12-8 10:16:39 | 显示全部楼层
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../..

Makefile.proto先被删除,然后通过/config/cf创建,你检查/config/cf中是不是什么配置错误。
比如BOOTSTRAPCFLAGS是不是要设置为什么。
回复 支持 反对

使用道具 举报

发表于 2005-12-8 10:16:01 | 显示全部楼层
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../..

Makefile.proto先被删除,然后通过/config/cf创建,你检查/config/cf中是不是什么配置错误。
比如BOOTSTRAPCFLAGS是不是要设置为什么。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-8 11:35:35 | 显示全部楼层
````本来就没有makefile.proto这个文件`
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-8 11:36:29 | 显示全部楼层
````本来就没有makefile.proto这个文件`
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-8 11:37:51 | 显示全部楼层
````本来就没有makefile.proto这个文件`
我也看不明白``
回复 支持 反对

使用道具 举报

发表于 2005-12-9 10:03:23 | 显示全部楼层
建议兄弟最好是先熟悉一下GNU的开发环境,特点是autotools和makefile,不然会被弄得昏头转向,不知所措。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表