[issue870] Kern compilation problems: /usr/src/sys/kern/vfs_helper.c:152

Alexander Orlov sinknull at crater.dragonflybsd.org
Sat Dec 1 10:46:10 PST 2007


New submission from Alexander Orlov <alexander.orlov at loxal.net>:

Approx. two weeks ago I could fix the following compilation error by commenting
out some lines in /usr/src/sys/kern/vfs_helper.c . After fetching the current
source today I have got the same error.

root at fly:/usr/src cd /usr/src; make quickkernel KERNCONF=FLY

--------------------------------------------------------------
>>> Kernel build for FLY started on Wed Dec  5 15:17:29 CET 2007
--------------------------------------------------------------
===> FLY
cd /usr/src/sys/config; 
PATH=/usr/obj/usr/src/ctools_i386_i386/usr/sbin:/usr/obj/usr/src/ctools_i386_i386/usr/bin:/usr/obj/usr/src/ctools_i386_i386/bin:/usr/obj/usr/src/ctools_i386_i386/usr/games:/usr/obj/usr/src/btools_i386/usr/sbin:/usr/obj/usr/src/btools_i386/usr/bin:/usr/obj/usr/src/btools_i386/bin:/usr/obj/usr/src/btools_i386/usr/games
 config  -d /usr/obj/usr/src/sys/FLY  /usr/src/sys/config/FLY
Kernel build directory is /usr/obj/usr/src/sys/FLY
cd /usr/obj/usr/src/sys/FLY;  MAKEOBJDIRPREFIX=/usr/obj/usr/src/world_i386 
OBJTREE=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  MACHINE_PLATFORM=pc32 
OBJFORMAT_PATH=/usr/obj/usr/src/ctools_i386_i386 
DESTDIR=/usr/obj/usr/src/world_i386  INSTALL="sh /usr/src/tools/install. sh" 
PATH=/usr/obj/usr/src/ctools_i386_i386/usr/sbin:/usr/obj/usr/src/ctools_i386_i386/usr/bin:/usr/obj/usr/src/ctools_i386_i386/bin:/usr/obj/usr/src/ctools_i386_i386/usr/games:/usr/obj/usr/src/btools_i386/usr/sbin:/usr/obj/usr/src/btools_i386/usr/bin:/usr/obj/usr/src/btools_i386/bin:/usr/obj/usr/src/btools_i386/usr/games
make KERNEL=kernel all
cc -c -O -pipe -mtune=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-ansi -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include
-I/usr/obj/usr/src/sys/FLY -I"/usr/src/sys/dev/acpica5"
-I"/usr/src/sys/contrib/dev/acpica-unix-20061109/include"
-I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h 
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -ffreestanding
-mpreferred-stack-boundary=2 -fno-stack-protector -mno-mmx -mno-3dnow -mno-sse
-mno-sse2 -mno-sse3  /usr/src/sys/kern/vfs_helper.c
/usr/src/sys/kern/vfs_helper.c: In function 'vop_helper_setattr_flags':
/usr/src/sys/kern/vfs_helper.c:152: warning: implicit declaration of function
'suser_cred'
/usr/src/sys/kern/vfs_helper.c:152: warning: nested extern declaration of
'suser_cred'
/usr/src/sys/kern/vfs_helper.c:152: error: 'PRISON_ROOT' undeclared (first use
in this function)
/usr/src/sys/kern/vfs_helper.c:152: error: (Each undeclared identifier is
reported only once
/usr/src/sys/kern/vfs_helper.c:152: error: for each function it appears in.)
*** Error code 1

Stop in /usr/obj/usr/src/sys/FLY.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
root at fly:/usr/src

----------
files: FLY
messages: 3877
nosy: alex
priority: bug
status: unread
title: Kern compilation problems: /usr/src/sys/kern/vfs_helper.c:152

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue870>
_____________________________________________________Attachment:
FLY
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 11290 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20071201/3554429c/attachment-0021.bin>


More information about the Bugs mailing list