[Openswan Users] 2.6.39 - Make Programs Fails

nev at itsnev.co.uk nev at itsnev.co.uk
Mon Aug 5 07:40:11 UTC 2013


Hi,

 

I'm trying to "make programs" on the new 2.6.39 release, but it's not
working and not sure how to fixed in. The previous release 2.6.38 compiles
fine.

 

Any help would be greatly appreciated.

 

Linux ssl9.vpnuk.co.uk 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

 

The error I get is shown below.

 

#make programs

OBJDIR: OBJ.linux.x86_64

(cd /root/openswan-2.6.39/OBJ.linux.x86_64 &&
OBJDIRTOP=/root/openswan-2.6.39/OBJ.linux.x86_64
OBJDIR=/root/openswan-2.6.39/OBJ.linux.x86_64 make programs )

make[1]: Entering directory `/root/openswan-2.6.39/OBJ.linux.x86_64'

make[2]: Entering directory `/root/openswan-2.6.39/OBJ.linux.x86_64/lib'

make[3]: Entering directory
`/root/openswan-2.6.39/OBJ.linux.x86_64/lib/libopenswan'

cc -DUSE_SHA2 -I/root/openswan-2.6.39/lib/libcrypto/libsha2
-I/root/openswan-2.6.39/ports/linux/include
-I/root/openswan-2.6.39/ports/linux/include
-I/root/openswan-2.6.39/ports/linux/include  -I.
-I/root/openswan-2.6.39/linux/net/ipsec
-I/root/openswan-2.6.39/linux/include -I/root/openswan-2.6.39 -DDEBUG
-DPFKEYV2 -DKLIPS -DWITH_UDPFROMTO -DHAVE_IP_PKTINFO
-I/root/openswan-2.6.39/include  -I/root/openswan-2.6.39/ports/linux/include
-I/root/openswan-2.6.39/ports/linux/include
-I/root/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/local/libexec/ipsec\"
-DFINALLIBDIR=\"/usr/local/lib/ipsec\" -DFINALSBINDIR=\"/usr/local/sbin\"
-c -o addrtoa.o /root/openswan-2.6.39/linux/net/ipsec/addrtoa.c

cc1: error: -Werror=cpp: No option -Wcpp

make[3]: *** [addrtoa.o] Error 1

make[3]: Leaving directory
`/root/openswan-2.6.39/OBJ.linux.x86_64/lib/libopenswan'

make[2]: *** [programs] Error 1

make[2]: Leaving directory `/root/openswan-2.6.39/OBJ.linux.x86_64/lib'

make[1]: *** [programs] Error 1

make[1]: Leaving directory `/root/openswan-2.6.39/OBJ.linux.x86_64'

make: *** [programs] Error 2

 

Thx

Nev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20130805/2f6f4c7f/attachment.html>


More information about the Users mailing list