Make errors on opensuse 10.3

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4655

Shadow

08-03-2008 18:36:15

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

make
make[1] Entering directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default'
make -C ../../../linux-2.6.22.17-0.1 O=../linux-2.6.22.17-0.1-obj/i386/default 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-2.6.22.17-0.1-obj/i386/default'
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.

Thanks
Liam cry

Spy84464

09-03-2008 16:41:18

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

Regards,
Romain

Shadow

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.

Thanks
Liam )