*SOLVED* compat_nanosleep_restart undeclared [message #9917] |
Tue, 30 January 2007 06:57 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
![](http://new-forum.openvz.org/images/custom_avatars/1095.gif) |
wilf
Messages: 30 Registered: January 2007 Location: UK
|
Member |
|
|
Hi All,
I have 'got around this' by using a kernel I patched a few days ago, but...
I am moving things around between machines, and needed to turn another machine into an OpenVZ server. This is on site at one of my customers. The boxes are dual opteron X2 machines, with LSI MegaRAID controllers. I use 64bit 2006.1 Gentoo.
I wasn't particularly bothered about this as I am now fairly used to being able top pull a working system together. I have just done exactly the same thing for one of my own servers - and it works a treat (although the hardware isn't quite as nice ).
Hence I followed my usual approach:-
fetch the vanilla 2.6.18 kernel
fetch the kernel patches
fetch the kernel .config
Apply the patches
Configure the kernel
All AOK so far, until...
make the kernel
When I received
ff_dev linux-2.6.18.openvz # cat make.log
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC [M] kernel/cpt/cpt_process.o
kernel/cpt/cpt_process.c: In function 'dump_one_process':
kernel/cpt/cpt_process.c:658: error: 'compat_nanosleep_restart' undeclared (first use in this function)
kernel/cpt/cpt_process.c:658: error: (Each undeclared identifier is reported only once
kernel/cpt/cpt_process.c:658: error: for each function it appears in.)
make[2]: *** [kernel/cpt/cpt_process.o] Error 1
make[1]: *** [kernel/cpt] Error 2
make: *** [kernel] Error 2
I got around this by zipping up my own patched installation and installing it.
If I this is a real problem and I can help, I am happy to answer questions/do stuff.
Best Regards, Paul.
[Updated on: Tue, 30 January 2007 10:19] Report message to a moderator
|
|
|
|
|
|