[Openswan Users] Error compile version 2.6.39 in debian squeeze
Antonio Silva
asilva at wirelessmundi.com
Sun Jun 16 19:16:43 UTC 2013
hi,
I'm trying to compile and build openswan 2.6.39 debian package in debian
squeeze but i have the following error:
make[1]: Entering directory `/usr/src/openswan/openswan-2.6.39'
Setting up for OBJDIR=OBJ.linux.x86_64
OBJDIR: OBJ.linux.x86_64
(cd /usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64 &&
OBJDIRTOP=/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64
OBJDIR=/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64 /usr/bin/make
programs )
make[2]: Entering directory
`/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64'
make[3]: Entering directory
`/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib'
make[4]: Entering directory
`/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib/libopenswan'
cc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_SHA2
-I/usr/src/openswan/openswan-2.6.39/lib/libcrypto/libsha2
-I/usr/src/openswan/openswan-2.6.39/ports/linux/include
-I/usr/src/openswan/openswan-2.6.39/ports/linux/include
-I/usr/src/openswan/openswan-2.6.39/ports/linux/include -I.
-I/usr/src/openswan/openswan-2.6.39/linux/net/ipsec
-I/usr/src/openswan/openswan-2.6.39/linux/include
-I/usr/src/openswan/openswan-2.6.39 -DDEBUG -DPFKEYV2 -DKLIPS
-DWITH_UDPFROMTO -DHAVE_IP_PKTINFO
-I/usr/src/openswan/openswan-2.6.39/include
-I/usr/src/openswan/openswan-2.6.39/ports/linux/include
-I/usr/src/openswan/openswan-2.6.39/ports/linux/include
-I/usr/src/openswan/openswan-2.6.39/ports/linux/include -g -O2 -fPIE
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -D_FORTIFY_SOURCE=2 -DGCC_LINT -Wall
-Wpointer-arith -Wno-error=cast-qual -Wno-error=cpp -Wstrict-prototypes
-Wbad-function-cast -DNAT_TRAVERSAL -DUSE_MODP_RFC5114 -DFINALCONFDIR=
\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=
\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -DFINALLIBEXECDIR=
\"/usr/lib/ipsec\" -DFINALLIBDIR=\"/usr/lib/ipsec\" -DFINALSBINDIR=
\"/usr/sbin\" -D_FORTIFY_SOURCE=2 -c -o
addrtoa.o /usr/src/openswan/openswan-2.6.39/linux/net/ipsec/addrtoa.c
cc1: error: -Werror=cpp: No option -Wcpp
make[4]: *** [addrtoa.o] Error 1
make[4]: Leaving directory
`/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib/libopenswan'
make[3]: *** [programs] Error 1
make[3]: Leaving directory
`/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib'
make[2]: *** [programs] Error 1
make[2]: Leaving directory
`/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64'
make[1]: *** [programs] Error 2
make[1]: Leaving directory `/usr/src/openswan/openswan-2.6.39'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I don't know why i have this problem... i have all the dependencies
installed.
I'm guessing that could be because the version of gcc for debian
squeeze, i had compile the previous version 2.6.38 without problems.
Can you help me?
Thanks,
António
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20130616/57247b56/attachment.html>
More information about the Users
mailing list