LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-20-2005, 02:38 PM   #1
ChillyWillie
LQ Newbie
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Ubuntu 7.04 (Feisty) & FC7
Posts: 28

Rep: Reputation: 15
Problems installing ndiswrapper-1.2 on Mandrake 10.1


Hi,

I'm running Mandrake 10.1 Official and have a Dell Inspiron 8600 laptop. This has a Broadcom 94306 802.11g NIC on the motherboard. I verified that this chip will work with the ndis wrapper according to the ndiswrapper installation Wiki.

I don't know if any of this is related to the problem, but the Wiki mentions that I need to have the kernel source code installed and headers compiled. I've installed the kernel-source package that came with the installation CDs. According to rpm, I have this version installed:
kernel-source-2.4.27-0.pre2.1mdk.
This is not the same kernel version that was installed, however. I have 2.6.8.1-12mdk up and running. I have not compiled the kernel source since I installed it, but if this is necessary I'd need brief instructions on how to do so.

Following the Wiki's installation prerequisite, I made a symbolic link to the source modules directory with:
Code:
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
When I try to make the ndis wrapper, make fails with the following output:
Code:
make -C driver
make[1]: Entering directory `/home/chillywillie/downloads/ndiswrapper-1.2/driver'
make -C /lib/modules/2.6.8.1-12mdk/build SUBDIRS=/home/chillywillie/downloads/ndiswrapper-1.2/driver \
        NDISWRAPPER_VERSION=1.2 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.4.27-0.pre2.1mdk'
make -C  /home/chillywillie/downloads/ndiswrapper-1.2/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.27-0.pre2.1mdk/include -Wall -Wstric                                                                    t-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -i                                                                    nclude /usr/src/linux-2.4.27-0.pre2.1mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/chillywillie/downloads/ndiswrapper-1.2/driver'
make[3]: *** No rule to make target `modules'.  Stop.
make[3]: Leaving directory `/home/chillywillie/downloads/ndiswrapper-1.2/driver'
make[2]: *** [_mod_/home/chillywillie/downloads/ndiswrapper-1.2/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.27-0.pre2.1mdk'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/chillywillie/downloads/ndiswrapper-1.2/driver'
make: *** [all] Error 2
I've been stuck on this for a few days now and am not sure where to go next. Any help is greatly appreciated!

Thanks,

Jay
 
Old 07-20-2005, 03:39 PM   #2
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30
Your in a similar situation to me see:

http://www.linuxquestions.org/questi...hreadid=344882

You seem to have the wrong Kernel source installed.

try "uname -r" to see what kernel you are using. You must have that kernel source code installed.
 
Old 07-20-2005, 03:53 PM   #3
ChillyWillie
LQ Newbie
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Ubuntu 7.04 (Feisty) & FC7
Posts: 28

Original Poster
Rep: Reputation: 15
Agreed... In fact, I posted there just now.

Consider this thread redirected to yours.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing ndiswrapper-1.2 on Mandrake 10.1 ChillyWillie Linux - Hardware 6 07-20-2005 07:42 PM
problems installing Ndiswrapper joshknape Linux - Wireless Networking 9 07-19-2005 02:25 AM
problems installing ndiswrapper slack---line Linux - Wireless Networking 2 01-17-2005 04:40 AM
Booting problems after installing Ndiswrapper (Fedora 2) mawaldne Linux - Wireless Networking 4 12-30-2004 11:16 AM
Installing ndiswrapper-0.10 on mandrake d4k0t4 Linux - Software 1 10-08-2004 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration