problem compiling sysutils-kmod
Rong-en Fan
grafan at gmail.com
Sun Apr 6 04:28:49 UTC 2008
On Sun, Apr 6, 2008 at 5:34 AM, Robert Huff <roberthuff at 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
>
>
More information about the freebsd-ports
mailing list