Compiling the ralink rt2860sta module

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Compiling the ralink rt2860sta module

Postby xodeus » Sat Mar 29, 2008 14:41

Hi there.
i have done this before on ubuntu and mint (which are basically the same).
But I can not do this on sabayon 3.5 l2 r2.

I get the sources from ralinktech and configure the Makefile
Code: Select all
#MODE  STA or AP
RT28xx_MODE = STA
#RT28xx_MODE = AP
#TARTET = LINUX or UCOS
TARGET = LINUX
#CHIPSET = 2860 or 2870
CHIPSET = 2860
#CHIPSET = 2870

then the os/linux/config.mk
Code: Select all
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

and now when I type make in su-mode I get an error.
See my pastebin

So what do I do wrong?
User avatar
xodeus
Baby Hen
 
Posts: 10
Joined: Sat Feb 03, 2007 8:12
Location: Fredericia, DK

Re: Compiling the ralink rt2860sta module

Postby xodeus » Sat Mar 29, 2008 15:59

I found this somewhereelse on the internet
Your will not get the driver to compile with 2.6.24 and higher kernels. Now what you could do is get 2.6.23.17 kernel and compile install it reboot your notebook boot 2.6.23.17 kernel then compile driver and it will compile now.


I suppose that it's not possible for me to compile the module.
If I compile the module on an other kernel and have the ko and the dat file, could I copy it to the newer kernel and use it with it?
Or should a module only be used with the kernel it's compiled together with?

If it's not possbile to compile or reuse a module that's compile with an other kernel, is ndiswrapper the last solution?
Is ndiswrapper stable?
User avatar
xodeus
Baby Hen
 
Posts: 10
Joined: Sat Feb 03, 2007 8:12
Location: Fredericia, DK


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 3 guests

cron