Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71058 - Openswan 2.2.0 does not compile
Summary: Openswan 2.2.0 does not compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 07:44 UTC by Alexander Gretencord
Modified: 2005-01-21 02:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Gretencord 2004-11-13 07:44:57 UTC
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:
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2005-01-20 19:09:56 UTC
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.
Comment 2 Alexander Gretencord 2005-01-21 02:58:46 UTC
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.