From owner-freebsd-net@FreeBSD.ORG Sat Jan 5 21:55:22 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C84A16A419 for ; Sat, 5 Jan 2008 21:55:22 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id E362813C474 for ; Sat, 5 Jan 2008 21:55:21 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so11889657waf.3 for ; Sat, 05 Jan 2008 13:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=MawsS9GxZDxz1FjC5y57AJqUUyqvNUwbMi0C6TR0PgI=; b=t516pmq+h8+O4PbhdSsbZg2zrNmyY5mCaAf2esjoMQglmQtPu2wBdn8iCw4bQzFQyb9vhn/rjQGU088SA4AZTpBuhughIGylGEKW5L2K168yayMJSGkuwtf8bQzol3+6C1vC3hdODaWBNuhUDQRIt7nHSlp4mwlren86DKnIIKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=gCmLxhU0Fb9MQ0U9gt46ePQIMIXKcaktj7q2pw6ALg7kur811R5kVLxDgEyfKo1TrAJdTFnVM6jLGDFKWYCRC1FBl24ev0k3GO0+6oV3vm4LsujuCFQggPe5gM6bnBh/EUQhPPH70unkxLYT6MI26fMDh+wwzKcHIDJXoBIFK4s= Received: by 10.142.131.18 with SMTP id e18mr5623278wfd.147.1199570121237; Sat, 05 Jan 2008 13:55:21 -0800 (PST) Received: by 10.142.238.2 with HTTP; Sat, 5 Jan 2008 13:55:21 -0800 (PST) Message-ID: <5a1835cd0801051355tc14f06bja72d8659bd499861@mail.gmail.com> Date: Sat, 5 Jan 2008 16:55:21 -0500 From: "Lyle Scott III" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ipsec_tools will not compile after IPSEC_NAT_T patch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2008 21:55:22 -0000 I applied the IPSEC_NAT_T patch from http://vanhu.free.fr/FreeBSD/patch-natt-freebsd6-2007-05-31.diff to FreeBSD 6.2-release-p9 yesterday to include IPSEC_NAT_T support. i did a make buildworld buildkernel && make installworld installkernel && shutdown -r now Now when i recompile /usr/ports/security/ipsec-tools it passes the test for checking if the nat_t patch is installed but the port fails in make. I did some research and noticed the same function it errors at is in the patch. Did i mess something up or what? I'm not sure where to go from here. Should i just delete /usr/src/* and extract a new src and start over? cc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec -I./../../src/racoon/missing -D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/racoon\" -DADMINPORTDIR=\"/var/db/racoon\" -pipe -g -Wall -Werror -Wno-unused -MT isakmp.o -MD -MP -MF .deps/isakmp.Tpo -c -o isakmp.o isakmp.c isakmp.c: In function `isakmp_open': isakmp.c:1750: error: `UDP_ENCAP_ESPINUDP' undeclared (first use in this function) isakmp.c:1750: error: (Each undeclared identifier is reported only once isakmp.c:1750: error: for each function it appears in.) isakmp.c:1753: error: `UDP_ENCAP_ESPINUDP_NON_IKE' undeclared (first use in this function) isakmp.c:1757: error: `UDP_ENCAP' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7/src/racoon. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7/src. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7. *** Error code 1 Stop in /usr/ports/security/ipsec-tools. *** Error code 1 -- Lyle Scott, III http://www.lylescott.ws