About this list Date view Thread view Subject view Author view Attachment view

From: Jean-Pierre Denis (jp_at_webglobe.ca)
Date: Mon 11 Oct 2004 - 03:12:03 BST


 I am trying to install 1.28 ( patch-2.4.26-vs1.28.diff ) on top of the
mandrake 10.0 kernel linux-2.4.25-9mdk.

All the patch seems to apply fine but when I run make bzImage I get the

gcc -D__KERNEL__ -I/usr/src/linux-2.4.25-9mdk-vs1.28/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=user -c user.c -o user.o
user.c:95: error: conflicting types for `alloc_uid'
/usr/src/linux-2.4.25-9mdk-vs1.28/include/linux/sched.h:755: error:
previous declaration of `alloc_uid'
user.c: In function `alloc_uid':
user.c:110: error: `vx_id' undeclared (first use in this function)
user.c:110: error: (Each undeclared identifier is reported only once
user.c:110: error: for each function it appears in.)
user.c:120: warning: passing arg 2 of `uid_hash_find' makes pointer from
integer without a cast
user.c:120: error: too many arguments to function `uid_hash_find'
make[2]: *** [user.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.25-9mdk-vs1.28/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.25-9mdk-vs1.28/kernel'
make: *** [_dir_kernel] Error 2

alloc_uid is something that the vserver patch is taking care of ?

What should a I do ? Let me know if more info in needed...

The patch is saying 2.4.26 and I am doing this on a 2.4.25 kernel. Could
this be my problem.

I will try with a non mandrake kernel to see if it's going to work.

Jean-Pierre Denis
WebGlobe - IT Solutions
Email: jp_at_webglobe.ca
Phone: (819) 246-0WWW (0999)
Web: http://www.webglobe.ca

 WebMail Powered by WebGlobe.

Vserver mailing list

About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 11 Oct 2004 - 03:22:54 BST by hypermail 2.1.3