compliling under suse 10.3 kernel 2.6.22.18

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

chrisb

15-07-2008 09:48:30

I get the following errors trying to compile.
[quotet8x0lgfg]

make[1] Entering directory `/usr/src/linux-2.6.22.18-0.2-obj/x86_64/default'
make -C ../../../linux-2.6.22.18-0.2 O=../linux-2.6.22.18-0.2-obj/x86_64/default modules
CC [M] /home/chris/installs/rt61-1.1.0-b2/Module/rtmp_main.o
/home/chris/installs/rt61-1.1.0-b2/Module/rtmp_main.c In function ‘RT61_open’
/home/chris/installs/rt61-1.1.0-b2/Module/rtmp_main.c405 warning ‘deprecated_irq_flag’ is deprecated (declared at /usr/src/linux-2.6.22.18-0.2/include/linux/interrupt.h66)
/home/chris/installs/rt61-1.1.0-b2/Module/rtmp_main.c In function ‘rt61_init_module’
/home/chris/installs/rt61-1.1.0-b2/Module/rtmp_main.c1044 error implicit declaration of function ‘pci_module_init’
make[4] *** [/home/chris/installs/rt61-1.1.0-b2/Module/rtmp_main.o] Error 1
make[3] *** [_module_/home/chris/installs/rt61-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.18-0.2-obj/x86_64/default'
rt61.ko failed to build!
make *** [module] Error 1
[/colort8x0lgfg][/quotet8x0lgfg]

I have checked the sym link as follows-
> ls -l /usr/src
[quotet8x0lgfg]lrwxrwxrwx 1 root root 19 2008-07-15 1109 linux -> linux-2.6.22.18-0.2
drwxr-xr-x 20 root root 4096 2008-07-15 1109 linux-2.6.22.18-0.2
drwxr-xr-x 3 root root 4096 2008-06-09 1609 linux-2.6.22.18-0.2-obj
lrwxrwxrwx 1 root root 23 2008-07-15 1109 linux-obj -> linux-2.6.22.18-0.2-obj
drwxr-xr-x 7 root root 4096 2008-04-20 1226 packages[/colort8x0lgfg][/quotet8x0lgfg]
> cd /lib/modules/2.6.22.18-0.2-default
> ls -l
[quotet8x0lgfg]lrwxrwxrwx 1 root root 47 2008-06-24 0830 build -> /usr/src/linux-2.6.22.18-0.2-obj/x86_64/default
drwxr-xr-x 11 root root 4096 2008-06-24 0830 kernel
-rw-r--r-- 1 root root 341603 2008-06-24 0831 modules.alias
-rw-r--r-- 1 root root 69 2008-06-24 0831 modules.ccwmap
-rw-r--r-- 1 root root 355180 2008-06-24 0831 modules.dep
-rw-r--r-- 1 root root 813 2008-06-24 0831 modules.ieee1394map
-rw-r--r-- 1 root root 636 2008-06-24 0831 modules.inputmap
-rw-r--r-- 1 root root 7055 2008-06-24 0831 modules.isapnpmap
-rw-r--r-- 1 root root 74 2008-06-24 0831 modules.ofmap
-rw-r--r-- 1 root root 268822 2008-06-24 0831 modules.pcimap
-rw-r--r-- 1 root root 925 2008-06-24 0831 modules.seriomap
-rw-r--r-- 1 root root 151056 2008-06-24 0831 modules.symbols
-rw-r--r-- 1 root root 21637 2008-06-24 0831 modules.unsupported.blacklist
-rw-r--r-- 1 root root 409611 2008-06-24 0831 modules.usbmap
lrwxrwxrwx 1 root root 28 2008-07-15 1108 source -> /usr/src/linux-2.6.22.18-0.2
drwxr-xr-x 2 root root 4096 2008-06-24 0831 updates[/colort8x0lgfg][/quotet8x0lgfg]

I have also tried doing a make clean

Many thanks

Chris

Starcrasher

16-07-2008 10:15:30

Hello Chris,

As beta versions of legacy drivers are quite old now, you will surely have better results with the CVS version.

chrisb

17-07-2008 15:32:00

Thanks! Gave up and installed Suse 11.0 instead.

Wireless card now recognised but running really slowly. Joined in discussions on thread -
viewtopic.php?f=5&t=4579&st=0&sk=t&sd=a&start=30