Project

General

Profile

Actions

Bug #870

closed

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

Added by alex over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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@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@fly:/usr/src


Files

FLY (11 KB) FLY alex, 12/01/2007 06:43 PM
Actions #1

Updated by pavalos over 16 years ago

Does buildkernel work?

Actions #2

Updated by swildner over 16 years ago

Remove 'options HAMMER' from your config. :)

It will be fixed in the next hammer commit by Matt.

Sascha

Actions #3

Updated by dillon over 16 years ago

Don't use the HAMMER option yet :-)

I'm working on the spike code this week, which will allow the filesystem
to expand into multiple 64MB clusters, but it won't be ready for any
real testing until the rebalancing and recovery code is also written
for it, not to mention the replication & backup subsystems.
-Matt
Actions #4

Updated by alex over 16 years ago

"cd /usr/src; make quickkernel KERNCONF=FLY" worked after removing "option
HAMMER" from the kernel configuration file.

After executing "make buildkernel" and not "make quickkernel" the kernel could
be compiled also with activated "option HAMMER". I am looking forward to be able
to format a partition with HAMMER soon :)

Actions

Also available in: Atom PDF