This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Unable to compile drivers...

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Unable to compile drivers...
From: Julius <julius@xxxxxxxxx>
Date: Thu, 10 Nov 2005 15:46:01 +1300
Delivery-date: Thu, 10 Nov 2005 02:46:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

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/;
 give the path to kernel sources with KSRC=<path> argument to make
make: *** [prereq_check] Error 1

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

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

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

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

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Unable to compile drivers..., Julius <=