LinuxSir.cn,穿越时空的Linuxsir!

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

编译X的时候出现了这样的错误,一直没法搞定,要怎么办呢?

[复制链接]
发表于 2003-8-10 18:19:24 | 显示全部楼层 |阅读模式
I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

日  8月 10 18:16:43 CST 2003

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/source/x/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 `/source/x/xc/config/imake'
make  Makefile.boot
make[1]: Entering directory `/source/x/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/source/x/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 `/source/x/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
./config/cf/X11.tmpl:3641: syntax error
./config/cf/X11.tmpl:3670: syntax error
./config/cf/X11.tmpl:3687: syntax error
./config/cf/X11.tmpl:3699: syntax error
./config/imake/imake: Exit code 1.
  Stop.
make[1]: *** [config/makedepend/Makefile.proto] 错误 1
make[1]: Leaving directory `/source/x/xc'
make: *** [World] 错误 2
make -f xmakefile install
make[1]: Entering directory `/source/x/xc'
make[1]: xmakefile: 没有那个文件或目录
make[1]: *** 没有规则可以创建目标“xmakefile”。 停止。
make[1]: Leaving directory `/source/x/xc'
make: *** [install] 错误 2

请问这是哪里错了呢?
本来在有几次也可以,但是现在每次都不行了。不知道什么原因。
 楼主| 发表于 2003-8-10 19:21:26 | 显示全部楼层
每次都是这样,我在想呆能是哪个文件没有安装,使复X11.tmpl的这几行显示是语法出错。
我看了一下这个文件的这几行,好像也没有什么奇怪的东西呀。
/*
* CompressedFontTarget
*/
#ifndef GzipFontCompression
#define GzipFontCompression NO
#endif

#if ! CrossCompiling || UseInstalledOnCrossCompile
# ifndef CompressedFontTargetLong
#  if GzipFontCompression           “3641行”
#   define CompressedFontTargetLong(sname,tname)                        @@\
FontBaseObj(tname).gz:  FontSrc(sname)                                  @@\
        RunProgram(FONTC,$(FONTCFLAGS) $?) | $(GZIPCMD) > $@
#  else
#   define CompressedFontTargetLong(sname,tname)                        @@\
FontBaseObj(tname).Z:  FontSrc(sname)                                   @@\
        RunProgram(FONTC,$(FONTCFLAGS) $?) | $(COMPRESS) > $@
#  endif
# endif /* CompressedFontTargetLong */
#else
#   define CompressedFontTargetLong(sname,tname)
#endif

其他几行都也是因为跟3641这一行一样的。
看了一下上文,这个变量已经定义了呀,怎么还出错呢?
#ifndef GzipFontCompression
#define GzipFontCompression NO
#endif
还是因为NO这个不能识别呢?
不可能吧?
 楼主| 发表于 2003-8-10 20:59:01 | 显示全部楼层
很是奇怪耶,怎么搞的,自己居然又可以了。
搞不懂为什么会这样耶。
 楼主| 发表于 2003-8-10 21:00:37 | 显示全部楼层
现在又有新问题出现了,在make install的时候出现了这样的错误:
昨天也是这样害得我重做了一次还是不行耶。
高手们帮帮忙,看看吧。
making all in programs/Xserver/hw/xfree86/ddc...
make[5]: Entering directory `/source/x/xc/programs/Xserver/hw/xfree86/ddc'
rm -f xf86DDC.o
gcc -m32 -O2 -fomit-frame-pointer -march=i686 -ansi -pedantic -pipe    -fno-merg
e-constants -I. -I../../../../../programs/Xserver/hw/xfree86/common -I../../../.
./../programs/Xserver/hw/xfree86/os-support            -I../../../../../programs
/Xserver/include -I../../../../../exports/include/X11            -I../../../../.                                            ./programs/Xserver/hw/xfree86/i2c  -I../../../../.. -I../../../../../exports/inc                                            lude   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOU                                            RCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -D                                            XAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANO                                            RAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -D                                            XFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExt                                            ension  -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_EN                                            DIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module    -c x                                            f86DDC.c
xf86DDC.c: In function `DDCRead_DDC2':
xf86DDC.c:336: invalid lvalue in assignment
make[5]: *** [xf86DDC.o] 错误 1
make[5]: Leaving directory `/source/x/xc/programs/Xserver/hw/xfree86/ddc'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/source/x/xc/programs/Xserver/hw/xfree86'
make[3]: *** [hw/xfree86] 错误 2
make[3]: Leaving directory `/source/x/xc/programs/Xserver'
make[2]: *** [install] 错误 2
make[2]: Leaving directory `/source/x/xc/programs'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/source/x/xc'
make: *** [install] 错误 2
 楼主| 发表于 2003-8-10 21:46:22 | 显示全部楼层
看了它们所关联的程序和头文件,值的类型是正确的呀。
奇怪。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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