Klaus Heinz wrote:
almeyers%consult-meyers.com@localhost wrote:Release: latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386I suppose you used the native compiler to start the bootstrap process and used it for all the packages? Mandrake 10.1 includes gcc 3.4.something as the native compiler. This version of gcc/g++ obviously refuses to accept certain C++ statements which were acceptable to earlier releases. The exact same errors happen on NetBSD if GCC_REQD=3.4 is set in /etc/mk.conf. As a workaround, I propose to use USE_PKGSRC_GCC=yesGCC_REQD+=3in your mk.conf filest; don't forget to recompile libtool-base when you change your default compiler in this way. Enigma compiled with lang/gcc3 works on Mandrake 10.1. ciao Klaus
Hallo Klaus,Even if it might work, the workaround with gcc3 cannot be tested because lang/gcc3 does not build. Shall post this to a new PR. AFAIK 3.4 is now the official stable version of the gcc.
Thanks just the same. Greetings, Lux Here is the output:gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I/usr/pkg/include -I. -If -I. -I./f -I./config -I./../include f/bad.c -o f/bad.o gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I/usr/pkg/include -I. -If -I. -I./f -I./config -I./../include f/bit.c -o f/bit.o gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I/usr/pkg/include -I. -If -I. -I./f -I./config -I./../include f/bld.c -o f/bld.o gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I/usr/pkg/include -I. -If -I. -I./f -I./config -I./../include f/com.c -o f/com.o
f/com.c:11080: error: conflicting types for 'ffecom_gfrt_basictype' f/com.h:236: error: previous declaration of 'ffecom_gfrt_basictype' was here f/com.c:11080: error: conflicting types for 'ffecom_gfrt_basictype' f/com.h:236: error: previous declaration of 'ffecom_gfrt_basictype' was here make: *** [f/com.o] Fehler 1 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/lang/gcc3-f77 ===> ===> There was an error during the ``build'' phase. ===> Please investigate the following for more information: ===> * log of the build ===> * /usr/pkgsrc/lang/gcc3-f77/work/.work.log ===> *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/gcc3-f77 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/gcc3 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/gcc3