>/usr/src/linux/arch/i386/lib/lib.a \
>        --end-group \
>        -o vmlinux
>drivers/sound/sound.a(sb_ess.o): In function `ess_init':
>sb_ess.o(.text+0xde2): undefined reference to `esstype'
>sb_ess.o(.text+0xe77): undefined reference to `esstype'
>make: *** [vmlinux] Error 1


Here's what I did:

Open the source file that was having the problem:
drivers/sound/sb_ess.c

On line 165 it reads:  extern int esstype; /* module parameter in
sb_card.c */

I removed 'extern' and left it as follows:      int esstype

It then compiled with no errors and sound now works.

(I don't know C, so I don't know what effect this might have, or why it
made a difference - I looked up 'extern' in a c book and it said
something about it making a variable global.)

Jason

Reply via email to