Sanjeepan, Vivekananthan
2006-Aug-08 22:37 UTC
[Xen-devel] Problem with xen vnet on x86_64
I am trying to compile xen vnet on x86_64. I am getting a following error (see below). I saw a mailing list discussion about this issue in march, 2006. There was a patch propsed to work around it. If there is a final version of the patch please point me to it. The error is as follows: /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c: In function socketcall: /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c:86: error: __NR_socketcall undeclared (first use in this function) /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c:86: error: (Each undeclared identifier is reported only once /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c:86: error: for each function it appears in.) make[3]: *** [/home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.o] Error 1 make[2]: *** [_module_/home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module] Error 2 make[2]: Leaving directory `/home/sanjee/workspace/xen/xen-unstable.hg/linux-2.6.16.13-xen'' make[1]: *** [module] Error 2 make[1]: Leaving directory `/home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module''make: *** [vnet-module-all] Error 2 Thanks, Sanjee _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sanjeepan, Vivekananthan wrote:> I am trying to compile xen vnet on x86_64. I am getting a following error (see below). I saw a mailing list discussion about this issue in march, 2006. There was a patch propsed to work around it. If there is a final version of the patch please point me to it. The error is as follows: > > /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c: In function ‘socketcall’: > /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c:86: error: ‘__NR_socketcall’ undeclared (first use in this function) > /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c:86: error: (Each undeclared identifier is reported only once > /home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.c:86: error: for each function it appears in.) > make[3]: *** [/home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module/varp_socket.o] Error 1 > make[2]: *** [_module_/home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module] Error 2 > make[2]: Leaving directory `/home/sanjee/workspace/xen/xen-unstable.hg/linux-2.6.16.13-xen'' > make[1]: *** [module] Error 2 > make[1]: Leaving directory `/home/sanjee/workspace/xen/xen-unstable.hg/tools/vnet/vnet-module''make: *** [vnet-module-all] Error 2 > > Thanks, > Sanjee >The problem is that the x86_64 kernel doesn''t have the socketcall multiplexor that the vnet implementation uses for its socket api. The proposed patch had some problems, so it probably didn''t get applied. As I''m responsible for the code that doesn''t work I''ll take a look at what can be done. Regards, Mike Wray _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel