Date: Wed, 09 Feb 2011 11:32:53 +0800 From: "Mac WANG ( Sinosol Asia Ltd.)" <mac.wang@sinosol-projects-asia.com> To: freebsd-ports-bugs@freebsd.org, freebsd-questions@FreeBSD.org Subject: Error when MAKE the port IPSEC-TOOLS Message-ID: <4D520AE5.9010004@sinosol-projects-asia.com>
next in thread | raw e-mail | index | archive | help
Hi guys, There always have error when I MAKE ipsec-tools-0.7.3. How can I do that ? Please help me. FreeBSD 6.3-RELEASE i386 and individuation kernel. make all-am cc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec -I./../../src/racoon/missing -I/usr/local/include -D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/racoon\" -DADMINPORTDIR=\"/var/db/racoon\" -pipe -g -DLDAP_DEPRECATED -Wall -Werror -Wno-unused -DEAYDEBUG -o crypto_openssl_test.o -c ./crypto_openssl.c In file included from ./crypto_openssl.c:89: ./../../src/racoon/missing/crypto/sha2/sha2.h:107: error: conflicting types for 'SHA256_CTX' /usr/local/include/openssl/sha.h:135: error: previous declaration of 'SHA256_CTX' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:112: error: conflicting types for 'SHA512_CTX' /usr/local/include/openssl/sha.h:181: error: previous declaration of 'SHA512_CTX' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:123: error: conflicting types for 'SHA256_Init' /usr/local/include/openssl/sha.h:142: error: previous declaration of 'SHA256_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:123: error: conflicting types for 'SHA256_Init' /usr/local/include/openssl/sha.h:142: error: previous declaration of 'SHA256_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:124: error: conflicting types for 'SHA256_Update' /usr/local/include/openssl/sha.h:143: error: previous declaration of 'SHA256_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:124: error: conflicting types for 'SHA256_Update' /usr/local/include/openssl/sha.h:143: error: previous declaration of 'SHA256_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:125: error: conflicting types for 'SHA256_Final' /usr/local/include/openssl/sha.h:144: error: previous declaration of 'SHA256_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:125: error: conflicting types for 'SHA256_Final' /usr/local/include/openssl/sha.h:144: error: previous declaration of 'SHA256_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:131: error: conflicting types for 'SHA384_Init' /usr/local/include/openssl/sha.h:185: error: previous declaration of 'SHA384_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:131: error: conflicting types for 'SHA384_Init' /usr/local/include/openssl/sha.h:185: error: previous declaration of 'SHA384_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:132: error: conflicting types for 'SHA384_Update' /usr/local/include/openssl/sha.h:186: error: previous declaration of 'SHA384_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:132: error: conflicting types for 'SHA384_Update' /usr/local/include/openssl/sha.h:186: error: previous declaration of 'SHA384_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:133: error: conflicting types for 'SHA384_Final' /usr/local/include/openssl/sha.h:187: error: previous declaration of 'SHA384_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:133: error: conflicting types for 'SHA384_Final' /usr/local/include/openssl/sha.h:187: error: previous declaration of 'SHA384_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:139: error: conflicting types for 'SHA512_Init' /usr/local/include/openssl/sha.h:189: error: previous declaration of 'SHA512_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:139: error: conflicting types for 'SHA512_Init' /usr/local/include/openssl/sha.h:189: error: previous declaration of 'SHA512_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:140: error: conflicting types for 'SHA512_Update' /usr/local/include/openssl/sha.h:190: error: previous declaration of 'SHA512_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:140: error: conflicting types for 'SHA512_Update' /usr/local/include/openssl/sha.h:190: error: previous declaration of 'SHA512_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:141: error: conflicting types for 'SHA512_Final' /usr/local/include/openssl/sha.h:191: error: previous declaration of 'SHA512_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:141: error: conflicting types for 'SHA512_Final' /usr/local/include/openssl/sha.h:191: error: previous declaration of 'SHA512_Final' was here *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3/src/racoon. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3/src/racoon. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3/src. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3. *** Error code 1 Stop in /usr/ports/security/ipsec-tools. *** Error code 1 Stop in /usr/ports/security/ipsec-tools.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D520AE5.9010004>