From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 04:00:16 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7930106564A; Wed, 9 Feb 2011 04:00:16 +0000 (UTC) (envelope-from mac.wang@sinosol-projects-asia.com) Received: from smtpcom.263xmail.com (smtpcom.263xmail.com [211.150.64.23]) by mx1.freebsd.org (Postfix) with ESMTP id E3EB58FC18; Wed, 9 Feb 2011 04:00:15 +0000 (UTC) Received: from smtpcom.263xmail.com (localhost.localdomain [127.0.0.1]) by smtpcom.263xmail.com (Postfix) with ESMTP id 026CE700B2; Wed, 9 Feb 2011 11:33:18 +0800 (CST) X-ABS-CHECKED: 1 X-KSVirus-check: 0 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by smtpcom.263xmail.com (Postfix) with ESMTP id C7794480; Wed, 9 Feb 2011 11:33:12 +0800 (CST) X-SENDER-IP: 211.101.135.22 X-LOGIN-NAME: mac.wang@sinosol-projects-asia.com X-ATTACHMENT-NUM: 0 X-SENDER: mac.wang@sinosol-projects-asia.com Received: from [127.0.0.1] (unknown [211.101.135.22]) by smtpcom.263xmail.com (Postfix) whith ESMTP id 6241R4I570; Wed, 09 Feb 2011 11:32:44 +0800 (CST) Message-ID: <4D520AE5.9010004@sinosol-projects-asia.com> Date: Wed, 09 Feb 2011 11:32:53 +0800 From: "Mac WANG ( Sinosol Asia Ltd.)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-ports-bugs@freebsd.org, freebsd-questions@FreeBSD.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Error when MAKE the port IPSEC-TOOLS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 04:00:16 -0000 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.