Unable to compile drivers...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Unable to compile drivers...

Julius Spencer
Hi,

I have installed Xen from the binaries (2.3.4 in "Users' manual") and I
have got to the point of setting up the networking for Domain0. In order
to do this I need to compile ndiswrapper and when I try this I get the
following:

Can't find kernel sources in /lib/modules/2.6.11.12-xen0/build;
  give the path to kernel sources with KSRC=<path> argument to make
make: *** [prereq_check] Error 1

When I look in the /lib/modules/2.6.11.12-xen0/ I see no build directory.

# ls /lib/modules/2.6.11.12-xen0/
kernel          modules.dep          modules.isapnpmap  modules.usbmap
modules.alias   modules.ieee1394map  modules.pcimap
modules.ccwmap  modules.inputmap     modules.symbols

I have the 2.6.11.12 linux kernel source (downloaded and unzipped
(-jxvf) in the /usr/src/kernels/2.6.11.12 directory:

lrwxrwxrwx  1 root root 26 Nov  8 17:53 /usr/src/linux ->
/usr/src/kernels/2.6.11.12

When I try to use KSRC=/usr/src/linux I get the same make error.

I understand this is probably pretty elementary, but I'm not sure why I
am unable to recompile my network (or video) driver. Any ideas?

_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xensource.com/xen-users