Linksys WUSB600N ver. 2

JD jd1008 at gmail.com
Mon Aug 9 15:59:32 UTC 2010


  On 08/09/2010 06:50 AM, Ed Greshko wrote:
>   On 08/09/2010 09:30 PM, Ed Greshko wrote:
>> Unfortunately it is late in the day and I don't have the time now to
>> figure out what is "broken".
> Ah hah....
>
> I see the problem....but not sure how to fix yet.....
>
> In the Makefile you see..... at line 236
>
> ifneq (,$(findstring 2.4,$(LINUX_SRC)))
>
> Well....the current kernel is 2.6.33.6-147.2.4.fc13.i686.PAE which
> contains the string 2.4 so the build thinks this is a 2.4 kernel build!
>
> My wife and cats are yelling at me......
>
>
>
Hi Ed, and Mr. binary :)

I did not keep the original build output from mr. binary ...

Did the compilation error message look like this:

...... 
/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_mac_usb.c:52: 
error: implicit declaration of function ‘usb_buffer_alloc’

If so, then it has nothing to do with
ifneq (,$(findstring 2.4,$(LINUX_SRC)))

at all.

It has to do with the fact that usb_buffer_alloc function is no longer 
present in the kernel sources of the linux version you are compiling for.
Nor is it present in my kernel source 2.6.35-git1

It was present in


kernel-2.6.32.16-150.fc12.src/linux-2.6.32/drivers/usb/core/usb.c

and exported via header file

kernel-2.6.32.16-150.fc12.src/linux-2.6.32/include/linux/usb.h

This function was taken out sometime kernel 2.6.32.16-150

This is the problem with ralinktech. They do not keep up with
linux kernel changes. They think one hat fits all is the way to go.
Unlike, for example, VirtualBox - which has a separate release for
several kernel revisions of Fedora.




More information about the users mailing list