Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Wed Apr 10, 2002 7:58 am    Post subject: kernel compile error Reply with quote

well, the first time i compiled the kernel (during gentoo installation), things went fine but my network card module wasn't being initialized due to some unresolved symbol errors.

So my speculation was that I needed to turn off SMP support (since I only have one processor). so I went into make menuconfig, turned it off, then tried compiling it using "make dep && ..." but it errors out somewhere in the middle.

is there a command I need to run to "clean up" before I recompile?
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Wed Apr 10, 2002 8:50 am    Post subject: Reply with quote

to answer my own question...

you should do the following:

cd /usr/src/linux

cp .config /tmp/.config
make mrproper
cp /tmp/.config .
make menuconfig (save and exit)
make dep && make bzImage && make modules && make modules_install

In my case, I had to remove smp support for my ethernet card (d-link 530-tx+ using 8139too module) to work
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum