Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198
Rep:
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
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?
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198
Rep:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.