From: [Mauro Malvestio - malveo] (mauromalvestio_at_tiscali.it)
Date: Wed 23 Jun 2004 - 00:12:19 BST
Hi,
i used linux-2.4.26 standard kernel + vserver patch
patch-2.4.26-vs1.27 for compiling a kernel on Sun Ultra
Sparc 10, but get error in compiling :
make[3]: Entering directory `/usr/src/linux-2.4.26/drivers/block'
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall
-Wstrict-prototypes-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer-m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow
-ffixed-g4 -fcall-used-g5-fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs
-nostdinc -iwithprefix include -DKBUILD_BASENAME=vroot -c -o vroot.o vroot.c
In file included from vroot.c:36:
vroot.h:33: warning: invalid character in macro parameter name
vroot.h:33: badly punctuated parameter list in `#define'
vroot.c: In function `vroot_get_dev':
vroot.c:61: warning: implicit declaration of function `dprintk'
make[3]: *** [vroot.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.26/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.26/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26/drivers'
make: *** [_dir_drivers] Error 2
i use gcc version egcs on Debian Woody :
gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)
P.S.
Kernel without vserver patch build image correctly and boot.
Any ideas?
thanks in advance.
malveo
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver