All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile error 2.5.27: [ad1848_lib.o] Error 1
@ 2002-07-22 21:30 Diego Calleja
  2002-07-22 23:00 ` Erlend Aasland
  2002-07-22 23:24 ` Jose Luis Domingo Lopez
  0 siblings, 2 replies; 4+ messages in thread
From: Diego Calleja @ 2002-07-22 21:30 UTC (permalink / raw)
  To: linux-kernel

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#


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

* Re: Compile error 2.5.27: [ad1848_lib.o] Error 1
  2002-07-22 21:30 Compile error 2.5.27: [ad1848_lib.o] Error 1 Diego Calleja
@ 2002-07-22 23:00 ` Erlend Aasland
  2002-07-22 23:15   ` Diego Calleja
  2002-07-22 23:24 ` Jose Luis Domingo Lopez
  1 sibling, 1 reply; 4+ messages in thread
From: Erlend Aasland @ 2002-07-22 23:00 UTC (permalink / raw)
  To: Diego Calleja; +Cc: lkml

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/

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

* Re: Compile error 2.5.27: [ad1848_lib.o] Error 1
  2002-07-22 23:00 ` Erlend Aasland
@ 2002-07-22 23:15   ` Diego Calleja
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Calleja @ 2002-07-22 23:15 UTC (permalink / raw)
  To: Erlend Aasland; +Cc: linux-kernel, fdavis

On Tue, 23 Jul 2002 01:00:30 +0200
Erlend Aasland <erlend-a@innova.no> escribió:

> Hi,
> 
> Does this patch make it compile?

Yes it does ;)


> 
> --- 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

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

* Re: Compile error 2.5.27: [ad1848_lib.o] Error 1
  2002-07-22 21:30 Compile error 2.5.27: [ad1848_lib.o] Error 1 Diego Calleja
  2002-07-22 23:00 ` Erlend Aasland
@ 2002-07-22 23:24 ` Jose Luis Domingo Lopez
  1 sibling, 0 replies; 4+ messages in thread
From: Jose Luis Domingo Lopez @ 2002-07-22 23:24 UTC (permalink / raw)
  To: linux-kernel

On Monday, 22 July 2002, at 23:30:21 +0200,
Diego Calleja wrote:

> 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#
> 
WORKAROUND/PATCH: see lkml "Subject: PATCH: 2.5.27 Fix dump non compile in ad1848 audio"

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)

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

end of thread, other threads:[~2002-07-22 23:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-22 21:30 Compile error 2.5.27: [ad1848_lib.o] Error 1 Diego Calleja
2002-07-22 23:00 ` Erlend Aasland
2002-07-22 23:15   ` Diego Calleja
2002-07-22 23:24 ` Jose Luis Domingo Lopez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.