Dear n00b,
Hello,
Best Regards.Originally Posted by From LinuxQuestions
hello
I recently downloaded and installe RedHat 9.0 and am dual booting on my laptop with windows xp. Im trying to get my wirless card to work with it. i have the microsoft mn720. I was doing some research and found ndiswrapper, so i decided to try it out. I unzipped it and when i ran the "make" command i got a whole bunch of syntax errors. I heard form somone that i have to compile the kernel source code and i dunno i did that ( i think) and it still would not work.
i think i compile the source code i did all those make xconfig, make modules make install and wahtever make bzimage and the fixed the grub boolloader but when i load with te custom version i do make for the ndiswrapper it still doesn twork
any suggestions
its getting annoying to swtich back and forht to use the internet
thanks a lot
btw here are the make file errors
[root@localhost sT]# cd ndiswrapper-1.0
[root@localhost ndiswrapper-1.0]# make
make -C driver
make[1]: Entering directory `/home/sT/ndiswrapper-1.0/driver'
cc -DEXPORT_SYMTAB -DMODVERSIONS -include
/lib/modules/2.4.20-8/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.0\"
-DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE
-I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2 -c -o misc_funcs.o
misc_funcs.c
misc_funcs.c:30: field `hlist' has incomplete type
misc_funcs.c: In function `misc_funcs_init':
misc_funcs.c:48: warning: implicit declaration of function `INIT_HLIST_HEAD'
misc_funcs.c:48: invalid use of undefined type `struct hlist_head'
misc_funcs.c: In function `misc_funcs_exit':
misc_funcs.c:91: invalid use of undefined type `struct hlist_head'
misc_funcs.c:92: warning: implicit declaration of function
`hlist_for_each_safe'misc_funcs.c:92: parse error before '{' token
misc_funcs.c:95: `p' undeclared (first use in this function)
misc_funcs.c:95: (Each undeclared identifier is reported only once
misc_funcs.c:95: for each function it appears in.)
misc_funcs.c:95: warning: implicit declaration of function `hlist_entry'
misc_funcs.c:95: parse error before "struct"
misc_funcs.c:96: warning: implicit declaration of function `hlist_del'
misc_funcs.c: At top level:
misc_funcs.c:102: parse error before "do"
misc_funcs.c:109: warning: type defaults to `int' in declaration of `alloc'
misc_funcs.c:109: warning: initialization makes integer from pointer without a cast
misc_funcs.c:109: initializer element is not constant
misc_funcs.c:109: warning: data definition has no type or storage class
misc_funcs.c:110: parse error before '&' token
misc_funcs.c:110: warning: type defaults to `int' in declaration of `list_del'
misc_funcs.c:110: warning: function declaration isn't a prototype
misc_funcs.c:110: conflicting types for `list_del'
/lib/modules/2.4.20-8/build/include/linux/list.h:92: previous declaration of
`list_del'
misc_funcs.c:110: warning: data definition has no type or storage class
misc_funcs.c:111: parse error before '->' token
misc_funcs.c:111: warning: type defaults to `int' in declaration of `kfree_R037a0cba'
misc_funcs.c:111: warning: function declaration isn't a prototype
misc_funcs.c:111: conflicting types for `kfree_R037a0cba'
/lib/modules/2.4.20-8/build/include/linux/slab.h:63: previous declaration of
`kfree_R037a0cba'
misc_funcs.c:111: warning: data definition has no type or storage class
misc_funcs.c:112: warning: type defaults to `int' in declaration of `kfree_R037a0cba'
misc_funcs.c:112: warning: parameter names (without types) in function declaration
misc_funcs.c:112: warning: data definition has no type or storage class
misc_funcs.c:113: parse error before '}' token
misc_funcs.c: In function `map_kspin_lock':
misc_funcs.c:131: invalid use of undefined type `struct hlist_head'
misc_funcs.c:132: warning: implicit declaration of function `hlist_for_each'
misc_funcs.c:132: parse error before '{' token
misc_funcs.c:135: parse error before "struct"
misc_funcs.c: At top level:
misc_funcs.c:140: parse error before "void"
misc_funcs.c:142: warning: type defaults to `int' in declaration of `p'
misc_funcs.c:142: `p' used prior to declaration
misc_funcs.c:142: invalid type argument of `unary *'
misc_funcs.c:142: warning: initialization makes integer from pointer without a cast
misc_funcs.c:142: initializer element is not constant
misc_funcs.c:142: warning: data definition has no type or storage class
misc_funcs.c:143: parse error before "if"
misc_funcs.c:149: parse error before '&' token
misc_funcs.c:149: warning: type defaults to `int' in declaration of `hlist_add_head'
misc_funcs.c:149: warning: function declaration isn't a prototype
misc_funcs.c:149: warning: data definition has no type or storage class
misc_funcs.c: In function `unmap_kspin_lock':
misc_funcs.c:165: invalid use of undefined type `struct hlist_head'
misc_funcs.c:166: parse error before '{' token
misc_funcs.c:169: parse error before "struct"
misc_funcs.c:170: invalid type argument of `->'
misc_funcs.c:171: invalid type argument of `->'
misc_funcs.c: At top level:
misc_funcs.c:179: parse error before "do"
misc_funcs.c:38: storage size of `spinlock_map' isn't known
make[1]: *** [misc_funcs.o] Error 1
make[1]: Leaving directory `/home/sT/ndiswrapper-1.0/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper-1.0]#
Dear n00b,
Hello,
Best Regards.Originally Posted by From LinuxQuestions
Färrükh Ähmëd
hi,
thank you for replying, i tried ndiswrapper with version 0.8 and it worked. but when i get to modprobe ndiswrapper i get this error
[root@localhost ndiswrapper-0.8]# ndiswrapper -l
Installed ndis drivers:
mn720 present
[root@localhost ndiswrapper-0.8]# modprobe ndiswrapper
/lib/modules/2.4.20-8/misc/ndiswrapper.o: kernel-module version mismatch
/lib/modules/2.4.20-8/misc/ndiswrapper.o was compiled for kernel version 2.4.20-8custom
while this kernel is version 2.4.20-8.
/lib/modules/2.4.20-8/misc/ndiswrapper.o: insmod /lib/modules/2.4.20-8/misc/ndiswrapper.o failed
/lib/modules/2.4.20-8/misc/ndiswrapper.o: insmod ndiswrapper failed
Wheni recompile the kernel (or whatever soory im new to linux) i had to change the bootlaoder and so i have another version
2.4.20-8 and 2.4.20-8CUSTOM
Im going to go try it on the CUSTOM one, but my mouse doesnt work in that (usb microsoft optical mouse) have to use the touchpad, and when loading a lot of things fail.
this is frustrating
any suggestions to solve this. THANKS A LOT
UPDATE:
i loggod on witht the CUSTOM kernel ( where it fails to initalize my usb mouse *-) and i trie modprobe ndiswrapper i got this error that no modprobe for ndiswrapper found or something along those lines
Dear n00b,
Hello,
# ndiswrapper -mOriginally Posted by From LinuxQuestions
Best Regards.
Färrükh Ähmëd
FYI - A brief ndiswrapper tutorial has been added to linuxhomenetworking.com
Bookmarks