*- Bob Nielsen wrote about "Re: new kernel release" > I've come across one problem in compiling, which did NOT occur with > 2.2.0-pre9: > > 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[1]: *** [vmlinux] Error 1 > > It compiled successfully when I substituted the pre9 version of sb_ess.c > (I configured for a SB16, not ess). >
I had the same problems with a sb16. This is a result of putting the sb16 in the kernel instead of as a module. This fix is at http://edge.linuxhq.com/esstype-2.2.0.diff =========================esstype-2.2.0.diff=========================== --- linux/drivers/sound/sb_card.c Sun Jan 24 22:04:02 1999 +++ /usr/src/linux/drivers/sound/sb_card.c Mon Jan 25 20:33:14 1999 @@ -113,6 +113,7 @@ } int sb_be_quiet=0; +int esstype = 0; /* ESS chip type */ #ifdef MODULE @@ -136,7 +137,6 @@ int pas2 = 0; /* Set pas2=1 to load this as support for pas2 */ int sm_games = 0; /* Mixer - see sb_mixer.c */ int acer = 0; /* Do acer notebook init */ -int esstype = 0; /* ESS chip type */ MODULE_PARM(io, "i"); MODULE_PARM(irq, "i"); =========================end diff=================================== After the patch it worked perfect. In the .../linux directory issue patch -p1 < esstype-2.2.0.diff and restart the compile. -- Brian --------------------------------------------------------------------- "Never criticize anybody until you have walked a mile in their shoes, because by that time you will be a mile away and have their shoes." - unknown Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis ---------------------------------------------------------------------