#27 Compiling ipsec-tools fails

closed
nobody
5
2015-02-20
2005-12-12
Anonymous
No

Hello,
I am using SuSE Linux on two computers.
Versions 9.3 and 10.0.
On both systems I am not able to compile
and install ipsec-tools. Latest version 0.6.4
does not work also.
I have installed openssl version 0.9.8a
(downloaded from www.openssl.org) to
/usr/local/ssl .
Please help me - neighter my english nor my
linux-knowledge is very good.
Thanks a lot.

Here is what I get, when I do the
configure command:

checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached)
none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output...
/usr/bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is
GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77
compiler... no
checking whether accepts -g... no
checking the maximum length of command line
arguments... 32768
checking command to parse /usr/bin/nm -B output from
gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker
(/usr/i586-suse-linux/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is
GNU ld... yes
checking whether the g++ linker
(/usr/i586-suse-linux/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker
(/usr/i586-suse-linux/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for egrep... (cached) grep -E
checking net/pfkeyv2.h usability... no
checking net/pfkeyv2.h presence... no
checking for net/pfkeyv2.h... no
checking netinet/ipsec.h usability... no
checking netinet/ipsec.h presence... no
checking for netinet/ipsec.h... no
checking netinet6/ipsec.h usability... no
checking netinet6/ipsec.h presence... no
checking for netinet6/ipsec.h... no
checking /usr/include/linux/pfkeyv2.h usability... yes
checking /usr/include/linux/pfkeyv2.h presence... yes
checking for /usr/include/linux/pfkeyv2.h... yes
checking for struct
sadb_x_policy.sadb_x_policy_priority... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be
included... yes
checking whether struct tm is in sys/time.h or
time.h... time.h
checking for working memcmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for select... no
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for strlcpy... no
checking for strlcat... no
checking for strdup... yes
checking for an implementation of va_copy()... yes
checking if printf accepts %z... yes
checking if __func__ is available... yes
checking if readline support is requested... no
checking if --with-flex option is specified... dirdefault
checking if --with-flexlib option is specified... default
checking if --with-openssl option is specified...
/usr/local/ssl
checking openssl version... ok
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
checking sha2 support... yes
checking openssl/sha2.h usability... no
checking openssl/sha2.h presence... no
checking for openssl/sha2.h... no
checking if sha2 is defined in openssl/sha.h... no
checking if --enable-adminport option is specified... no
checking if --enable-rc5 option is specified... no
checking if --enable-idea option is specified... no
checking for crypto containing MD5_Init... -lcrypto
checking if --enable-gssapi option is specified... no
checking for krb5-config... no
checking if --enable-hybrid option is specified... no
checking if --enable-frag option is specified... no
checking if --with-libradius option is specified... no
checking if --with-libpam option is specified... no
checking if --enable-stats option is specified... no
checking if --enable-dpd option is specified... no
checking if --enable-samode-unspec option is
specified... no
checking whether to enable ipv6... yes
checking for advanced API support... yes
checking getaddrinfo bug... good
checking kernel NAT-Traversal support... yes
checking whether to support NAT-T... no
checking which NAT-T versions to support... none
checking whether we support FWD policy... no
checking for ipsec_policy_t... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating package_version.h
config.status: creating src/Makefile
config.status: creating src/include-glibc/Makefile
config.status: creating src/libipsec/Makefile
config.status: creating src/setkey/Makefile
config.status: creating src/racoon/Makefile
config.status: creating src/racoon/samples/psk.txt
config.status: creating src/racoon/samples/racoon.conf
config.status: creating rpm/Makefile
config.status: creating rpm/suse/Makefile
config.status: creating rpm/suse/ipsec-tools.spec
config.status: creating config.h
config.status: executing depfiles commands

Here is what I get when I do the make command:

make all-recursive
make[1]: Entering directory `/ipsec-tools-0.6.4'
Making all in src
make[2]: Entering directory `/ipsec-tools-0.6.4/src'
Making all in include-glibc
make[3]: Entering directory
`/ipsec-tools-0.6.4/src/include-glibc'
ln -sf /usr/include/linux
touch .includes
make[3]: Leaving directory
`/ipsec-tools-0.6.4/src/include-glibc'
Making all in libipsec
make[3]: Entering directory
`/ipsec-tools-0.6.4/src/libipsec'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT ipsec_dump_policy.lo
-MD -MP -MF ".deps/ipsec_dump_policy.Tpo" -c -o
ipsec_dump_policy.lo ipsec_dump_policy.c; \ then mv -f ".deps/ipsec_dump_policy.Tpo"
".deps/ipsec_dump_policy.Plo"; else rm -f
".deps/ipsec_dump_policy.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT ipsec_dump_policy.lo
-MD -MP -MF .deps/ipsec_dump_policy.Tpo -c
ipsec_dump_policy.c -fPIC -DPIC -o
.libs/ipsec_dump_policy.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT ipsec_dump_policy.lo
-MD -MP -MF .deps/ipsec_dump_policy.Tpo -c
ipsec_dump_policy.c -o ipsec_dump_policy.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT
ipsec_get_policylen.lo -MD -MP -MF
".deps/ipsec_get_policylen.Tpo" -c -o
ipsec_get_policylen.lo ipsec_get_policylen.c; \ then mv -f ".deps/ipsec_get_policylen.Tpo"
".deps/ipsec_get_policylen.Plo"; else rm -f
".deps/ipsec_get_policylen.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT
ipsec_get_policylen.lo -MD -MP -MF
.deps/ipsec_get_policylen.Tpo -c ipsec_get_policylen.c
-fPIC -DPIC -o .libs/ipsec_get_policylen.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT
ipsec_get_policylen.lo -MD -MP -MF
.deps/ipsec_get_policylen.Tpo -c ipsec_get_policylen.c
-o ipsec_get_policylen.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT ipsec_strerror.lo
-MD -MP -MF ".deps/ipsec_strerror.Tpo" -c -o
ipsec_strerror.lo ipsec_strerror.c; \ then mv -f ".deps/ipsec_strerror.Tpo"
".deps/ipsec_strerror.Plo"; else rm -f
".deps/ipsec_strerror.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT ipsec_strerror.lo -MD
-MP -MF .deps/ipsec_strerror.Tpo -c ipsec_strerror.c
-fPIC -DPIC -o .libs/ipsec_strerror.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT ipsec_strerror.lo -MD
-MP -MF .deps/ipsec_strerror.Tpo -c ipsec_strerror.c -o
ipsec_strerror.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT key_debug.lo -MD -MP
-MF ".deps/key_debug.Tpo" -c -o key_debug.lo key_debug.c; \ then mv -f ".deps/key_debug.Tpo" ".deps/key_debug.Plo";
else rm -f ".deps/key_debug.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT key_debug.lo -MD -MP
-MF .deps/key_debug.Tpo -c key_debug.c -fPIC -DPIC -o
.libs/key_debug.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT key_debug.lo -MD -MP
-MF .deps/key_debug.Tpo -c key_debug.c -o key_debug.o
>/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT pfkey.lo -MD -MP -MF
".deps/pfkey.Tpo" -c -o pfkey.lo pfkey.c; \ then mv -f ".deps/pfkey.Tpo" ".deps/pfkey.Plo"; else rm
-f ".deps/pfkey.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT pfkey.lo -MD -MP -MF
.deps/pfkey.Tpo -c pfkey.c -fPIC -DPIC -o .libs/pfkey.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT pfkey.lo -MD -MP -MF
.deps/pfkey.Tpo -c pfkey.c -o pfkey.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT pfkey_dump.lo -MD
-MP -MF ".deps/pfkey_dump.Tpo" -c -o pfkey_dump.lo
pfkey_dump.c; \ then mv -f ".deps/pfkey_dump.Tpo"
".deps/pfkey_dump.Plo"; else rm -f
".deps/pfkey_dump.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT pfkey_dump.lo -MD -MP
-MF .deps/pfkey_dump.Tpo -c pfkey_dump.c -fPIC -DPIC
-o .libs/pfkey_dump.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT pfkey_dump.lo -MD -MP
-MF .deps/pfkey_dump.Tpo -c pfkey_dump.c -o
pfkey_dump.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT policy_parse.lo -MD
-MP -MF ".deps/policy_parse.Tpo" -c -o policy_parse.lo
policy_parse.c; \ then mv -f ".deps/policy_parse.Tpo"
".deps/policy_parse.Plo"; else rm -f
".deps/policy_parse.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT policy_parse.lo -MD
-MP -MF .deps/policy_parse.Tpo -c policy_parse.c -fPIC
-DPIC -o .libs/policy_parse.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT policy_parse.lo -MD
-MP -MF .deps/policy_parse.Tpo -c policy_parse.c -o
policy_parse.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT policy_token.lo -MD
-MP -MF ".deps/policy_token.Tpo" -c -o policy_token.lo
policy_token.c; \ then mv -f ".deps/policy_token.Tpo"
".deps/policy_token.Plo"; else rm -f
".deps/policy_token.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT policy_token.lo -MD
-MP -MF .deps/policy_token.Tpo -c policy_token.c -fPIC
-DPIC -o .libs/policy_token.o
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-include ../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT policy_token.lo -MD
-MP -MF .deps/policy_token.Tpo -c policy_token.c -o
policy_token.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -o libipsec.la -rpath
/usr/local/ipsec-tools/lib -version-info 0:0:0
ipsec_dump_policy.lo ipsec_get_policylen.lo
ipsec_strerror.lo key_debug.lo pfkey.lo pfkey_dump.lo
policy_parse.lo policy_token.lo -lfl -lcrypto -lresolv
-L/usr/local/ssl/lib
gcc -shared .libs/ipsec_dump_policy.o
.libs/ipsec_get_policylen.o .libs/ipsec_strerror.o
.libs/key_debug.o .libs/pfkey.o .libs/pfkey_dump.o
.libs/policy_parse.o .libs/policy_token.o -lfl
-lcrypto -lresolv -L/usr/local/ssl/lib -Wl,-soname
-Wl,libipsec.so.0 -o .libs/libipsec.so.0.0.0
(cd .libs && rm -f libipsec.so.0 && ln -s
libipsec.so.0.0.0 libipsec.so.0)
(cd .libs && rm -f libipsec.so && ln -s
libipsec.so.0.0.0 libipsec.so)
ar cru .libs/libipsec.a ipsec_dump_policy.o
ipsec_get_policylen.o ipsec_strerror.o key_debug.o
pfkey.o pfkey_dump.o policy_parse.o policy_token.o
ranlib .libs/libipsec.a
creating libipsec.la
(cd .libs && rm -f libipsec.la && ln -s ../libipsec.la
libipsec.la)
make[3]: Leaving directory
`/ipsec-tools-0.6.4/src/libipsec'
Making all in setkey
make[3]: Entering directory `/ipsec-tools-0.6.4/src/setkey'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-I../../src/libipsec -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT setkey.o -MD -MP -MF
".deps/setkey.Tpo" -c -o setkey.o setkey.c; \ then mv -f ".deps/setkey.Tpo" ".deps/setkey.Po"; else
rm -f ".deps/setkey.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-I../../src/libipsec -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT parse.o -MD -MP -MF
".deps/parse.Tpo" -c -o parse.o parse.c; \ then mv -f ".deps/parse.Tpo" ".deps/parse.Po"; else rm
-f ".deps/parse.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/ssl/include -I./../../src/racoon/missing
-I../../src/libipsec -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -MT token.o -MD -MP -MF
".deps/token.Tpo" -c -o token.o token.c; \ then mv -f ".deps/token.Tpo" ".deps/token.Po"; else rm
-f ".deps/token.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc
-I../../src/libipsec -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -o setkey
../libipsec/libipsec.la setkey.o parse.o token.o -lfl
-lcrypto -lresolv -L/usr/local/ssl/lib
mkdir .libs
gcc -I../../src/libipsec -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc -g
-O2 -Wall -Werror -Wno-unused -o .libs/setkey setkey.o
parse.o token.o ../libipsec/.libs/libipsec.so -lfl
-lcrypto -lresolv -L/usr/local/ssl/lib -Wl,--rpath
-Wl,/usr/local/ipsec-tools/lib
creating setkey
make[3]: Leaving directory `/ipsec-tools-0.6.4/src/setkey'
Making all in racoon
make[3]: Entering directory `/ipsec-tools-0.6.4/src/racoon'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT kmpstat.lo -MD -MP
-MF ".deps/kmpstat.Tpo" -c -o kmpstat.lo kmpstat.c; \ then mv -f ".deps/kmpstat.Tpo" ".deps/kmpstat.Plo";
else rm -f ".deps/kmpstat.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT kmpstat.lo -MD -MP
-MF .deps/kmpstat.Tpo -c kmpstat.c -fPIC -DPIC -o
.libs/kmpstat.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT kmpstat.lo -MD -MP
-MF .deps/kmpstat.Tpo -c kmpstat.c -o kmpstat.o
>/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT vmbuf.lo -MD -MP -MF
".deps/vmbuf.Tpo" -c -o vmbuf.lo vmbuf.c; \ then mv -f ".deps/vmbuf.Tpo" ".deps/vmbuf.Plo"; else rm
-f ".deps/vmbuf.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT vmbuf.lo -MD -MP -MF
.deps/vmbuf.Tpo -c vmbuf.c -fPIC -DPIC -o .libs/vmbuf.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT vmbuf.lo -MD -MP -MF
.deps/vmbuf.Tpo -c vmbuf.c -o vmbuf.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT sockmisc.lo -MD -MP
-MF ".deps/sockmisc.Tpo" -c -o sockmisc.lo sockmisc.c; \ then mv -f ".deps/sockmisc.Tpo" ".deps/sockmisc.Plo";
else rm -f ".deps/sockmisc.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT sockmisc.lo -MD -MP
-MF .deps/sockmisc.Tpo -c sockmisc.c -fPIC -DPIC -o
.libs/sockmisc.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT sockmisc.lo -MD -MP
-MF .deps/sockmisc.Tpo -c sockmisc.c -o sockmisc.o
>/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT misc.lo -MD -MP -MF
".deps/misc.Tpo" -c -o misc.lo misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm
-f ".deps/misc.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT misc.lo -MD -MP -MF
.deps/misc.Tpo -c misc.c -fPIC -DPIC -o .libs/misc.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT misc.lo -MD -MP -MF
.deps/misc.Tpo -c misc.c -o misc.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -lcrypto -o
libracoon.la -rpath /usr/local/ipsec-tools/lib
kmpstat.lo vmbuf.lo sockmisc.lo misc.lo -lcrypto
-lresolv -L/usr/local/ssl/lib
gcc -shared .libs/kmpstat.o .libs/vmbuf.o
.libs/sockmisc.o .libs/misc.o -lcrypto -lresolv
-L/usr/local/ssl/lib -Wl,-soname -Wl,libracoon.so.0 -o
.libs/libracoon.so.0.0.0
(cd .libs && rm -f libracoon.so.0 && ln -s
libracoon.so.0.0.0 libracoon.so.0)
(cd .libs && rm -f libracoon.so && ln -s
libracoon.so.0.0.0 libracoon.so)
ar cru .libs/libracoon.a kmpstat.o vmbuf.o sockmisc.o
misc.o
ranlib .libs/libracoon.a
creating libracoon.la
(cd .libs && rm -f libracoon.la && ln -s
../libracoon.la libracoon.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT eaytest.o -MD -MP
-MF ".deps/eaytest.Tpo" -c -o eaytest.o eaytest.c; \ then mv -f ".deps/eaytest.Tpo" ".deps/eaytest.Po"; else
rm -f ".deps/eaytest.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT plog.o -MD -MP -MF
".deps/plog.Tpo" -c -o plog.o plog.c; \ then mv -f ".deps/plog.Tpo" ".deps/plog.Po"; else rm -f
".deps/plog.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -MT logger.o -MD -MP -MF
".deps/logger.Tpo" -c -o logger.o logger.c; \ then mv -f ".deps/logger.Tpo" ".deps/logger.Po"; else
rm -f ".deps/logger.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec
-I/usr/local/ssl/include -I./../../src/racoon/missing
-D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h
-I../../src/include-glibc -I../../src/include-glibc
-DSYSCONFDIR=\"/usr/local/ipsec-tools/etc\"
-DADMINPORTDIR=\"/usr/local/ipsec-tools/var/racoon\" -g
-O2 -Wall -Werror -Wno-unused -DEAYDEBUG -o
crypto_openssl_test.o -c ./crypto_openssl.c
make[3]: Leaving directory `/ipsec-tools-0.6.4/src/racoon'
make[2]: Leaving directory `/ipsec-tools-0.6.4/src'
make[1]: Leaving directory `/ipsec-tools-0.6.4'
In file included from ./crypto_openssl.c:84:
./../../src/racoon/missing/crypto/sha2/sha2.h:105:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:134: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:110:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:180: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:121:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:141: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:122:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:142: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:123:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:143: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:129:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:184: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:130:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:185: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:131:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:186: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:137:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:188: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:138:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:189: error:
previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:139:
error: conflicting types for 'SHA256_CTX'
/usr/local/ssl/include/openssl/sha.h:190: error:
previous declaration of 'SHA256_CTX' was here
make[3]: *** [crypto_openssl_test.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Discussion

  • Dmitry Andrianov

    Logged In: YES
    user_id=851214

    Not sure why it goes to "support-requests". To me itis
    clearly a bug...

    The key here:
    checking if sha2 is defined in openssl/sha.h... no

    http://sourceforge.net/tracker/index.php?
    func=detail&aid=1491819&group_id=74601&atid=541482

     
  • VANHULLEBUS Yvan

    Logged In: YES
    user_id=105392

    Fixed in HEAD and 0.6 Branch (for 0.6.7).

    Thanks for the report, and thanks to Dmitry for the patch.

     
  • Timo Teras

    Timo Teras - 2009-01-16
    • status: open --> closed
     
  • Timo Teras

    Timo Teras - 2009-01-16

    Closing all sourceforge.net bugs. If this issue has not been cared for please submit a new bug report to https://trac.ipsec-tools.net/ issue tracker. Thank you.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks