From owner-freebsd-ports@FreeBSD.ORG Sun Apr 6 04:28:49 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961C6106566B for ; Sun, 6 Apr 2008 04:28:49 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 42FAB8FC0A for ; Sun, 6 Apr 2008 04:28:49 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so137867ywt.13 for ; Sat, 05 Apr 2008 21:28:48 -0700 (PDT) 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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VnpC/0jX7MJPX/+E+qo66+6zZPjz0FPfEktor7/R9Nw=; b=RUGnMxiIrUibCSn12HleH+5VFr1/Oywc30pb8VdTNu8jPpMK5j01LLnfYq0SbSp6+GNp4pwkQiWKK/cisHKbi5FfSWm6K+E88VthuKbDyGihqgtGcW1YfcjlH7/dyPvbISxbijTs16P4QzxXFOP5egYqEdvboIIt/Qv59LE2Gy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=w9aM14kZHN6mLOVjOGINOe37vwFNNxttAyEf/zKFHkSu0nCoyk4gdatZywDgvpDGy7tkZsBAcHtdZZ4yrZwYte9DaX1i7f5OR/TmSNJkbcSKuSzt7L+zEeo7lyw4X9i53/S9hIi3sLRYWRBVyil1OfxbfPMZlK8NswyMjLy3qkI= Received: by 10.150.203.8 with SMTP id a8mr1752083ybg.125.1207456128621; Sat, 05 Apr 2008 21:28:48 -0700 (PDT) Received: by 10.150.196.16 with HTTP; Sat, 5 Apr 2008 21:28:48 -0700 (PDT) Message-ID: <6eb82e0804052128m3d98fcf1i2907dc87f4507336@mail.gmail.com> Date: Sun, 6 Apr 2008 12:28:48 +0800 From: "Rong-en Fan" To: "Robert Huff" In-Reply-To: <18423.61538.307628.958223@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18422.38366.960673.577266@jerusalem.litteratus.org> <6eb82e0804042018i59194ebdq821987337a469edd@mail.gmail.com> <18422.61838.5531.886296@jerusalem.litteratus.org> <6eb82e0804042116g328a1f67mb25568edba051e13@mail.gmail.com> <18423.70.85016.808902@jerusalem.litteratus.org> <18423.61538.307628.958223@jerusalem.litteratus.org> Cc: ports@freebsd.org, kib@freebsd.org Subject: Re: problem compiling sysutils-kmod X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2008 04:28:49 -0000 On Sun, Apr 6, 2008 at 5:34 AM, Robert Huff wrote: > Robert Huff writes: > > > > > OK, then do a buildkernel then build fusefs-kmod. Another way is not to > > > set KERNCONF in make.conf. > > > > I think that's the winner; KERNCONF is set in make.conf. > > Stand by for testing. > > If I just remove the KERNCONF, I get this: > > cc -O -pipe -g -march=pentium4 -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse_vfsops.c > fuse_vfsops.c: In function 'fuse_mount': > fuse_vfsops.c:262: error: 'AT_FDCWD' undeclared (first use in this function) > fuse_vfsops.c:262: error: (Each undeclared identifier is reported only once > fuse_vfsops.c:262: error: for each function it appears in.) > > *** Error code 1 > > Stop in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0/fuse_module. > *** Error code 1 > > Stop in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0. > *** Error code 1 > > Stop in /usr/ports/sysutils/fusefs-kmod. > *** Error code 1 > > If I leave the KERNCONF in and build the kernel ... I get the > exact same thing. Which os version are you running? Looks like you are running -CURRENT? If so, I think kib@ (CC'ed) may be able to answer your question. He committed the AT_FDCWD related stuffs. Regards, Rong-En Fan > > > Robert Huff > >