Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2007 18:21:58 +0100
From:      Henrik Bergkvist <henrik@mdfnet.se>
To:        freebsd-current@freebsd.org
Subject:   Problem compiling graid5
Message-ID:  <4731F436.8010603@mdfnet.se>

next in thread | raw e-mail | index | archive | help
Hi.

I have some problems compiling geom_raid5. I get the this error:

[root@internet /usr/src/sys/modules/geom/geom_raid5]# make
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 
-nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-common  
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -c 
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c: In 
function 'g_raid5_workerD':
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c:2405: 
error: 'sched_lock' undeclared (first use in this function)
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c:2405: 
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c:2405: 
error: for each function it appears in.)
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c: In 
function 'g_raid5_worker':
/usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c:2555: 
error: 'sched_lock' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/sys/modules/geom/geom_raid5.


I'm using:
[root@internet ~]# uname -a
FreeBSD internet.mds.mdh.se 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Wed Nov  7 
17:25:09 CET 2007     
root@internet.mds.mdh.se:/usr/obj/usr/src/sys/MYKERNEL  amd64

Does anybody know what to do?

Thanks in advance

/Henrik



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