From: Heiko Z. <he...@zu...> - 2004-09-08 01:38:26
|
Hey guys, just tried to compile lcd4linux v0.9.11 with gcc 3.4.1 (+ glibc 2.3.4 + nptl) and ran into an error: make[1]: Entering directory `/data/build/tmp/lcd4linux-0.9.11' gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c lcd4linux.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c debug.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c cfg.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c lock.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c pid.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c parser.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c processor.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -g -O2 -c system.c In file included from /usr/include/linux/ppp_defs.h:45, from /usr/include/net/ppp_defs.h:8, from /usr/include/net/if_ppp.h:56, from system.c:219: /usr/include/linux/crc-ccitt.h:6: error: syntax error before "const" /usr/include/linux/crc-ccitt.h:8: error: parse error before "crc_ccitt" /usr/include/linux/crc-ccitt.h:8: error: parse error before "crc" /usr/include/linux/crc-ccitt.h:10: error: parse error before "crc_ccitt_byte" /usr/include/linux/crc-ccitt.h:10: error: parse error before "crc" /usr/include/linux/crc-ccitt.h: In function `crc_ccitt_byte': /usr/include/linux/crc-ccitt.h:12: error: `crc' undeclared (first use in this function) /usr/include/linux/crc-ccitt.h:12: error: (Each undeclared identifier is reported only once /usr/include/linux/crc-ccitt.h:12: error: for each function it appears in.) /usr/include/linux/crc-ccitt.h:12: error: `c' undeclared (first use in this function) make[1]: *** [system.o] Error 1 make[1]: Leaving directory `/data/build/tmp/lcd4linux-0.9.11' I'm not on the mailinglist, so please CC me to any responses. Thanks for the help! -- Regards Heiko Zuerker http://www.devil-linux.org |