Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2008 12:18:50 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Rong-en Fan <grafan@gmail.com>
Cc:        ports@freebsd.org, Robert Huff <roberthuff@rcn.com>
Subject:   Re: problem compiling sysutils-kmod
Message-ID:  <20080406091850.GB21209@deviant.kiev.zoral.com.ua>
In-Reply-To: <6eb82e0804052128m3d98fcf1i2907dc87f4507336@mail.gmail.com>
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> <6eb82e0804052128m3d98fcf1i2907dc87f4507336@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--livrSZtJkVq9DDdS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@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=3Dpentium4 -Werror -D_KERNEL -DKLD_MODULE -std=
=3Dc99 -nostdinc  -I../include -I. -I@ -I@/contrib/altq -finline-limit=3D80=
00 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -f=
no-common  -mno-align-long-strings -mpreferred-stack-boundary=3D2  -mno-mmx=
 -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-d=
ecls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-a=
rith -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 fun=
ction)
> >  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/fus=
e_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.
>=20
> 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 commi=
tted
> 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.

--livrSZtJkVq9DDdS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkf4lXoACgkQC3+MBN1Mb4jeEQCgiDUDOJYQs1pvqETCMzsQpbk/
iVEAoJpZoK1vv6+jqwjgPeLxRPzFsVVk
=yHUp
-----END PGP SIGNATURE-----

--livrSZtJkVq9DDdS--



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