problem compiling sysutils-kmod

Kostik Belousov kostikbel at gmail.com
Sun Apr 6 09:58:14 UTC 2008


On Sun, Apr 06, 2008 at 12:28:48PM +0800, Rong-en Fan wrote:
> 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.

You need to
#include <sys/fcntl.h>
for namei.

The __FreeBSD_version will be bumped after the linux part of the patch
is committed. Most likely, this will take several days.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080406/d81d546d/attachment.pgp


More information about the freebsd-ports mailing list