gcc -march=i686 -O2 -pipe -march=i686 -O2 -pipe -I../.. -I../../linux/include -I../../include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -Werror -c -o spi.o spi.c cc1: warnings being treated as errors spi.c: In function `main': spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:494: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:832: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:860: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:901: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1628: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1632: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic spi.c:1636: warning: pointer of type `void *' used in arithmetic make[2]: *** [spi.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0/programs/spi' make[1]: *** [programs] Error 1 make[1]: Leaving directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0/programs' make: *** [programs] Error 1 I'm running the x86/gcc2 profile if that has anything to do with it. According to http://lists.freeswan.org/pipermail/design/2003-January/004208.html this can be fixed! But I don't yet know why this happens for me. I'll try to find out soon. Reproducible: Always Steps to Reproduce: 1. emerge openswan 2.2.0 Actual Results:
you can try against openswan-2.3.0, but is there any reason you cannot upgrade to gcc-3.3 ? please let me know how compiling 2.3.0 goes... i will try and help if the issue still persists.
I upgraded my whole system in a chroot, as x.org did not compile either with the 2.95 profile and switched to that installation so I can't test it any longer. 2.95 is old but still, gentoo should phase out those profiles, perhaps telling people with every emerge to upgrade, as several packages fail to even compile with 2.95.