Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2008 12:28:48 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        "Robert Huff" <roberthuff@rcn.com>
Cc:        ports@freebsd.org, kib@freebsd.org
Subject:   Re: problem compiling sysutils-kmod
Message-ID:  <6eb82e0804052128m3d98fcf1i2907dc87f4507336@mail.gmail.com>
In-Reply-To: <18423.61538.307628.958223@jerusalem.litteratus.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 6, 2008 at 5:34 AM, Robert Huff <roberthuff@rcn.com> 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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0804052128m3d98fcf1i2907dc87f4507336>