<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
hi,<BR>
<BR>
I'm trying to compile and build openswan 2.6.39 debian package in debian squeeze but i have the following error:<BR>
<BR>
make[1]: Entering directory `/usr/src/openswan/openswan-2.6.39'<BR>
Setting up for OBJDIR=OBJ.linux.x86_64<BR>
OBJDIR: OBJ.linux.x86_64<BR>
(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 )<BR>
make[2]: Entering directory `/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64'<BR>
make[3]: Entering directory `/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib'<BR>
make[4]: Entering directory `/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib/libopenswan'<BR>
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<BR>
cc1: error: -Werror=cpp: No option -Wcpp<BR>
make[4]: *** [addrtoa.o] Error 1<BR>
make[4]: Leaving directory `/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib/libopenswan'<BR>
make[3]: *** [programs] Error 1<BR>
make[3]: Leaving directory `/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64/lib'<BR>
make[2]: *** [programs] Error 1<BR>
make[2]: Leaving directory `/usr/src/openswan/openswan-2.6.39/OBJ.linux.x86_64'<BR>
make[1]: *** [programs] Error 2<BR>
make[1]: Leaving directory `/usr/src/openswan/openswan-2.6.39'<BR>
make: *** [build-stamp] Error 2<BR>
dpkg-buildpackage: error: debian/rules build gave error exit status 2<BR>
<BR>
<BR>
I don't know why i have this problem... i have all the dependencies installed. <BR>
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.<BR>
<BR>
Can you help me?<BR>
<BR>
Thanks,<BR>
António
</BODY>
</HTML>