Linux Sound subsystem development
 help / color / mirror / Atom feed
* Problem compiling 2.3.48
@ 2000-02-27 22:04 Dave Caswell
  2000-02-29  9:09 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Caswell @ 2000-02-27 22:04 UTC (permalink / raw)
  To: linux-sound


I get this compile error when trying to compile sound (OPL3-SA2) into
the kernel.

make[3]: Entering directory `/usr/src/linux/drivers/sound'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce  -DCPUX6   -DCONFIG_SOUND_AD1848 -DCONFIG_SOUND_MPU_EMU -DCONFIG_SOUND_UART401  -DEXPORT_SYMTAB -c ad1848.c
ad1848.c: In function `ad1848_prepare_for_output':
ad1848.c:1132: `timer_installed' undeclared (first use this function)
ad1848.c:1132: (Each undeclared identifier is reported only once
ad1848.c:1132: for each function it appears in.)
ad1848.c: In function `ad1848_prepare_for_input':
ad1848.c:1246: `timer_installed' undeclared (first use this function)
ad1848.c: In function `adintr':
ad1848.c:2147: `timer_installed' undeclared (first use this function)
ad1848.c: In function `ad1848_tmr_install':
ad1848.c:2685: `timer_installed' undeclared (first use this function)
make[3]: *** [ad1848.o] Error 1

The missing timer_installed variable is wrapped in #ifdef MODULE in
the ad1848.c file.   

#ifdef MODULE

static int timer_installed = -1;

#endif

Thanks,
	Dave Caswell
	davec@apocalypse.org

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

* Re: Problem compiling 2.3.48
  2000-02-27 22:04 Problem compiling 2.3.48 Dave Caswell
@ 2000-02-29  9:09 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2000-02-29  9:09 UTC (permalink / raw)
  To: linux-sound

This is a because of my code-cleanups ...

Replace

#ifdef MODULE

static int timer_installed = -1;

#endif

with

#ifndef EXLUDE_TIMERS

static int timer_installed = -1;

#endif

This will be cleared in my next patch

Christoph


-- 
Always remember that you are unique.  Just like everyone else.

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

end of thread, other threads:[~2000-02-29  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-27 22:04 Problem compiling 2.3.48 Dave Caswell
2000-02-29  9:09 ` Christoph Hellwig

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