Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6
Hi there,
I'm a newbie to linux, and I downloaded the Mandrake 10.0 ISOs.
I thought I had figured out how to get my Linksys WUSB11 v3.0 to work. Unlike most of the other WUSB11s, the v3.0 runs on a prism driver, not the atmel driver. This driver comes with Mandrake Linux 10, but the prism25_usb.c (or whatever the file is called, I'm in my win2k boot right now) doesn't specify v3.0's USB-ID yet.
So, I downloaded the 2.6.3-7 source code, added the necessary line into prism25_usb.c, ran
bash#make xconfig
Selected what I thought was correct. There were prism drivers in two locations, but the usb one was only under "3rdparty". I said Y to that one, and on my first try, N to the others, M on the second try.
I tried
bash#make depends
but that got me:
make: *** No rule to make target 'depends'. Stop.
I read in someone's post on this site that you don't do make depends on kernel 2.6.x, so I went on:
bash#make bzImage
going along for quite some time (an hour or two? I wasn't looking at my watch, and I don't know how long it was between it ended and I checked the screen).
Here is the error, with some of the last lines before it so you know where it was in the process:
...
AR lib/lib.a
LD arch/i386/lib/built-in.o
AS arch/i386/lib/checksum.o
CC arch/i386/lib/delay.o
AS arch/i386/lib/getuser.o
CC arch/i386/lib/memcpy.o
CC arch/i386/lib/strstr.o
CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
3rdparty/built-in.o(.text+0x20fca): In function `prism2sta_probe_usb':
: undefined reference to `wlan_setup'
3rdparty/built-in.o(.text+0x20fda): In function `prism2sta_probe_usb':
: undefined reference to `register_wlandev'
3rdparty/built-in.o(.text+0x210e8): In function `prism2sta_probe_usb':
: undefined reference to `unregister_wlandev'
3rdparty/built-in.o(.text+0x21207): In function `prism2sta_disconnect_usb':
: undefined reference to `p80211netdev_hwremoved'
3rdparty/built-in.o(.text+0x212e7): In function `prism2sta_disconnect_usb':
: undefined reference to `unregister_wlandev'
3rdparty/built-in.o(.text+0x212f2): In function `prism2sta_disconnect_usb':
: undefined reference to `wlan_unsetup'
3rdparty/built-in.o(.text+0x20c85): In function `prism2sta_ev_rx':
: undefined reference to `p80211netdev_rx'
make: *** [.tmp_vmlinux1] Error 1
Sorry it's such a long post, but I thought this might help identify the problem more.
Does anybody know how I can solve this problem?
|