LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 09-24-2004, 04:27 PM   #1
joachimvb
LQ Newbie
 
Registered: Sep 2004
Distribution: MandrakeLinux 10.0
Posts: 2

Rep: Reputation: 0
Unhappy 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?
 
Old 09-24-2004, 07:43 PM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
joachimvb; suggest acquiring mdk10 reference manual it will provide guidance
& how to information u seek. info to lenghtie to print for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Several "undefined reference to" error when compiling a C programm acer_peri Programming 8 12-11-2008 05:45 AM
"undefined reference"linker error for static field w/ C++ astorm Programming 5 08-27-2008 03:00 AM
kernel compilation:throwing error related with sound during "make bzImage" b0nd Linux - Newbie 1 08-19-2005 09:16 AM
USB mouse problems - undefined reference when make bzImage?? Smerk Linux - General 7 10-07-2003 08:08 AM
ncurses compile error: "undefined reference" Mr. Eek Linux From Scratch 1 05-12-2003 04:25 PM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration