Re: 2.3.99pre2 compile problem for sound blaster

From: Paul Laufer (pelaufer@csupomona.edu)
Date: Sat Mar 18 2000 - 05:47:47 EST


On Sat, 18 Mar 2000, Paul Laufer wrote:

> On Fri, 17 Mar 2000, Thomas Molina wrote:
>
> > I have 2.3.99pre with the pre2-3 patch. It fails to compile with the
> > following errors:
> >
> > sysrq.c: In function `go_sync':
> > sysrq.c:185: warning: unused variable `vfsmnt'
> > /usr/src/linux-2.3.99pre/Rules.make:263: target `uart401.o' given more
> > than once in the same rule.
> > /usr/src/linux-2.3.99pre/Rules.make:263: target `uart401.o' given more
> > than once in the same rule.
> > soundmodule.h:22: warning: `sound_notifier' defined but not used
> > soundmodule.h:22: warning: `sound_notifier' defined but not used
> > soundmodule.h:22: warning: `sound_notifier' defined but not used
> > sg.c:2449: warning: `sg_proc_cleanup' defined but not used
> > i2c-core.c: In function `i2c_init_all':
> > i2c-core.c:1141: warning: implicit declaration of function
> > `i2c_algo_bit_init'
> > fatfs_syms.c:59: warning: static declaration for `init_fat_fs' follows
> > non-static
> > apm.c:656: warning: `apm_enable_power_management' defined but not used
> > drivers/sound/sounddrivers.o: In function `sb_dsp_unload':
> > drivers/sound/sounddrivers.o(.text+0x3056): undefined reference to
> > `sbmixnum'
> > make: *** [vmlinux] Error 1
>
> Looks like you grabbed my soundblaster patch from the list and didn't
> remove it before applying the pre2-3, which contains a different version.
> So you've got a mangled tree.
>
> Paul Laufer

I hate to respond to myself, but I screwed up. Up too late, you know.
sb_mixer_unload() was what I was thinking of. Anyway, sbmixnum is defined
in sb_mixer.c and pre2-3 compiles fine for me. Try with a clean tree and
if it still fails send me your .config

Paul Laufer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:24 EST