From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 17 Feb 2005 - 05:47:43 GMT
On Thu, Feb 17, 2005 at 02:47:26AM +0000, Andy Fletcher wrote:
> Thursday, February 17, 2005, 1:02:10 AM, you wrote:
>
> > hmm, well, I never tested (and probably never will test)
> > with VMWare, but could you do the following please:
>
> > a) provide some more infos about the kernel .config
> > and the utilized compiler/linker
>
> > b) try with
> >
> > http://vserver.13thfloor.at/Experimental/patch-2.6.11-rc4-vs1.9.4.4.diff
> > (ontop of 2.6.11-rc4)
>
> Sadly the kernel refuses to compile with this patch:
>
> ipc/mqueue.c: In function `mqueue_get_inode':
> ipc/mqueue.c:150: warning: implicit declaration of function `vx_ipcmsg_avail'
> ipc/mqueue.c:155: warning: implicit declaration of function `vx_ipcmsg_add'
> ipc/mqueue.c:162: warning: implicit declaration of function `vx_ipcmsg_sub'
> ipc/mqueue.c: In function `mqueue_delete_inode':
> ipc/mqueue.c:267: warning: implicit declaration of function `put_vx_info'
heh, you _are_ a lucky guy I guess ...
this issue was fixed with the following patch:
http://vserver.13thfloor.at/Experimental/FOR-1.9.5/delta-msgqueue-fix01.diff
and it is only manifests itself if you select
POSIX_MSGQUEUE as kernel compile option (what do
you need that stuff for? ;)
> <snip>
>
> ipc/built-in.o(.text+0x4cf8): In function `mqueue_get_inode':
> : undefined reference to `vx_ipcmsg_avail'
> ipc/built-in.o(.text+0x4d1d): In function `mqueue_get_inode':
> : undefined reference to `vx_ipcmsg_add'
> ipc/built-in.o(.text+0x4d69): In function `mqueue_get_inode':
> : undefined reference to `vx_ipcmsg_sub'
> ipc/built-in.o(.text+0x4f08): In function `mqueue_delete_inode':
> : undefined reference to `vx_ipcmsg_sub'
> ipc/built-in.o(.text+0x4f16): In function `mqueue_delete_inode':
> : undefined reference to `put_vx_info'
> make: *** [.tmp_vmlinux1] Error 1
>
> 2.6.11-rc4 works fine on its own, but never with the vserver patch,
> same error every time.
>
> Not sure if this is me or the patch, but I'm sure you'll know.
in this case, it's the patch (or your config ;)
your options here are:
a) apply the fix above (ontop of the patch)
b) disable the POSIX_MSGQUEUE config option
c) wait for the 1.9.4.5 patch ...
HTH,
Herbert
> Andy
>
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver