Make errors on opensuse 10.3

Live forum:


08-03-2008 18:36:15

Hi i have tried to compile the driver and i get the following errors when issuing make.

make[1] Entering directory `/usr/src/linux-'
make -C ../../../linux- O=../linux- modules
CC [M] /home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.o
/home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.c In function ‘usb_rtusb_probe’
/home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error ‘dev_base’ undeclared (first use in this function)
/home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error (Each undeclared identifier is reported only once
/home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error for each function it appears in.)
/home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.c1905 error ‘struct net_device’ has no member named ‘next’
make[4] *** [/home/Liam/Utils/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make[3] *** [_module_/home/Liam/Utils/rt2570-1.1.0-b2/Module] Error 2
make[2] *** [modules] Error 2
make[1] *** [modules] Error 2
make[1] Leaving directory `/usr/src/linux-'
rt2570.ko failed to build!
make *** [module] Error 1

I do not know why this is happening, i have the matching kernel headers and sources for my kernel.

Any help would be great, i miss surfing the net in my linux.

Liam cry


09-03-2008 16:41:18

Try again with the latest CVS tarball, b2 is badly outdated.



10-03-2008 20:20:54

Hi, Thanks for your reply Romain. As you suggested i tried again with the latest CVS and it all worked fine. Like you said B2 is badly outdated. Dont ask why i didnt think of that in the first place, sometimes it helps wen someone points out the obvious thing.

Liam )