[Openswan Users] Unable to install Openswan 2.6.46

Prashant Sunkari P.Sunkari at F5.com
Wed Mar 9 15:05:21 EST 2016


Hi,
  I am not able to install Openswan 2.6.46 and there is bug reported on github(https://github.com/xelerance/Openswan/issues/171). Has anyone else been able to install this version by getting past this issue ?
I have tried centos 6.5(final) and Ubutu 12.04.1 LTS.

Error : /openswan-2.6.46/include/pluto/log.h:151: error: redefinition of typedef 'logfunc'

[root at client openswan-2.6.46]# sudo make programs install
OBJDIR: OBJ.linux.x86_64
(cd /root/openswan-2.6.46/OBJ.linux.x86_64 && OBJDIRTOP=/root/openswan-2.6.46/OBJ.linux.x86_64 OBJDIR=/root/openswan-2.6.46/OBJ.linux.x86_64 make programs )
make[1]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64'
make[2]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libopenswan'
make[3]: Nothing to be done for `programs'.
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libopenswan'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libpluto'
make[3]: Nothing to be done for `programs'.
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libpluto'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libaes'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libaes'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libdes'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libdes'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libmd5'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libmd5'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libsha1'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libsha1'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libsha2'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libsha2'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libmd2'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/libmd2'
make[4]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/liboswcrypto'
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto/liboswcrypto'
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libcrypto'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libwhack'
make[3]: Nothing to be done for `programs'.
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libwhack'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libipsecconf'
BISON parser.l
/root/openswan-2.6.46/lib/libipsecconf/parser.y: conflicts: 2 shift/reduce, 4 reduce/reduce
CC parser.tab.c
LEX parser.tab.c
CC lex.yy.c
AR libipsecconf.a
r - confread.o
r - confwrite.o
r - starterwhack.o
r - starterlog.o
r - cmp.o
r - parser.tab.o
r - lex.yy.o
r - keywords.o
r - oeconns.o
r - interfaces.o
r - virtif.o
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/libipsecconf'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/liboswlog'
make[3]: Nothing to be done for `programs'.
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/liboswlog'
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/liboswkeys'
make[3]: Nothing to be done for `programs'.
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib/liboswkeys'
make[2]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/lib'
make[2]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/programs'
which: no xmlto in (/sbin:/bin:/usr/sbin:/usr/bin)
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/programs/proc'
make[3]: Nothing to be done for `programs'.
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/programs/proc'
which: no xmlto in (/sbin:/bin:/usr/sbin:/usr/bin)
make[3]: Entering directory `/root/openswan-2.6.46/OBJ.linux.x86_64/programs/pluto'
CC connections.c
In file included from /root/openswan-2.6.46/include/pluto/connections.h:127,
                 from /root/openswan-2.6.46/programs/pluto/connections.c:51:
/root/openswan-2.6.46/include/pluto/log.h:151: error: redefinition of typedef 'logfunc'
/root/openswan-2.6.46/include/pluto/log.h:151: note: previous declaration of 'logfunc' was here
make[3]: *** [connections.o] Error 1
make[3]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/programs/pluto'
make[2]: *** [programs] Error 1
make[2]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64/programs'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/root/openswan-2.6.46/OBJ.linux.x86_64'
make: *** [programs] Error 2
[root at client openswan-2.6.46]#

Regards,
Prashant

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


More information about the Users mailing list