lkml.org 
[lkml]   [2002]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Compile error 2.5.27: [ad1848_lib.o] Error 1
Hi,

Does this patch make it compile?

--- clean/sound/isa/ad1848/ad1848_lib.c 2002-07-06 01:42:22.000000000 +0200
+++ dirty/sound/isa/ad1848/ad1848_lib.c 2002-07-10 04:50:20.000000000 +0200
@@ -24,6 +24,7 @@
#include <asm/io.h>
#include <asm/dma.h>
#include <linux/delay.h>
+#include <linux/init.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <sound/core.h>

Regards,
Erlend Aasland

On Mon, Jul 22, 2002 at 11:30:21PM +0200, Diego Calleja wrote:
> make[2]: Entering directory `/usr/src/unstable/sound/isa'
> make[3]: Entering directory `/usr/src/unstable/sound/isa/ad1816a'
> make[3]: Leaving directory `/usr/src/unstable/sound/isa/ad1816a'
> make[3]: Entering directory `/usr/src/unstable/sound/isa/ad1848'
> gcc -Wp,-MD,./.ad1848_lib.o.d -D__KERNEL__ -I/usr/src/unstable/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i586 -nostdinc -iwithprefix include -DMODULE
> -DKBUILD_BASENAME=ad1848_lib -DEXPORT_SYMTAB -c -o ad1848_lib.o
> ad1848_lib.c ad1848_lib.c:1171: parse error before `alsa_ad1848_init'
> ad1848_lib.c:1172: warning: return-type defaults to `int'
> ad1848_lib.c:1176: parse error before `alsa_ad1848_exit'
> ad1848_lib.c:1177: warning: return-type defaults to `int'
> ad1848_lib.c: In function `alsa_ad1848_exit':
> ad1848_lib.c:1178: warning: control reaches end of non-void function
> ad1848_lib.c: At top level:
> ad1848_lib.c:1181: parse error before `module_exit'
> ad1848_lib.c:1182: parse error at end of input
> make[3]: *** [ad1848_lib.o] Error 1
> make[3]: Leaving directory `/usr/src/unstable/sound/isa/ad1848'
> make[2]: *** [ad1848] Error 2
> make[2]: Leaving directory `/usr/src/unstable/sound/isa'
> make[1]: *** [isa] Error 2
> make[1]: Leaving directory `/usr/src/unstable/sound'
> make: *** [sound] Error 2
> root@diego:/usr/src/unstable#
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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