>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's the EXACT sound card you have?

>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


The steps above are correct.  You can if you want, run "make mrproper",
but...what that will do is make your source tree like the way it was (delete
*.o, stale libs, etc...)when it came out of the package (provided you have
not manually modified the source.  The other two default alternatives to
"make menuconfig" are: "make xconfig" and "make config" (you have to be in X
to do make xconfig).

>
>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 ?


If your sound card is SoundBlaster compatible, then use those drivers
temporarly.  Another alternative to this to use
OSS-Lite.  It's sort of a sound emulation, but...it's really easy to use.
For more info on OSS, go to:

http://www.se.opensound.com/

>- After a failure compiling kernel, should I UNinstall kernel source and
>RE-install the source ?


basically, "make mrproper" does the same thing. :)

>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?


Yes...When you cannot like the object files and the libs you cannot continue
(like it seems you have described)

>
>(Uffff!!!! What a hard job :)  )
>TIA.
>
>--
>José Albores
>Buenos Aires.
>Argentina.


Hope that Helps!

-Regards
Peeyush Singh

Reply via email to