Skip to contentSkip to conversation

problems about __cli()

DISCUSSION Iain Sandoe 1 participant 1 message Jul 21, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 24 lines · Michel Dänzer
Quoted 18 lines · Iain Sandoe
Quoted 9 lines · Josh Huber
Quoted 1 line · Iain Sandoe

[snip]

Quoted 5 lines

It is *vital* to make sure that there is a symlink named 'linux' in /usr/src that points to your /usr/src/your-kernel-foo-bar/ because there are symlinks in /usr/include that expect to use this to find the build-specific headers.

Quoted 7 lines

A couple notes:

You don't have to put your kernel in /usr/src, and you DON'T have to symlink /usr/src/linux to it before you build. The symlinks (on broken RedHat derivatives) in /usr/include should point to the kernel headers that your libc was built againt, otherwise you risk breaking binary compatibility.

Quoted 4 lines

I guess I *must* have one of those broken derivatives... and it doesn't work for me without that step... Admittedly, this is mostly an issue between 2.2.xx and 2.4.0 - but I do have to remember to change it back between whiles... a better way would be ?

Quoted 4 lines

Have you tried 'make mrproper' (backup your .config ;), put back the old config, then 'make oldconfig dep vmlinux'? AFAIK the directory where the tree resides only matters after make dep, and the connection is untied with make mrproper.

Well, I *usually* do (on average once a day..):
save .config
make mrproper
restore .config
make menuconfig (just to check out that I'm certain of the conditions for *this* compile :)
make dep vmlinux.... etc.

However, I'm not immune from 'finger trouble' ;-)

Next time I do a 2.4.0 build I'll note more carefully what I do and see what happens... I'm concentrating on IRQ stuff on 2.2.17 until prob. Sunday.

Thanks for the suggestions,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/