compiling madwifi
Hi,
Im trying to intall madwifi but i get the following errors when i do 'make': /usr/src/linux-2.4.27-0.pre2.1mdk/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule' /usr/src/linux-2.4.27-0.pre2.1mdk/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /usr/src/linux-2.4.27-0.pre2.1mdk/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule' /usr/src/linux-2.4.27-0.pre2.1mdk/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make[3]: *** [ah_osdep.o] Error 1 make[3]: Leaving directory `/home/subbeh/madwifi/ath_hal' make[2]: *** [_mod_/home/subbeh/madwifi/ath_hal] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.27-0.pre2.1mdk' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/subbeh/madwifi/ath_hal' make: *** [all] Error 1 can anyone tell me what I'm doing wrong or what i should do? |
It's a hack and it might screw things up later, but you can try commenting out one of the smp_send_reschedule declarations.
Compile madwifi and remove the commenting. - Peder |
are you root?
what else have you done? and you are sure you have the kernel source and gcc installed? |
@DeusExLinux: Of course he has the kernel source and gcc installed; gcc's complaining that two include files from
the 2.4.27-0.pre2.1mdk source have conflicting types. It's an error that can happen some times. root or not doesn't matter in this case (at this stage anyways). - Peder |
I just reinstalled Mandrake again, the only thing i did so far is 'urpmi kernel-source' and it still doesn't work.
Quote:
Edit: it already works, i just did a urpmi --auto-select |
Ok now i get some more errors while setting it up..;
[root@localhost madwifi]# insmod wlan insmod: can't read 'wlan': No such file or directory [root@localhost madwifi]# insmod ath_hal insmod: can't read 'ath_hal': Is a directory [root@localhost madwifi]# modprobe ath_pci FATAL: Module ath_pci not found. I didnt get any errors with make and make install, what could it be this time? |
It seems to not be able to find the modules .... when I ran make, it inserted the modules itself. Why are you trying to do it manually? try running these instead
Code:
insmod wlan/wlan.ko Quote:
|
All times are GMT -5. The time now is 08:59 AM. |