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 07-15-2002, 01:43 AM   #1
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Kernel Compile problems with Slack 8.1


Has anyone here tried compiling the kernel-source that comes with Slackware 8.1. Every time I do a make modules_install, I seem to always get errors, like:
Quote:
depmod: Unresolved symbols in xxxx
depmod: Unresolved symbols in xxxx
These errors seem to come up even on two very different machines, one a laptop and one a desktop.

I've also noticed that after trying doing a kernel conpile, it messes up some of the modules installed on the system. eg. iptables suddenly doesn't work

I've tried using modprobe and insmod to load to modules for iptables to work.

I'm not sure what I'm doing wrong, any ideas

Thanks a LOT
 
Old 07-15-2002, 05:52 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
I've neverd had any 8.1 specific problems.

Post the steps that you are going through during you compilation (make menuconfig, make bla-bla-bla). You might be missing something obvious (always the hardest thing to spot yourself). On all of the default slack kernels I've always done a make mrproper first to remove the default config as otherwise I'll spend more time unselecting options that it take me to select the one I want from a blank config.

cheers

Jamie...
 
Old 07-15-2002, 09:00 AM   #3
CARTMAN
Member
 
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 15
Rename /lib/modules/2.4.18 directory then make modules_install again

That should work...
 
Old 07-16-2002, 04:04 AM   #4
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Original Poster
Rep: Reputation: 30
Thanks guys, I'll get back to you's guys ASAP on the situation.
 
Old 07-17-2002, 08:10 AM   #5
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Original Poster
Rep: Reputation: 30
Sweet, thanks I've compiled several kernels now successfully. Thanks again guys.

BTW:

Here's the steps that I basically did:

1. Change to where the kernel source is installed in this case: cd /usr/src/linux/
2. Type make mrproper
3. Type make menuconfig
4. Select all the right options for the computer I'm building it for.
5. Exit and save the options in menuconfig
6. Type make dep
7. Type make clean
8. Type make bzImage
9. Type make modules
10. Type make modules_install

Then I moved the bzImage file from the directory /usr/src/linux/arch/i386/boot/ to the directory /boot.

Updated the file lilo.conf in the /etc directory (I couldn't be bother typing the what added to the file).

Type lilo at the console

Last edited by X11; 07-17-2002 at 08:24 AM.
 
  


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
What is the exact way to compile 2.6.7 kernel source on Slack 10? sennasan Slackware 2 06-28-2004 11:58 PM
Dual Booting Slack with a new kernel compile? biledaemon Slackware 4 11-16-2003 11:23 AM
slack 9.0 kernel compile mustafa Slackware 1 04-20-2003 06:50 PM
slack 9.0. Where do I compile the kernel? Schizo265 Slackware 3 03-28-2003 07:09 AM
Compile 2.4.19 kernel on slack 8.1 DaOne Slackware 17 02-08-2003 08:15 PM


All times are GMT -5. The time now is 11:50 PM.

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