Gjournal on FreeBSD 6.1p10

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Oct 20 23:55:36 PDT 2006


On Sat, Oct 21, 2006 at 01:41:36AM -0700, Andrei Kolu wrote:
> On Friday 20 October 2006 11:19 pm, Andrei Kolu wrote:
> > On Friday 20 October 2006 11:31 am, you wrote:
> > > On Fri, Oct 20, 2006 at 08:54:48PM -0700, Andrei Kolu wrote:
> > > > Hello!
> > > >
> > > > I am trying to build PC-BSD 1.3 beta with gjournal patch, but build
> > > > bombs out with error:
> > > >
> > > > # cd /usr/src
> > > > # mkdir sys/geom/journal sbin/geom/class/journal
> > > > sys/modules/geom/geom_journal # patch < gjournal6_20061011.patch
> > > > # make buildkernel
> > > > .......................
> I deleted /usr/src directory contents and resynced source with csup
> made directories for gjournaling and patched system. RELENG_6_1
> 
> Now I got different error message.
> 
> ===> geom/geom_concat (all)
> cc -O -pipe -march=pentiumpro -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/PCBSDv1.3GJ/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  -I/usr/obj/usr/src/sys/PCBSDv1.3GJ -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/geom/geom_concat/../../../geom/concat/g_concat.c
> /usr/src/sys/modules/geom/geom_concat/../../../geom/concat/g_concat.c: In 
> function `g_concat_flush':
> /usr/src/sys/modules/geom/geom_concat/../../../geom/concat/g_concat.c:223: 
> error: `no' undeclared (first use in this function)
> /usr/src/sys/modules/geom/geom_concat/../../../geom/concat/g_concat.c:223: 
> error: (Each undeclared identifier is reported only once
> /usr/src/sys/modules/geom/geom_concat/../../../geom/concat/g_concat.c:223: 
> error: for each function it appears in.)
> /usr/src/sys/modules/geom/geom_concat/../../../geom/concat/g_concat.c:220: 
> warning: unused variable `n'
> *** Error code 1

Could you change 'u_int n' to 'u_int no' in sys/geom/concat/g_concat.c
file and try again? Or refetch the patch, I already fixed it.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20061021/cf803a80/attachment.pgp


More information about the freebsd-geom mailing list