LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2004, 11:38 AM   #1
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Rep: Reputation: 15
Can't make install ndiswrapper


I'm running SuSE 9.1 personal and am trying to upgrade ndiswrapper from 0.06 to 0.10 to try and fix a wireless problem. First I uninstall 0.06 in YAST. Then, having untarred 0.10 I try make install but get the following error messages:

QUOTE
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/wrapper.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/iw_ndis.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/loader.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/ntoskernel.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/ndis.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/misc_funcs.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/proc.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/divdi3.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/hal.o
CC [M] /usr/src/packages/SOURCES/ndiswrapper-0.10/driver/usb.o
/usr/src/packages/SOURCES/ndiswrapper-0.10/driver/usb.c: In function `usb_submit_nt_urb':
/usr/src/packages/SOURCES/ndiswrapper-0.10/driver/usb.c:337: error: structure has no member named `act_altsetting'
/usr/src/packages/SOURCES/ndiswrapper-0.10/driver/usb.c:340: error: structure has no member named `act_altsetting'
make[3]: *** [/usr/src/packages/SOURCES/ndiswrapper-0.10/driver/usb.o] Error 1
make[2]: *** [/usr/src/packages/SOURCES/ndiswrapper-0.10/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.4-52'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/packages/SOURCES/ndiswrapper-0.10/driver'
make: *** [install] Error 2

I have no idea what this means or how to fix it so any clues would be very welcome.

Thanks
 
Old 10-04-2004, 02:03 PM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
./configure
make
make install
 
Old 10-04-2004, 02:12 PM   #3
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Original Poster
Rep: Reputation: 15
./configure produces

bash: ./configure : No such file or directory

Can you spell it out for me?
 
Old 10-04-2004, 02:32 PM   #4
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
whats the extention of the file your attemting to load?
 
Old 10-04-2004, 02:39 PM   #5
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Original Poster
Rep: Reputation: 15
I am trying to compile and install the ndiswrapper-0.10 module. The folder ndiswrapper-10 contains various files including a Makefile and an Install file. The Install file simply says "As root run make install . This should compile both the kernel module and the userspace utilities." So, I cd to the appropriate directory, su, make install and get the error shown above.
 
Old 10-04-2004, 03:05 PM   #6
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
remove the ndiswrapper prior to loading the new one or build an rpm package with your source and use rpm -ivhF...
you could also be missing dependencies
 
Old 10-04-2004, 04:44 PM   #7
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Original Poster
Rep: Reputation: 15
I have removed the old ndiswrapper using the YAST rmp tool - give the same error. I don't know about building rpms - from what I've read it doesn't look too easy and I'm not confident about going down that route. That leaves dependencies. How can I check for dependencies?
 
Old 10-04-2004, 04:57 PM   #8
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
the only way I know to check for deps is to use an installer pakage like rpm, tar, dpkg...other than that, you could go the source site and research it
 
Old 10-13-2004, 05:28 PM   #9
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Original Poster
Rep: Reputation: 15
OK, re-installed suse, upgraded the kernel, downloaded ndiswrapper-0.11 and it installs. Now, if I can just configure the damn network...
 
Old 10-13-2004, 11:40 PM   #10
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
Smile

Networking is pretty staight foward, use the "man" pagers on ifconfig
 
Old 10-14-2004, 02:22 AM   #11
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Original Poster
Rep: Reputation: 15
Turns out my adaptor - Edimax EW-7126, (Realtek chip) - plus ndiswrapper plus Win driver is an unholy combination. Lights will blink but mode cannot be set to Managed, only ad-hoc. There's probably a way around this but life is short so... I yanked the card and swapped it with a smc2662w usb device from a win box and, (short firmware upgrade later), hey presto, connection.

Thanks for all your help - really appreciated.
 
  


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
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 08:22 AM
Ndiswrapper 1.0 make install errors on FC3 kernel 2.6.10-1.760_FC3 with BCM 4304 mikevicious Linux - Wireless Networking 5 02-15-2005 08:41 PM
make install problem with ndiswrapper 9569 Linux - Wireless Networking 2 12-04-2004 09:44 PM
make install ndiswrapper error I can't decipher case1984 Linux - Wireless Networking 1 09-28-2004 05:59 PM
ndiswrapper- Make Install Error Seribicus Linux - Wireless Networking 3 07-05-2004 06:19 PM


All times are GMT -5. The time now is 12:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration