LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-31-2006, 02:41 PM   #1
thomasw92
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
Slackware 10.2 ndiswrapper kernel source problem


I'm trying to install ndiswrapper 1.11 on Slackware 10.2 Kernel 2.4.31 and when trying to install ndiswrapper it comes up with the following:

root@Webboy:~/ndiswrapper-1.11# ./INSTALL
./INSTALL: line 1: The: command not found
./INSTALL: line 2: rather: command not found
details: No such file or directory
about: No such file or directory
installation,: No such file or directory
./INSTALL: line 3: troubleshooting,: command not found
./INSTALL: line 5: http://ndiswrapper.sourceforge.net/wiki: No such file or directory
./INSTALL: line 7: Prerequisites: command not found
./INSTALL: line 8: =============: command not found
./INSTALL: line 10: You: command not found
./INSTALL: line 11: syntax error near unexpected token `kernel.'
./INSTALL: line 11: `for the kernel. Make sure there is a link to the kernel source from'
root@Webboy:~/ndiswrapper-1.11# ln -s /usr/src/linux-2.4.31 /lib/modules/2.4.31/build
root@Webboy:~/ndiswrapper-1.11# ./INSTALL
./INSTALL: line 1: The: command not found
./INSTALL: line 2: rather: command not found
details: No such file or directory
about: No such file or directory
installation,: No such file or directory
./INSTALL: line 3: troubleshooting,: command not found
./INSTALL: line 5: http://ndiswrapper.sourceforge.net/wiki: No such file or directory
./INSTALL: line 7: Prerequisites: command not found
./INSTALL: line 8: =============: command not found
./INSTALL: line 10: You: command not found
./INSTALL: line 11: syntax error near unexpected token `kernel.'
./INSTALL: line 11: `for the kernel. Make sure there is a link to the kernel source from'

I am running as root and have had my card (Belkin f5d7010) working on SLAX (based on slackware).

Thanks, Thomas
 
Old 03-31-2006, 03:01 PM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
The INSTALL file is a text readme file.

You want to use the Makefile instead. Run as root "make install" instead. Also read this README and INSTALL text files.
There should be a target to just install the ndiswrapper.ko kernel module. You will need to do this later if you upgrade the kernel, such as a security update.
 
Old 03-31-2006, 03:02 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,371

Rep: Reputation: Disabled
That isn't how you install NDISWrapper. INSTALL is nothing but a text file with installation instructions in it. There's also a guide to installing it here.
 
Old 03-31-2006, 03:30 PM   #4
thomasw92
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
The reason i was trying that is beacause that method doesn't work

root@Webboy:~/ndiswrapper-1.11# make distclean
make -C driver clean
make[1]: Entering directory `/root/ndiswrapper-1.11/driver'
rm -rf ndiswrapper.o ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o usb.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[1]: Leaving directory `/root/ndiswrapper-1.11/driver'
make -C utils clean
make[1]: Entering directory `/root/ndiswrapper-1.11/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/root/ndiswrapper-1.11/utils'
rm -f *~
rm -fr ndiswrapper-1.11 ndiswrapper-1.11.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/root/ndiswrapper-1.11/driver'
rm -rf ndiswrapper.o ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o usb.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
rm -f *_exports.h .\#* x86_64_stubs.h
make[1]: Leaving directory `/root/ndiswrapper-1.11/driver'
make -C utils distclean
make[1]: Entering directory `/root/ndiswrapper-1.11/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/root/ndiswrapper-1.11/utils'
rm -f .\#*
root@Webboy:~/ndiswrapper-1.11# make install
make -C driver install
make[1]: Entering directory `/root/ndiswrapper-1.11/driver'
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.31/build/include/linux/modversions.h -DUSB_DRIVER_OWNER -freg-struct-return -DDRIVER_VERSION=\"1.11\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.31/build -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2 -c -o hal.o hal.c
In file included from hal.c:24:
ntoskernel.h:43:28: net/iw_handler.h: No such file or directory
make[1]: *** [hal.o] Error 1
make[1]: Leaving directory `/root/ndiswrapper-1.11/driver'
make: *** [install] Error 2
root@Webboy:~/ndiswrapper-1.11# ndiswrapper
-bash: ndiswrapper: command not found
root@Webboy:~/ndiswrapper-1.11#

Sorry i forgot to mention this


Thomas
 
Old 04-01-2006, 04:01 AM   #5
thomasw92
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up

Ok thanks for everybodys help but I've fixed it by installing the "bleeding edge" version of ndiswrapper from their site.

Thanks, Thomas
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem building and installing rpm from ndiswrapper source steveman2000 Linux - Newbie 5 10-23-2005 07:01 PM
kernel-source and ndiswrapper simeandrews Fedora 1 07-31-2005 01:06 AM
Where to find Kernel Source to install ndiswrapper ProoN Linux - Wireless Networking 5 07-09-2005 11:33 PM
installing fedora 3 kernel source, for ndiswrapper Jakeao Linux - Laptop and Netbook 5 01-13-2005 05:12 PM
how to link to kernel source for Debian ndiswrapper installation case1984 Linux - Newbie 0 09-10-2004 10:32 AM


All times are GMT -5. The time now is 07:58 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration