LinuxSir.cn,穿越时空的Linuxsir!

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

有成功编译过CCE的吗?

[复制链接]
发表于 2005-12-6 13:41:12 | 显示全部楼层 |阅读模式
今天编译了一下出错 了,编译时用的是GCC3.4
./configure --enable-fb --enable-filter --enable-freetype
make
debian:/mnt/pub/software/cce-0.51# make
Making all in src
make[1]: Entering directory `/mnt/pub/software/cce-0.51/src'
Making all in input
make[2]: Entering directory `/mnt/pub/software/cce-0.51/src/input'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -DCCELIB=\"/usr/local/share/cce\"  -MT associate.o -MD -MP -MF ".deps/associate.Tpo" -c -o associate.o associate.c; \
then mv -f ".deps/associate.Tpo" ".deps/associate.Po"; else rm -f ".deps/associate.Tpo"; exit 1; fi
In file included from associate.c:38:
../../include/defs.h: In function `bzero2':
../../include/defs.h:61: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wzero':
../../include/defs.h:68: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lzero':
../../include/defs.h:76: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `bmove':
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `brmove':
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wmove':
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lmove':
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -DCCELIB=\"/usr/local/share/cce\"  -MT hzinput.o -MD -MP -MF ".deps/hzinput.Tpo" -c -o hzinput.o hzinput.c; \
then mv -f ".deps/hzinput.Tpo" ".deps/hzinput.Po"; else rm -f ".deps/hzinput.Tpo"; exit 1; fi
In file included from hzinput.c:38:
../../include/defs.h: In function `bzero2':
../../include/defs.h:61: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wzero':
../../include/defs.h:68: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lzero':
../../include/defs.h:76: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `bmove':
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `brmove':
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wmove':
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lmove':
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -DCCELIB=\"/usr/local/share/cce\"  -MT intcode.o -MD -MP -MF ".deps/intcode.Tpo" -c -o intcode.o intcode.c; \
then mv -f ".deps/intcode.Tpo" ".deps/intcode.Po"; else rm -f ".deps/intcode.Tpo"; exit 1; fi
In file included from intcode.c:37:
../../include/defs.h: In function `bzero2':
../../include/defs.h:61: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wzero':
../../include/defs.h:68: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lzero':
../../include/defs.h:76: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `bmove':
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `brmove':
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wmove':
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lmove':
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
..............................................
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include  -I/usr/include/freetype2    -g -O2 -DCCELIB=\"/usr/local/share/cce\"  -MT term.o -MD -MP -MF ".deps/term.Tpo" -c -o term.o term.c; \
then mv -f ".deps/term.Tpo" ".deps/term.Po"; else rm -f ".deps/term.Tpo"; exit 1; fi
In file included from ../../include/getcap.h:36,
                 from term.c:41:
../../include/defs.h: In function `bzero2':
../../include/defs.h:61: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wzero':
../../include/defs.h:68: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lzero':
../../include/defs.h:76: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `bmove':
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:82: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `brmove':
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:88: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `wmove':
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:95: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h: In function `lmove':
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
../../include/defs.h:102: warning: use of cast expressions as lvalues is deprecated
In file included from term.c:60:
/usr/include/sys/wait.h: At top level:
/usr/include/sys/wait.h:103: error: parse error before numeric constant
make[2]: *** [term.o] 错误 1
make[2]: Leaving directory `/mnt/pub/software/cce-0.51/src/term'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/mnt/pub/software/cce-0.51/src'
make: *** [all-recursive] 错误 1
发表于 2005-12-6 17:44:21 | 显示全部楼层
./configure --enable-fb --enable-filter
make
能编译,gcc3.3.5,最后写文件/usr/local/xxx 时提示了一些错误,
su
make install
就行了。
还有这里:
http://www.linuxsir.cn/bbs/showthread.php?t=223037
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-6 21:53:43 | 显示全部楼层
看到roadgo版主说有安装源,不知道能否提供个地址?Sid里好像没有
回复 支持 反对

使用道具 举报

发表于 2005-12-7 14:06:14 | 显示全部楼层
不知道,我找不到才编译的。
回复 支持 反对

使用道具 举报

发表于 2006-3-6 15:38:19 | 显示全部楼层
楼主问题解决没有?我也碰到同样的情况,以前在GCC3.3下可以,升级到3.4后就不行了。
回复 支持 反对

使用道具 举报

发表于 2006-3-6 23:10:24 | 显示全部楼层
我也没编译成功了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-6 23:25:09 | 显示全部楼层
Post by linuxcpp
我也没编译成功了


下rpm安装就行了
回复 支持 反对

使用道具 举报

发表于 2006-3-7 09:32:43 | 显示全部楼层
用gcc4编译。
回复 支持 反对

使用道具 举报

发表于 2006-3-7 10:36:38 | 显示全部楼层
Post by springwind426
用gcc4编译。



sid里是gcc 4了吧,我编译了也没成功



#./configure  (通过)
# make
Making all in src
make[1]: Entering directory `/backup/cce-0.51/src'
Making all in input
make[2]: Entering directory `/backup/cce-0.51/src/input'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -DCCELIB=\"/usr/local/share/cce\"  -MT associate.o -MD -MP -MF ".deps/associate.Tpo" -c -o associate.o associate.c; \
        then mv -f ".deps/associate.Tpo" ".deps/associate.Po"; else rm -f ".deps/associate.Tpo"; exit 1; fi
In file included from associate.c:38:
../../include/defs.h: In function ‘bzero2’:
../../include/defs.h:61: error: invalid lvalue in increment
../../include/defs.h: In function ‘wzero’:
../../include/defs.h:68: error: invalid lvalue in increment
../../include/defs.h: In function ‘lzero’:
../../include/defs.h:76: error: invalid lvalue in increment
../../include/defs.h: In function ‘bmove’:
../../include/defs.h:82: error: invalid lvalue in increment
../../include/defs.h:82: error: invalid lvalue in increment
../../include/defs.h: In function ‘brmove’:
../../include/defs.h:88: error: invalid lvalue in decrement
../../include/defs.h:88: error: invalid lvalue in decrement
../../include/defs.h: In function ‘wmove’:
../../include/defs.h:95: error: invalid lvalue in increment
../../include/defs.h:95: error: invalid lvalue in increment
../../include/defs.h: In function ‘lmove’:
../../include/defs.h:102: error: invalid lvalue in increment
../../include/defs.h:102: error: invalid lvalue in increment
associate.c: In function ‘FillAssociateChars’:
associate.c:150: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
associate.c:165: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
associate.c:165: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
associate.c: In function ‘DisplayAssociateInput’:
associate.c:200: warning: pointer targets in passing argument 3 of ‘InputAreaOutput’ differ in signedness
associate.c: In function ‘Associate_HZFilter’:
associate.c:214: warning: pointer targets in assignment differ in signedness
make[2]: *** [associate.o] 错误 1
make[2]: Leaving directory `/backup/cce-0.51/src/input'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/backup/cce-0.51/src'
make: *** [all-recursive] 错误 1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-7 13:13:07 | 显示全部楼层
Post by springwind426
用gcc4编译。

你用GCC4编译成功过?
回复 支持 反对

使用道具 举报

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

本版积分规则

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