[Swan] build error on CentOS 6.4
Pavel Kopchyk
pkopchyk at gmail.com
Wed Mar 13 10:33:43 EET 2013
Hi everyone,
I'm trying to build the latest version from git (on CentOS 6.4).
I get the errors:
** snip **
make[3]: Entering directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/OBJ.linux.i386/lib/libswan'
cc -DUSE_SHA2
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libcrypto/libsha2
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/ports/linux/include
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/ports/linux/include
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/ports/linux/include -I.
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/linux/net/ipsec
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/linux/include
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git -DDEBUG -DPFKEYV2
-DKLIPS -I/usr/include/nss3 -I/usr/include/nspr4
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/include
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/ports/linux/include
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/ports/linux/include
-I/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/ports/linux/include -g
-DGCC_LINT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -fPIE -pie -fno-strict-aliasing -Wall
-Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast
-DNAT_TRAVERSAL -DUSE_MODP_RFC5114 -DFINALCONFDIR=\"/etc\"
-DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\"
-DFINALVARDIR=\"/var\" -DFINALLIBEXECDIR=\"/usr/libexec/ipsec\"
-DFINALLIBDIR=\"/usr/libexec/ipsec\" -DFINALSBINDIR=\"/usr/sbin\" -c -o
secrets.o
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/secrets.c
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/secrets.c:992:
error: expected identifier or ‘(’ before ‘{’ token
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/secrets.c:1004:
error: expected identifier or ‘(’ before ‘{’ token
make[3]: *** [secrets.o] Error 1
make[3]: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/OBJ.linux.i386/lib/libswan'
make[2]: *** [programs] Error 1
make[2]: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/OBJ.linux.i386/lib'
make[1]: *** [programs] Error 1
make[1]: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/OBJ.linux.i386'
make: *** [programs] Error 2
** snip **
Regards,
Pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20130313/b950a255/attachment.html>
More information about the Swan
mailing list