View previous topic :: View next topic |
Author |
Message |
Berkz Apprentice
Joined: 26 Aug 2002 Posts: 205 Location: Iceland
|
Posted: Thu Aug 29, 2002 3:03 pm Post subject: problem with compiling the right kernel. |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Aug 29, 2002 3:24 pm Post subject: |
|
|
What is the output of 'ls -l /usr/src/linux'? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Vann Guru
Joined: 04 Aug 2002 Posts: 357
|
Posted: Thu Aug 29, 2002 3:31 pm Post subject: Symbolic links |
|
|
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 |
|
|
Berkz Apprentice
Joined: 26 Aug 2002 Posts: 205 Location: Iceland
|
Posted: Fri Aug 30, 2002 12:31 am Post subject: correct |
|
|
that is truly correct, thanx guys |
|
Back to top |
|
|
|