From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10274 invoked from network); 26 Jan 1999 19:18:35 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Jan 1999 19:18:35 -0000 Received: from mail.isholf.is (pop.isholf.is [194.105.226.2]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id NAA23315 for ; Tue, 26 Jan 1999 13:50:09 -0500 Received: from [212.30.196.190] by mail.isholf.is (NTMail 3.03.0017/4c.acsh) with ESMTP id ba238811 for ; Tue, 26 Jan 1999 18:49:57 +0000 Received: (from karid@localhost) by isholf.is (8.8.7/8.8.7) id SAA32436; Tue, 26 Jan 1999 18:50:48 GMT From: Kari Davidsson Message-ID: <19990126185048.A32430@loki.midheimar> Date: Tue, 26 Jan 1999 18:50:48 +0000 To: axp-list@redhat.com Subject: Re: trying 2.2.0 release... but my compiler is weird.. or I'm really stupid. Mail-Followup-To: axp-list@redhat.com References: <19990126073414.18361.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <19990126073414.18361.qmail@hotmail.com>; from Designer 7 on Mon, Jan 25, 1999 at 11:34:14PM -0800 There is a patch at http://www.linuxhq.com that should solve this problem. K.D. Thus spake Designer 7 (designer_7@hotmail.com): > Hello, > > I'm trying to compile 2.2.0 release kernel that i just downloaded > tonight. However, the compile is failing for some odd reason. > > during the final stage of linking the kernel... > the error message is this: > > drivers/sound/sound.a(sb_ess.o): In function 'ess_init' > sb_ess.c(.text+0x114c): undefined reference to 'esstype' > make: *** [vmlinux] error 1 > > by the way... there was also another problem which was that sb_ess.c was > missing > > #include > > > anyways... so I looked in sb_ess.c for the function ess_init. And it's > something like this... > > > > ...stuff > > extern int esstype; /* ... from sb_card.c */ > > ... stuff.. > > int ess_init(stuff..) > { > some code using 'esstype' in a if() and switch(esstype) > statement. > } > > ..stuff... > > > > Next I looked into sb_card.c > and sure enough, I see: > > int esstype = 0; /* ESS chip type */ > > so, from what I can remember, shouldn't this be fine? Doesn't the > compiler just compile 'esstype' as unresolved reference and then > resolves it during the the object file linking stage? Or am I missing > something here? I'm not a programmer... just play around as a > hobby(meaning self-taught as necessary), so if I'm clueless, please > enlighten!? > > And as far as I can tell, 'make' is doing the right thing... so what is > up with this? > > Any wisdom appreciated! Thanks. > D. > > > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com