[NTLUG:Discuss] suse kernel recompile, take 2

Dennis Daupert ddaupert at csc.com
Mon Mar 10 09:02:54 CST 2003


Before the weekend, I was excited. I thought I was going to
get this webcam working. Then I ran into a (for me) formidable
snag. I was sad. It wasn't pretty.

I'm on SuSE 8.1.

I did these steps:

I downloaded 2.4.19 from kernel.org,
unpacked in my home dir,
mv'd to /usr/src,
deleted symlink to SuSE's kernel,
re-symlinked to linux-2.4.19
copied /boot/vmlinuz.config to /usr/src/linux/.config
fired up menuconfig to tweak.
make deps

Got this error:
make: *** No rule to make target `deps'.  Stop.

I had previously successfully made a new 2.4.20 kernel,
but ran into problem with the particular web cam driver;
he said he wants 2.4.19, sooooooo...

QUESTION 1: What do I do about this 'no rule' msg?

QUESTION 2: If I actually get a new kernel compiled, I see a
/boot/System.map-2.4.19-4GB file; I would imagine I would need
a new system map. Is that true?

----------------------------------------------------------

By the way, while I'm at it, I can't seem to get xconfig
working. When I try bringing him up, I get:

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.19/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.19/scripts'
wish -f scripts/kconfig.tk
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Application initialization failed: this isn't a Tk applicationcouldn't
connect to display ":0"
Error in startup script: invalid command name "button"
    while executing
"button .ref"
    (file "scripts/kconfig.tk" line 51)
make: *** [xconfig] Error 1








More information about the Discuss mailing list