This is on my stable iBook G3: if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc -I./../../src/racoon/missing -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -DSYSCONFDIR=\"/etc\" -DADMINPORTDIR=\"/var/lib/racoon\" -O3 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe -Wall -Werror -Wno-unused -MT session.o -MD -MP -MF ".deps/session.Tpo" -c -o session.o session.c; \ then mv -f ".deps/session.Tpo" ".deps/session.Po"; else rm -f ".deps/session.Tpo"; exit 1; fi session.c: In function `signal_handler': session.c:287: warning: implicit declaration of function `wait' session.c:301: warning: no return statement in function returning non-void session.c: In function `set_signal': session.c:432: warning: assignment from incompatible pointer type make[3]: *** [session.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/ipsec-tools-0.5.2/work/ipsec-tools-0.5.2/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/ipsec-tools-0.5.2/work/ipsec-tools-0.5.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ipsec-tools-0.5.2/work/ipsec-tools-0.5.2' make: *** [all] Error 2
Hmm. Now, a week later, it compiled without any problem. Very curious.