LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2004, 11:18 AM   #1
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Rep: Reputation: 15
strange error messages when recompiling kernel.


Okay, I was recompiling my kernel to remove support for my mouse, agpart and 3d acceleration (I find that I'm faster with emacspeak and a good audio system than I am with the mouse.). everything works fine until it starts making .tmp_vmlinux1 and then I get some cryptic error messages, any ideas on what these mean?

Code:
drivers/built-in.o(.text+0x59dfd): in function 'hpsb_alloc_packet':
: undefined reference to 'alloc_skb'
drivers/built-in.o(.text+0x5a9be): in function 'hpsb_send_packet':
: undefined reference to 'skb_queue_tail'
drivers/built-in.o(.text+0x5b674): in function 'abort_requests':
: undefined reference to 'skb_dequeue'
drivers/built-in.o(.0x5b787): in function 'queue_packet_complete':
: undefined reference to 'skb_queue_tail'
drivers/built-in.o(.text+0x5b81f): in function 'hpsbkt_thread':
: undefined reference to 'skb_dequeue'
drivers/built-in.o(.text+0x59eb4): in function 'hpsb_free_packet':
: undefinef reference to '__kfree_skb'
make: *** [.tmp_vmlinux1] Error 1
 
Old 12-15-2004, 11:31 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Something has been missed out of your kernel compile. This kind of error is usually caused by not running
Code:
make mrproper
before configuring the kernel; it thinks something's been compiled from before when in fact some options have changed so the version that was built is no longer valid. This is a linker problem, so there's probably nothing wrong with your kernel source.

The safest way to proceed is to copy your .config file to take a backup, run
Code:
make mrproper
and then copy your .config file back and run
Code:
make cloneconfig
. This will give you a configured kernel from that needs to be compiled.

Last edited by rjlee; 12-15-2004 at 03:06 PM.
 
Old 12-15-2004, 12:28 PM   #3
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
I tried your suggestion and recompiled, got the same error. deleted the kernel source directory, uppacked and tried again, still no luck. this is making me mad.
 
Old 12-15-2004, 02:17 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
What commands are you issuing to unpack/configure/compile the kernel and where is your kernel source unpacked?
 
Old 12-15-2004, 02:22 PM   #5
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
to unpack the kernel:
Code:
tar -xjvf linux-2.6.9.tar.bz2
I use make menuconfig to configure the kernel and
Code:
make && make modules && make modules_install && cp /root/linux-2.6.9/arch/i386/boot/bzImage /boot && make install
to compile and install it. I store the files in /root/linux-2.6.9.
 
Old 12-15-2004, 04:34 PM   #6
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
are you creating a sym link as well?
 
Old 12-15-2004, 04:37 PM   #7
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
the only symbolic links are the ones that the make command creates.
 
Old 12-15-2004, 05:51 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
Quote:
Originally posted by levicc00123
to unpack the kernel:
Code:
tar -xjvf linux-2.6.9.tar.bz2
I use make menuconfig to configure the kernel and
Code:
make && make modules && make modules_install && cp /root/linux-2.6.9/arch/i386/boot/bzImage /boot && make install
to compile and install it. I store the files in /root/linux-2.6.9.

well.... there are a few doubles in that commandline.

i use : "#make bzImage && make modules && make modules_install.( then copy the kernel + system.map to /boot )

egag
 
Old 12-21-2004, 11:00 PM   #9
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
I found out what the problem was, either cups or sshd were causing problems, so turning them off fixed the problem.
 
  


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
iteradi, recompiling the kernel and a strange message... amatin Fedora 2 08-26-2004 10:11 PM
Strange /tmp error messages when compiling LavaDevil94 Programming 4 07-23-2004 05:26 AM
Strange kernel messages tmoorman Linux - Software 4 05-12-2004 04:11 PM
Help me with these strange error messages in my syslog, please. yuzuohong Linux - General 4 04-23-2003 03:44 AM
Recompiling kernel : warning messages - why? Q*Bert Linux - Software 3 03-07-2003 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration