Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with compiling the right kernel.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Berkz
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 205
Location: Iceland

PostPosted: Thu Aug 29, 2002 3:03 pm    Post subject: problem with compiling the right kernel. Reply with quote

Hi, I recently had a problem with compiling a driver for a winmodem (hsf chipset type to be exact) on the gentoo specific kernel. So i decided to try to compile the normal kernel which follows in the stage3 install disk. anyways what i do is this.

cd /usr/src/linux
make menuconfig
make dep &&
make clean bzImage modules modules_install

It start's to compile and whith my quick eye ;) i realize that the g++ compiler is always compiling something in the /usr/src/linux-gentoo-r5/
as if it was being redirected?

Could someone please explain this to me..

thanx

Regards, Berkz
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Aug 29, 2002 3:24 pm    Post subject: Reply with quote

What is the output of 'ls -l /usr/src/linux'?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Vann
Guru
Guru


Joined: 04 Aug 2002
Posts: 357

PostPosted: Thu Aug 29, 2002 3:31 pm    Post subject: Symbolic links Reply with quote

Traditionally /usr/src/linux is a symbolic link to your actual kernel source. For example, I use linux-2.4.19-gentoo-r7, so /usr/src/linux is a symbolic link to /usr/src/linux-2.4.19-gentoo-r7. This is what is happening with you, I'm sure, and the doing what kanuslupus suggested would show something like:
lrwxrwxrwx 1 root root 22 07-30 14:38 /usr/src/linux -> linux-2.4.19-gentoo-r7
Back to top
View user's profile Send private message
Berkz
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 205
Location: Iceland

PostPosted: Fri Aug 30, 2002 12:31 am    Post subject: correct Reply with quote

that is truly correct, thanx guys
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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