troubleshooting Question

Issue during compile/make of IPSec-tools-0.6.6 on centos4/rhel4

Avatar of blakogre
blakogreFlag for United States of America asked on
Linux
6 Comments1 Solution697 ViewsLast Modified:
Using the following
http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/0.6.6/ipsec-tools-0.6.6.tar.bz2/download

Need assistance to successfully install ipsec-tools 6.6. or higher on this platform

[root@localhost ip6.6build]# make
make  all-recursive
make[1]: Entering directory `/home/ip6.6build'
Making all in src
make[2]: Entering directory `/home/ip6.6build/src'
Making all in include-glibc
make[3]: Entering directory `/home/ip6.6build/src/include-glibc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ip6.6build/src/include-glibc'
Making all in libipsec
make[3]: Entering directory `/home/ip6.6build/src/libipsec'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ip6.6build/src/libipsec'
Making all in setkey
make[3]: Entering directory `/home/ip6.6build/src/setkey'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ip6.6build/src/setkey'
Making all in racoon
make[3]: Entering directory `/home/ip6.6build/src/racoon'
gcc -DHAVE_CONFIG_H -I. -I/home/ipsec-tools-0.6.6/src/racoon -I../.. -I/home/ipsec-tools-0.6.6/src/racoon/../libipsec   -D_GNU_SOURCE -include /home/ipsec-tools-0.6.6/src/include-glibc/glibc-bugs.h -I/home/ipsec-tools-0.6.6/src/include-glibc -I./src/include-glibc  -I.//home/ipsec-tools-0.6.6/src/racoon/missing -D_GNU_SOURCE -include /home/ipsec-tools-0.6.6/src/include-glibc/glibc-bugs.h -I/home/ipsec-tools-0.6.6/src/include-glibc -I../../src/include-glibc -DSYSCONFDIR=\"/usr/local/etc\" -DADMINPORTDIR=\"/usr/local/var/racoon\" -g -O2  -Wall -Werror -Wno-unused -DEAYDEBUG -o crypto_openssl_test.o -c /home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:84:30: crypto/sha2/sha2.h: No such file or directory
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_hmacsha2_512_init':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1702: warning: implicit declaration of function `EVP_sha2_512'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1702: warning: passing arg 2 of `eay_hmac_init' makes pointer from integer without a cast
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_hmacsha2_512_final':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1720: error: `SHA512_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1720: error: (Each undeclared identifier is reported only once
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1720: error: for each function it appears in.)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_hmacsha2_384_init':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1759: warning: implicit declaration of function `EVP_sha2_384'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1759: warning: passing arg 2 of `eay_hmac_init' makes pointer from integer without a cast
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_hmacsha2_384_final':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1777: error: `SHA384_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_hmacsha2_256_init':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1816: warning: implicit declaration of function `EVP_sha2_256'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1816: warning: passing arg 2 of `eay_hmac_init' makes pointer from integer without a cast
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_hmacsha2_256_final':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1834: error: `SHA256_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_512_init':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1974: error: `SHA512_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1974: error: `c' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1976: warning: implicit declaration of function `SHA512_Init'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_512_update':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1986: warning: implicit declaration of function `SHA512_Update'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1986: error: `SHA512_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1986: error: syntax error before ')' token
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_512_final':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:1997: error: `SHA512_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2000: warning: implicit declaration of function `SHA512_Final'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2000: error: `SHA512_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2000: error: syntax error before ')' token
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_512_hashlen':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2023: error: `SHA512_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_384_init':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2034: error: `SHA384_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2034: error: `c' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2036: warning: implicit declaration of function `SHA384_Init'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_384_update':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2046: warning: implicit declaration of function `SHA384_Update'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2046: error: `SHA384_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2046: error: syntax error before ')' token
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_384_final':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2057: error: `SHA384_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2060: warning: implicit declaration of function `SHA384_Final'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2060: error: `SHA384_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2060: error: syntax error before ')' token
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_384_hashlen':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2083: error: `SHA384_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_256_init':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2094: error: `SHA256_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2094: error: `c' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2096: warning: implicit declaration of function `SHA256_Init'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_256_update':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2106: warning: implicit declaration of function `SHA256_Update'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2106: error: `SHA256_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2106: error: syntax error before ')' token
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_256_final':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2117: error: `SHA256_DIGEST_LENGTH' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2120: warning: implicit declaration of function `SHA256_Final'
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2120: error: `SHA256_CTX' undeclared (first use in this function)
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2120: error: syntax error before ')' token
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c: In function `eay_sha2_256_hashlen':
/home/ipsec-tools-0.6.6/src/racoon/crypto_openssl.c:2143: error: `SHA256_DIGEST_LENGTH' undeclared (first use in this function)
make[3]: *** [crypto_openssl_test.o] Error 1
make[3]: Leaving directory `/home/ip6.6build/src/racoon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ip6.6build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ip6.6build'
make: *** [all] Error 2
ASKER CERTIFIED SOLUTION
blakogre

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros