LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ndiswrapper and source problems in mandriva 2007 (https://www.linuxquestions.org/questions/linux-software-2/ndiswrapper-and-source-problems-in-mandriva-2007-a-547982/)

emu103 04-21-2007 11:48 PM

ndiswrapper and source problems in mandriva 2007
 
ndiswrapper is giving a hard time, ive set up ndiswrapper in suse10.2 but now i need to do it in mandriva 2007. heres what ive got

[root@localhost paul]# ln -s /usr/src/linux-2.6.17-5mdv /lib/modules/2.6.17-5mdv/build
ln: creating symbolic link `/lib/modules/2.6.17-5mdv/build/linux-2.6.17-5mdv' to `/usr/src/linux-2.6.17-5mdv': File exists
[root@localhost paul]# cd /home/paul/ndiswrapper-1.42
[root@localhost ndiswrapper-1.42]# modprobe ndiswrapper
[root@localhost ndiswrapper-1.42]# make
make -C driver
make[1]: Entering directory `/home/paul/ndiswrapper-1.42/driver'
make -C /lib/modules/2.6.17-5mdv/build SUBDIRS=/home/paul/ndiswrapper-1.42/driver
make[2]: Entering directory `/usr/src/linux-2.6.17-5mdv'

WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.17-5mdv'
make[1]: Leaving directory `/home/paul/ndiswrapper-1.42/driver'
make -C utils
make[1]: Entering directory `/home/paul/ndiswrapper-1.42/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/paul/ndiswrapper-1.42/utils'
[root@localhost ndiswrapper-1.42]# make install
make -C driver install
make[1]: Entering directory `/home/paul/ndiswrapper-1.42/driver'
make -C /lib/modules/2.6.17-5mdv/build SUBDIRS=/home/paul/ndiswrapper-1.42/driver
make[2]: Entering directory `/usr/src/linux-2.6.17-5mdv'

WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.17-5mdv'
echo /lib/modules/2.6.17-5mdv/misc
/lib/modules/2.6.17-5mdv/misc
mkdir -p /lib/modules/2.6.17-5mdv/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.17-5mdv/misc
/sbin/depmod -a 2.6.17-5mdv -b /
make[1]: Leaving directory `/home/paul/ndiswrapper-1.42/driver'
make -C utils install
make[1]: Entering directory `/home/paul/ndiswrapper-1.42/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/paul/ndiswrapper-1.42/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
install -m 644 loadndisdriver.8 /usr/share/man/man8
[root@localhost ndiswrapper-1.42]# ndiswrapper -i rt2500usb.inf

everytime i get this done ndiswrapper is installed, although my router isnt working :(. but then i will exit the terminal and when i go back ndiswrapper doesnt exist anymore, its like i never installed it but i did, many times? i think what i highlighted in red is the problem because ive never seen that before. any help would be greatly appreciated!

Simon Bridge 04-22-2007 02:53 AM

what happened to "depmod -a" and "modprobe ndiswrapper"?
http://ndiswrapper.sourceforge.net/m...p/Installation

http://linuxfornewbies.org/forum/ind...topic,3.0.html
... though I am puzzled that urpmi ndiswrapper isn't used, is there something wrong with the mandriva package?

Addressing that warning: it appears that Module.symvers is missing!
http://mandrivausers.org/lofiversion...hp/t22893.html
... this site is specific to your problem. It tells you how to get that file in the right place. Kind-of.

thing is, I always thought that Module.symvers was generated by the module build process...


All times are GMT -5. The time now is 01:04 PM.