It's still impossible for me to compile a kernel yet.
I'm just trying to use my original RedHat CD's kernel source to get
"sound support".
What I have done is:
1. make menuconfig
2. make dep ; make clean
3. make zImage
4. make zlilo
5. make modules
6. make modules_install
My firsts questions:
- Are these previous commands right ? I did it following
/usr/src/linux/README file instructions...
- As "asm" and other symlinks were "in place", i guess I shouldn't
re-create them, right?
- Should I "make mrproper" first ?
I'll go ahead.
After this I did:
[root@wizard] # make zImage 2> ~/errorfile
and got the following results:
--- begin of errorfile ---
dnsdomainname: Host name lookup failure
/usr/src/linux-2.0.34/Rules.make:173: target `ad1848.o' given more than
once in the same rule.
/usr/src/linux-2.0.34/Rules.make:173: target `ad1848.o' given more than
once in the same rule.
drivers/sound/sound.a(mad16.o): In function `wss_init':
mad16.o(.text+0x236): undefined reference to `ad1848_detect'
drivers/sound/sound.a(mad16.o): In function `probe_mad16':
mad16.o(.text+0x511): undefined reference to `ad1848_detect'
drivers/sound/sound.a(mad16.o): In function `attach_mad16':
mad16.o(.text+0x613): undefined reference to `ad1848_detect'
mad16.o(.text+0x6e7): undefined reference to `ad1848_init'
drivers/sound/sound.a(mad16.o): In function `attach_mad16_mpu':
mad16.o(.text+0x73f): undefined reference to `sb_dsp_init'
drivers/sound/sound.a(mad16.o): In function `probe_mad16_mpu':
mad16.o(.text+0x839): undefined reference to `sb_dsp_detect'
drivers/sound/sound.a(mad16.o): In function `unload_mad16':
mad16.o(.text+0x8fe): undefined reference to `ad1848_unload'
drivers/sound/sound.a(mad16.o): In function `unload_mad16_mpu':
mad16.o(.text+0x92b): undefined reference to `sb_dsp_unload'
make: *** [vmlinux] Error 1
--- end of errorfile ---
I tried in several ways. The last errorfile was after a "make
menuconfig" enabling ALL sound cards as modules but MAD (my sound card
is a Diamond) as 'YES' (not as module). Same results for MAD alone.
My second questions are:
- Can anybody help me about compiling kernel for "MAD's" sound card ?
- After a failure compiling kernel, should I UNinstall kernel source and
RE-install the source ?
Finally (I would say: "of course") I cannot find:
/usr/src/linux/arch/i386/boot/zImage
- Is this the obvious comsecuence of errors compiling Kernel?
(Uffff!!!! What a hard job :) )
TIA.
--
Jos� Albores
Buenos Aires.
Argentina.