QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 852|回复: 1

编译cce-0.51时出错了,请高手帮助!

[复制链接]
发表于 2005-9-17 21:00:49 | 显示全部楼层 |阅读模式
出错信息如下!
[admin@fedora cce-0.51]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/memio.h usability... no
checking sys/memio.h presence... no
checking for sys/memio.h... no
checking sys/vt.h usability... yes
checking sys/vt.h presence... yes
checking for sys/vt.h... yes
checking sys/kd.h usability... yes
checking sys/kd.h presence... yes
checking for sys/kd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether sys_siglist is declared... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for basename... yes
checking for waitpid... yes
checking for putenv... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for mkstemp... yes
checking for snprintf... yes
checking for getuid... yes
checking for kill... yes
checking for ttyname... yes
checking for iconv... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking ggi/ggi.h usability... no
checking ggi/ggi.h presence... no
checking for ggi/ggi.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/font/Makefile
config.status: creating src/input/Makefile
config.status: creating src/kbmouse/Makefile
config.status: creating src/display/Makefile
config.status: creating src/term/Makefile
config.status: creating src/osdep/Makefile
config.status: creating inputs/Makefile
config.status: creating inputs/utils/Makefile
config.status: creating inputs/all/Makefile
config.status: creating inputs/gb/Makefile
config.status: creating inputs/gbk/Makefile
config.status: creating inputs/big5/Makefile
config.status: creating inputs/jis/Makefile
config.status: creating inputs/ksc/Makefile
config.status: creating fonts/Makefile
config.status: creating doc/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
[admin@fedora cce-0.51]$ make
Making all in src
make[1]: Entering directory `/tmp/cce-0.51/src'
Making all in input
make[2]: Entering directory `/tmp/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 `test -f 'associate.c' || echo './'`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: 在函数 ‘bzero2’ 中:
../../include/defs.h:61: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘wzero’ 中:
../../include/defs.h:68: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘lzero’ 中:
../../include/defs.h:76: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘bmove’ 中:
../../include/defs.h:82: 错误:自增运算中的左值无效
../../include/defs.h:82: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘brmove’ 中:
../../include/defs.h:88: 错误:自减运算中的左值无效
../../include/defs.h:88: 错误:自减运算中的左值无效
../../include/defs.h: 在函数 ‘wmove’ 中:
../../include/defs.h:95: 错误:自增运算中的左值无效
../../include/defs.h:95: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘lmove’ 中:
../../include/defs.h:102: 错误:自增运算中的左值无效
../../include/defs.h:102: 错误:自增运算中的左值无效
associate.c: 在函数 ‘FillAssociateChars’ 中:
associate.c:150: 警告:传递参数 1 (属于 ‘strlen’) 给指针时目标与指针有/无符号不 一致
associate.c:165: 警告:传递参数 1 (属于 ‘__builtin_strncpy’) 给指针时目标与指针 有/无符号不一致
associate.c:165: 警告:传递参数 2 (属于 ‘__builtin_strncpy’) 给指针时目标与指针 有/无符号不一致
associate.c: 在函数 ‘DisplayAssociateInput’ 中:
associate.c:200: 警告:传递参数 3 (属于 ‘InputAreaOutput’) 给指针时目标与指针有/无符号不一致
associate.c: 在函数 ‘Associate_HZFilter’ 中:
associate.c:214: 警告:对指针赋值时目标与指针有/无符号不一致
make[2]: *** [associate.o] 错误 1
make[2]: Leaving directory `/tmp/cce-0.51/src/input'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/tmp/cce-0.51/src'
make: *** [all-recursive] 错误 1
发表于 2005-9-17 21:13:23 | 显示全部楼层
安装说明上要求GCC等软件的版本是多少的?
你不会在用最新的GCC4吧
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 17:47 , Processed in 0.073234 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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