From: Michael R. <re...@eu...> - 2004-09-09 03:06:48
|
Hi Heiko, > just tried to compile lcd4linux v0.9.11 with gcc 3.4.1 (+ glibc 2.3.4 + > nptl) and ran into an error: I'm using gcc-3.3.4 here > 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 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" I don't think this is related to gcc, but your header files. system.c includes if_ppp.h, which triggers this error. Maybe one needs to inclode some other header before if_ppp.... If you take a look at the crc-ccitt.h file, at line 6, what is there "before const"? Next, try where this symbol gets defined, and try to include this file manually. btw, you could and should try the CVS version of lcd4linux. The code is stable, it just lacks documentation... bye, Michael -- Michael Reinelt ICQ #288386781 e-mail: re...@eu... Tel: +43 676 3079941 Geisslergasse 4, A-8045 Graz, Austria GPG/PGP-Key: 0xDF13BA50 |