From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30593 invoked from network); 26 Jan 1999 09:05:45 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Jan 1999 09:05:45 -0000 Received: from hotmail.com (f212.hotmail.com [207.82.251.103]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id DAA29129 for ; Tue, 26 Jan 1999 03:37:35 -0500 Received: (qmail 18437 invoked by uid 0); 26 Jan 1999 08:37:03 -0000 Message-ID: <19990126083703.18436.qmail@hotmail.com> Received: from 24.0.139.66 by www.hotmail.com with HTTP; Tue, 26 Jan 1999 00:37:03 PST X-Originating-IP: [24.0.139.66] From: "Designer 7" To: axp-list@redhat.com Subject: Re: Fix: Re: (me too) Re: trying 2.2.0 release... but my compiler is weird.. or I'm really stupid. Date: Tue, 26 Jan 1999 00:37:03 PST Mime-Version: 1.0 Content-Type: text/plain >In driver/sound/sb_ess.c, change the "extern int esstype" to "int esstype" >and it should make ok, I have been told. Hmmm... that is odd... can someone explain why this would be true or even if it works? Without the extern, will the esstype in sb_ess.c be able to get the esstype in sb_card.c?? > >Otherwise, try compiling as modules - that works fine for me. Would this hint at the compiler/linker looking for esstype in something else in the kernel linking stage other than sb_card.o where it should be looking for esstype? This is just odd... I don't understand... D. >On Tue, 26 Jan 1999, Matt Wagner wrote: >> On Mon, 25 Jan 1999, Designer 7 wrote: >> > >> > 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 >> > >> > >> > 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 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com