STABLE kernel fails to build on sys/fs/devfs/devfs_vnops.c
Marcin Koziej
creep at desk.pl
Sat Oct 8 15:44:55 PDT 2005
> > I tried to build today's STABLE on 6.0-BETA2 FreeBSD 6.0-BETA2 #1: Wed Aug 3
> > Kernel config differs from GENERIC just by atapicam device.
>
> Obviously, your userland and kernel sources are not synchronized. It is
> probably the cause of failed build.
>
> Update complete source tree and try again.
It doesn't seem to be that simple to me.
I have rm -rf'ed all the sources and cvsupped with tag=RELENG_6 and
I cannot build a GENERIC kernel. The problem seems to be forward declarations
of:
static struct vop_vector devfs_vnodeops;
static struct vop_vector devfs_specops;
static struct fileops devfs_ops_f;
which are initialized later in the code. The compiler flag -Wredundant-decls stops
on this. These declarations appeared in rev 1.114.2.4 of /src/sys/fs/devfs/devfs_vnops.c
I guess it must be something with my system because that change was on 18th of September.
I use a normal compiler ( 3.4.4 [FreeBSD] 20050518) on 6.0-BETA2.
--
m.
Brain power of a glass of water.
More information about the freebsd-stable
mailing list