From: jwc on
Hi,
Has anyone been able to build ndiswrapper on slack? Version 1.4 is
the currently stable source. The makefile accesses the kernel source
code through /lib/modules/<version>/build. Build instructions
say to make the following soft link:

ln -s /usr/src/linux-<kernel-version>
/lib/modules/VERSION/build

I did that but my build attempt stops immediately with the complaint
that the kernel sources can't be found at
/lib/modules/VERSION/build.
Cheers, JWC

Message posted via:
=====================
www.linuxpackages.net/forum
www.linuxpackages.net
Expanding the world of Slackware
=====================
From: Olive on
jwc wrote:
> Hi,
> Has anyone been able to build ndiswrapper on slack? Version 1.4 is
> the currently stable source. The makefile accesses the kernel source
> code through /lib/modules/<version>/build. Build instructions
> say to make the following soft link:
>
> ln -s /usr/src/linux-<kernel-version>
> /lib/modules/VERSION/build
>
> I did that but my build attempt stops immediately with the complaint
> that the kernel sources can't be found at
> /lib/modules/VERSION/build.
> Cheers, JWC
>
> Message posted via:
> =====================
> www.linuxpackages.net/forum
> www.linuxpackages.net
> Expanding the world of Slackware
> =====================

HAve you installed the kernel source (corresponding to your running
kernel?). In this case the link should be already present. Check by ls
-l if you have the link in /lib/modules/<version>/build and to what it
points.

Olive
From: greymaus on
On Fri, 28 Oct 2005 17:19:51 +0200, Olive wrote:
> jwc wrote:
>> Hi,
>> Has anyone been able to build ndiswrapper on slack? Version 1.4 is
>> the currently stable source. The makefile accesses the kernel source
>> code through /lib/modules/<version>/build. Build instructions
>> say to make the following soft link:
>>
>> ln -s /usr/src/linux-<kernel-version>
>> /lib/modules/VERSION/build
>>
>> I did that but my build attempt stops immediately with the complaint
>> that the kernel sources can't be found at
>> /lib/modules/VERSION/build.
>> Cheers, JWC
>>
>> Message posted via:
>> =====================
>> www.linuxpackages.net/forum
>> www.linuxpackages.net
>> Expanding the world of Slackware
>> =====================
>

> HAve you installed the kernel source (corresponding to your running
> kernel?). In this case the link should be already present. Check by ls
> -l if you have the link in /lib/modules/<version>/build and to what it
> points.

Happened to me when I upgraded to 10.2. (as you say, without updating
the source too)

--
greymaus


From: jwc on
Eric,
Your package was built against kernel 2.4.29 and I'm using a 2.6.xx
kernel. How did you build your module? I can't get past the 'can't
find sources' error message. I even hard coded the /usr/src/linux-xx
address in the make file and it reports that it can't find the sources
there! I don't get it.
Cheers, JWC

Message posted via:
=====================
www.linuxpackages.net/forum
www.linuxpackages.net
Expanding the world of Slackware
=====================
From: jwc on
Whoa! I just went to a slackware source and downloaded and installed
the -noarch kernel sources and the darned thing built ok. Alls' well
that ends well--I guess.
Cheers, JWC

Message posted via:
=====================
www.linuxpackages.net/forum
www.linuxpackages.net
Expanding the world of Slackware
=====================