SuSe Linux 10.3 Compiling Problem

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

mre521

07-08-2008 21:13:06

Hi I'm running SuSe 10.3 Distro Linux on my computer and I have a Nintendo Wi-Fi USB Connector. People on the Internet have found out that it is just an rt2570 chipset USB stick. I tryed to compile the latest driver from the CVS, and I get this [code2o3tj8cz]eric@x1-6-00-13-8f-c2-af-9e:~> cd ~/Desktop/rt2570-1.1.0-b2
eric@x1-6-00-13-8f-c2-af-9e:~/Desktop/rt2570-1.1.0-b2> cd Module
eric@x1-6-00-13-8f-c2-af-9e:~/Desktop/rt2570-1.1.0-b2/Module> make
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modules
CC [M] /home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.o
/home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c: In function ‘usb_rtusb_probe’:
/home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: ‘dev_base’ undeclared (first use in this function)
/home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: (Each undeclared identifier is reported only once
/home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: for each function it appears in.)
/home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: ‘struct net_device’ has no member named ‘next’
make[4]: *** [/home/erice/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make[3]: *** [_module_/home/erice/Desktop/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.5-31-obj/i386/default'
rt2570.ko failed to build!
make: *** [module] Error 1
eric@x1-6-00-13-8f-c2-af-9e:~/Desktop/rt2570-1.1.0-b2/Module> [/code2o3tj8cz] The Wi-Fi Connector can be used to send Homebrew DS Apps to the Nintendo DS wirelessly. I have Kernel Source 2.6.22.5-31-default installed. Here are my Computer Specs [code2o3tj8cz] Motherboard:
CPU Type 2x Intel Pentium 4, 2800 MHz
Motherboard Name Unknown
Motherboard Chipset Unknown
System Memory 1003 MB
BIOS Type Unknown

Multimedia:
Audio Adapter dmix:0
SMART Hard Disks Status Unknown

Partitions:
C: (NTFS v1.1) 52936 MB (40806 MB free)
E: (NTFS v1.1) 52936 MB (40806 MB free)
Y: (NTFS v1.1) 52936 MB (40806 MB free)
Z: (NTFS v1.1) 20157 MB (9781 MB free)
Total Size 174.8 GB (129.1 GB free)

Network:
Network Adapter eth0 (24.141.49.249)

Peripherals:
Printer HP_LaserJet_P1505
Printer laserjetp1505[/code2o3tj8cz] Please help me!

Starcrasher

08-08-2008 11:14:51

Hello mre521,

Like most people, that have problems with compiling, you are trying the beta version (1.1.0-b2) that is quite old now instead of the cvs version.

As it is really a FAQ, you could have save time for everyone reading this post IMPORTANT READ BEFORE POSTING!!![/url1hcnshc1] and/or making use of the magical [url=http://rt2x00.serialmonkey.com/phpBB/search.php1hcnshc1]Search Button[/url1hcnshc1].