From: Viktor K. <vi...@ka...> - 2008-05-10 11:32:30
|
Hi, i tried to compile the fidogate 4.4.10 source on a new machine (OpenSuse 10.3 with gcc version 4.2.1) and got this: make[2]: Entering directory `/root/Downloads/fidogate-4.4.10.vk/src/gate' gcc -g -I../.. -I../../src/include -Wall -c ftn2rfc.c gcc -g -L../../src/common -o ftn2rfc ftn2rfc.o -lfidogate gcc -g -I../.. -I../../src/include -Wall -c ftnin.c gcc -g -L../../src/common -o ftnin ftnin.o -lfidogate gcc -g -I../.. -I../../src/include -Wall -c rfc2ftn.c rfc2ftn.c:102: error: static declaration of ‘i_flag’ follows non-static declaration ../../src/include/prototypes.h:53: error: previous declaration of ‘i_flag’ was here make[2]: *** [rfc2ftn.o] Fehler 1 make[2]: Leaving directory `/root/Downloads/fidogate-4.4.10.vk/src/gate' make[1]: *** [all] Fehler 1 make[1]: Leaving directory `/root/Downloads/fidogate-4.4.10.vk/src' make: *** [all] Fehler 1 The exactly same source code compiles under SuSE Linux 9.3 and gcc version 3.3.5 20050117 (prerelease) without any problem. As google said, this "static declaration of ... follows non-static declaration" error occurs often on "old" code with new gcc version. Martin, can you fix that? Ciao, -- Viktor Kafke <vi...@ka...> Mühlenweg 60 * D-31515 Wunstorf Tel.: 05031-5150017 * Fax.: 05031-5150016 PGP-Key AE474634 at http://www.visyn.net/vik-key.asc |