Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Oct 2005 00:41:23 +0200
From:      Marcin Koziej <creep@desk.pl>
To:        "To:freebsd-stable"@freebsd.org
Subject:   Re: STABLE kernel fails to build on sys/fs/devfs/devfs_vnops.c
Message-ID:  <20051008224123.GA27493@daedalus.desk.pl>
In-Reply-To: <20051004141119.GA677@cl084016105115.unet.cz>
References:  <20051004120018.GA21556@daedalus.desk.pl> <20051004141119.GA677@cl084016105115.unet.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.



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