Re: 2.1.77 sound compile problems

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 4 Jan 1998 12:57:47 +0000 (GMT)


> soundtimer.c
> -static void reprogram_timer(void)
> +void reprogram_timer(void)
>
> referenced by sys_timer.c

Try this..

--- os.h~ Sat Jan 3 18:33:10 1998
+++ os.h Sun Jan 4 13:38:27 1998
@@ -50,6 +50,8 @@
extern void sound_free_dma(int chn);
extern void sound_close_dma(int chn);

+extern void reporgram_timer(void);
+
#define RUNTIME_DMA_ALLOC
#define USE_AUTOINIT_DMA

--- sound_timer.c~ Sat Jan 3 15:14:59 1998
+++ sound_timer.c Sun Jan 4 13:36:30 1998
@@ -46,8 +46,7 @@
return (tmp + (scale / 2)) / scale;
}

-static void
-reprogram_timer(void)
+void reprogram_timer(void)
{
unsigned long usecs_per_tick;

> The Makefile still dont know that cs4232.c depends on ad1848.c

The makefile doesnt know a lot of things. Someone is working on that
however and when it is ready it will appear

Alan