lkml.org 
[lkml]   [2000]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectProblem compiling 2.3.48
Date

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 -DCPU=586 -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.023 / U:6.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site