Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Fix: Re: (me too) Re: trying 2.2.0 release... but my compiler is weird.. or I'm really stupid.
  1999-01-26  7:53 Matt Wagner
@ 1999-01-26  8:21 ` Daniel Potts
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Potts @ 1999-01-26  8:21 UTC (permalink / raw)
  To: axp-list


In driver/sound/sb_ess.c, change the "extern int esstype" to "int esstype"
and it should make ok, I have been told.

Otherwise, try compiling as modules - that works fine for me.

Cheers,

Daniel

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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix: Re: (me too) Re: trying 2.2.0 release... but my compiler is weird.. or I'm really stupid.
@ 1999-01-26  8:37 Designer 7
  0 siblings, 0 replies; 2+ messages in thread
From: Designer 7 @ 1999-01-26  8:37 UTC (permalink / raw)
  To: axp-list

>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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-01-26  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-26  8:37 Fix: Re: (me too) Re: trying 2.2.0 release... but my compiler is weird.. or I'm really stupid Designer 7
  -- strict thread matches above, loose matches on Subject: below --
1999-01-26  7:53 Matt Wagner
1999-01-26  8:21 ` Fix: " Daniel Potts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox