Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57793 - genkernel apparently fails to set up the internal symlinks (?!) - maybe asm?
Summary: genkernel apparently fails to set up the internal symlinks (?!) - maybe asm?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical
Assignee: Tim Yamin (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 18:22 UTC by Robert Moss (RETIRED)
Modified: 2004-07-21 06:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Moss (RETIRED) gentoo-dev 2004-07-20 18:22:00 UTC
This is unconfirmed and could do with some checking out. To quote the user in question:

"Thanks, this fixed my problems too. Had to use build option to emerge svgalib.
It seems that genkernel doesn't create symbolic links inside kernel tree as required by svgalib. Compiling kernel this way fixed that."

The "this way" in question was "cd /usr/src/linux; make oldconfig clean bzImage modules". The goal was to get a kernel source tree that would allow compilation of a kernel module, in this case svgalib. Apparently, according to this user, genkernel doesn't leave you with this. It most certainly should do AFAICT.

plasmaroo, can you check this? I don't use genkernel on my box and don't really have time to fiddle with it (having grub-0.95 troubles).
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-07-21 04:15:48 UTC
Trying:

# cd /usr/src/linux
# rm linux
# ln -sf linux-2.6.8-rc1 linux
# cp linux-2.6.7/.config linux
# genkernel --no-mrproper --no-install kernel
[[ Compiles ]]
# emerge svgalib
[[ Works fine ]]

... so I can't really see the issue and hence I'm closing this as INVALID. If you can get me a reproducible test-case then please reopen this bug and I'll be happy to have a look at it. Thanks!
Comment 2 Robert Moss (RETIRED) gentoo-dev 2004-07-21 06:01:43 UTC
Okay, I'm reopening this one on a hunch. I'm fairly sure that this shouldn't work at all unless you do a "make mrproper" first - the symlinks are already there if the source tree isn't mrproper'd (make clean isn't enough). So, try this, and if it *still* doesn't work, close it again as INVALID and it'll hopefully be the last you hear of it ;-)

cd /usr/src
rm linux
ln -s linux-2.6.8-rc1 linux
cd linux
make mrproper
cd ..
cp linux-2.6.7/.config linux
genkernel --no-mrproper --no-install kernel
...
emerge -C svgalib (I think this is important too)
emerge svgalib
...

You don't need to bother with the svgalib stuff as long as the internal symlink is still there after the compile:

ls /usr/src/linux/include/asm -l
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-07-21 06:19:51 UTC
Still compiles fine :-|