View previous topic :: View next topic |
Author |
Message |
uk_planet n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/8106950563feb4779a01c0.gif)
Joined: 25 Dec 2003 Posts: 9 Location: Bristol, UK
|
Posted: Tue Mar 29, 2005 5:49 pm Post subject: openswan emerge problems |
|
|
Hi
I am having trouble emerging openswan-2.2.0. I end up with the following mesg any ideas?
Have rebuilt the kernel to support ipsec, etc and emerged ipsec-tools...
Quote: |
emerge -D openswan
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/openswan-2.2.0 to /
>>> md5 src_uri openswan-2.2.0.tar.gz
* Linux kernel is version 2.6.10
* This ebuild will set openswan-2.2.0 to use 2.6 native IPsec (KAME).
* KLIPS will not be compiled/installed.
>>> Unpacking source...
>>> Unpacking openswan-2.2.0.tar.gz to /var/tmp/portage/openswan-2.2.0/work
* Applying openswan-2.2.0-gentoo.patch ... [ ok ]
>>> Source unpacked.
make[1]: Entering directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0
/doc'
make[1]: Nothing to be done for `programs'.
make[1]: Leaving directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0/
doc'
make[1]: Entering directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0
/lib'
make[2]: Entering directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0
/lib/libopenswan'
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o addrtoa.o ../../linux/lib/libfreeswan/addrtoa.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o addrtot.o ../../linux/lib/libfreeswan/addrtot.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o addrtypeof.o ../../linux/lib/libfreeswan/addrtypeof.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o alg_info.o alg_info.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o anyaddr.o ../../linux/lib/libfreeswan/anyaddr.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o atoaddr.o atoaddr.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o atoasr.o atoasr.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o atosubnet.o atosubnet.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o atoul.o atoul.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o constants.o constants.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o copyright.o copyright.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o datatot.o ../../linux/lib/libfreeswan/datatot.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o alloc.o alloc.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o diag.o diag.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o goodmask.o ../../linux/lib/libfreeswan/goodmask.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o initaddr.o ../../linux/lib/libfreeswan/initaddr.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o initsaid.o initsaid.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o initsubnet.o initsubnet.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o keyblobtoid.o keyblobtoid.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o kernel_alg.o kernel_alg.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o optionsfrom.o optionsfrom.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o oswlog.o oswlog.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o pfkey_v2_build.o ../../linux/lib/libfreeswan/pfkey_v2_build.
c
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_msg_hdr_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:178: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_sa_ref_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:263: warning: comparison is always
false due to limited range of data type
../../linux/lib/libfreeswan/pfkey_v2_build.c:302: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_lifetime_build'
:
../../linux/lib/libfreeswan/pfkey_v2_build.c:379: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_key_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:568: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_ident_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:649: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_sens_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:701: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_prop_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:758: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_supported_build
':
../../linux/lib/libfreeswan/pfkey_v2_build.c:838: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_spirange_build'
:
../../linux/lib/libfreeswan/pfkey_v2_build.c:919: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_x_kmprivate_bui
ld':
../../linux/lib/libfreeswan/pfkey_v2_build.c:963: warning: use of cast expressio
ns as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_x_satype_build'
:
../../linux/lib/libfreeswan/pfkey_v2_build.c:1013: warning: use of cast expressi
ons as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_x_debug_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:1068: warning: use of cast expressi
ons as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_x_nat_t_type_bu
ild':
../../linux/lib/libfreeswan/pfkey_v2_build.c:1126: warning: use of cast expressi
ons as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_x_nat_t_port_bu
ild':
../../linux/lib/libfreeswan/pfkey_v2_build.c:1178: warning: use of cast expressi
ons as lvalues is deprecated
../../linux/lib/libfreeswan/pfkey_v2_build.c: In function `pfkey_msg_build':
../../linux/lib/libfreeswan/pfkey_v2_build.c:1331: warning: use of cast expressi
ons as lvalues is deprecated
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o pfkey_v2_ext_bits.o ../../linux/lib/libfreeswan/pfkey_v2_ext
_bits.c
cc -I. -I../../linux/lib/libfreeswan -I../../linux/include -I../.. -I../../inclu
de -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-q
ual -Wstrict-prototypes -Wbad-function-cast -DX509_VERSION=\"X.509-1.5.4\" -DNA
T_TRAVERSAL -c -o pfkey_v2_parse.o ../../linux/lib/libfreeswan/pfkey_v2_parse.
c
In file included from ../../linux/lib/libfreeswan/pfkey_v2_parse.c:64:
../../programs/pluto/defs.h:88:17: gmp.h: No such file or directory
In file included from ../../linux/lib/libfreeswan/pfkey_v2_parse.c:64:
../../programs/pluto/defs.h:90: error: parse error before '*' token
../../programs/pluto/defs.h:90: warning: function declaration isn't a prototype
../../programs/pluto/defs.h:91: warning: type defaults to `int' in declaration o
f `MP_INT'
../../programs/pluto/defs.h:91: error: parse error before '*' token
../../programs/pluto/defs.h:91: warning: function declaration isn't a prototype
../../linux/lib/libfreeswan/pfkey_v2_parse.c: In function `pfkey_sa_parse':
../../linux/lib/libfreeswan/pfkey_v2_parse.c:197: warning: comparison is alwaysfalse due to limited range of data type
../../linux/lib/libfreeswan/pfkey_v2_parse.c: In function `pfkey_prop_parse':
../../linux/lib/libfreeswan/pfkey_v2_parse.c:712: warning: comparison is alwaysfalse due to limited range of data type
../../linux/lib/libfreeswan/pfkey_v2_parse.c: In function `pfkey_supported_parse':
../../linux/lib/libfreeswan/pfkey_v2_parse.c:897: warning: comparison is alwaysfalse due to limited range of data type
make[2]: *** [pfkey_v2_parse.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0/lib/libopenswan'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0/lib'
make: *** [programs] Error 1
!!! ERROR: net-misc/openswan-2.2.0 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message
|
Am I missing any dependancies as i seems to be failing on the pfkey_v2 stuff?![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxpyro Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/167690942248854ece5b258.jpg)
Joined: 08 Sep 2004 Posts: 255
|
Posted: Sat Aug 27, 2005 11:54 pm Post subject: |
|
|
I'm having the same problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SkyLeach Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1970674717422e7ad847c6e.png)
Joined: 05 Nov 2002 Posts: 177 Location: Knoxville, TN
|
Posted: Thu Sep 01, 2005 4:50 pm Post subject: |
|
|
I'm having trouble with this as well.
Code: | cc -DNAT_TRAVERSAL -DVIRTUAL_IP -I../../linux/include -I../../lib -I.. -I../.. -DIPSEC_EXECDIR=\"/usr/libexec/ipsec\" -DIPSEC_CONFDDIR=\"/etc/ipsec/ipsec.d\" -DIPSEC_CONFDIR=\"/etc/ipsec\" -O3 -mcpu=pentium2 -funroll-loops -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 invokepluto.o invokepluto.c
invokepluto.c: In function `starter_start_pluto':
invokepluto.c:184: warning: `sigsetmask' is deprecated (declared at /usr/include/signal.h:184)
make[2]: *** [invokepluto.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/openswan-2.2.0/work/openswan-2.2.0/programs/starter'
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
!!! ERROR: net-misc/openswan-2.2.0 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
_________________ -SL
http://www.skyleach.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
St. Joe Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/56265373344b9a1e2c63c4.png)
Joined: 13 Apr 2005 Posts: 242 Location: USA
|
Posted: Thu Sep 01, 2005 5:02 pm Post subject: |
|
|
SkyLeach wrote: | I'm having trouble with this as well. |
See Bug 99966 _________________ For every hammer there is a nail.
For every nail there is a thumb. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|