public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 663] New: "make modules" causes an error in mwavedd.h.
@ 2003-05-05 16:37 Martin J. Bligh
  2003-05-05 17:37 ` Michael Buesch
  0 siblings, 1 reply; 3+ messages in thread
From: Martin J. Bligh @ 2003-05-05 16:37 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=663

           Summary: "make modules" causes an error in mwavedd.h.
    Kernel Version: 2.5.69
            Status: NEW
          Severity: blocking
             Owner: jgarzik@pobox.com
         Submitter: mdfairch@sfu.ca


Distribution:  Redhat 9
Hardware Environment:
Athlon 800 on a Gigabyte 7ZX
384 megs PC100 RAM
Ensoniq 1371 sound card
NV25 video card

Software Environment:
GCC gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Using Kernel 2.4.20-9
Problem Description:

Steps to reproduce:
1) Setup kernel 2.4.20-9 build environment.
2) execute "make oldconfig", using default options throughout.
3) execute "make bzImage"
4) execute "make modules"

Make produces the following error message:
  gcc -Wp,-MD,drivers/char/mwave/.smapi.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix
include -DMODULE -DMW_TRACE  -DKBUILD_BASENAME=smapi -DKBUILD_MODNAME=mwave
-c -o
drivers/char/mwave/.tmp_smapi.o drivers/char/mwave/smapi.c
In file included from drivers/char/mwave/smapi.c:53:
drivers/char/mwave/mwavedd.h:129: parse error before "wait_queue_head_t"
drivers/char/mwave/mwavedd.h:129: warning: no semicolon at end of struct or
union drivers/char/mwave/mwavedd.h:130: warning: type defaults to `int' in
declaration of `MWAVE_IPC'
drivers/char/mwave/mwavedd.h:130: warning: data definition has no type or
storage class
drivers/char/mwave/mwavedd.h:140: parse error before "MWAVE_IPC"
drivers/char/mwave/mwavedd.h:140: warning: no semicolon at end of struct or
union drivers/char/mwave/mwavedd.h:146: parse error before '}' token
drivers/char/mwave/mwavedd.h:146: warning: type defaults to `int' in
declaration of `MWAVE_DEVICE_DATA'
drivers/char/mwave/mwavedd.h:146: warning: type defaults to `int' in
declaration of `pMWAVE_DEVICE_DATA'
drivers/char/mwave/mwavedd.h:146: warning: data definition has no type or
storage class
make[3]: *** [drivers/char/mwave/smapi.o] Error 1

Incidentally, this is my first ever bug report regarding the Kernel -- I
have never built the kernel from a non-distribution supplied source.
Hopefully I haven't just bothered everyone!



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

* Re: [Bug 663] New: "make modules" causes an error in mwavedd.h.
  2003-05-05 16:37 [Bug 663] New: "make modules" causes an error in mwavedd.h Martin J. Bligh
@ 2003-05-05 17:37 ` Michael Buesch
  2003-05-05 18:19   ` Jochen Hein
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Buesch @ 2003-05-05 17:37 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux kernel mailing list, Linus Torvalds

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 05 May 2003 18:37, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=663
>
>            Summary: "make modules" causes an error in mwavedd.h.
>     Kernel Version: 2.5.69
>             Status: NEW
>           Severity: blocking
>              Owner: jgarzik@pobox.com
>          Submitter: mdfairch@sfu.ca
>
>
> Distribution:  Redhat 9
> Hardware Environment:
> Athlon 800 on a Gigabyte 7ZX
> 384 megs PC100 RAM
> Ensoniq 1371 sound card
> NV25 video card
>
> Software Environment:
> GCC gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
> Using Kernel 2.4.20-9
> Problem Description:
>
> Steps to reproduce:
> 1) Setup kernel 2.4.20-9 build environment.
> 2) execute "make oldconfig", using default options throughout.
> 3) execute "make bzImage"
> 4) execute "make modules"
>
> Make produces the following error message:
>   gcc -Wp,-MD,drivers/char/mwave/.smapi.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon
> -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix
> include -DMODULE -DMW_TRACE  -DKBUILD_BASENAME=smapi -DKBUILD_MODNAME=mwave
> -c -o
> drivers/char/mwave/.tmp_smapi.o drivers/char/mwave/smapi.c
> In file included from drivers/char/mwave/smapi.c:53:
> drivers/char/mwave/mwavedd.h:129: parse error before "wait_queue_head_t"
> drivers/char/mwave/mwavedd.h:129: warning: no semicolon at end of struct or
> union drivers/char/mwave/mwavedd.h:130: warning: type defaults to `int' in
> declaration of `MWAVE_IPC'
> drivers/char/mwave/mwavedd.h:130: warning: data definition has no type or
> storage class
> drivers/char/mwave/mwavedd.h:140: parse error before "MWAVE_IPC"
> drivers/char/mwave/mwavedd.h:140: warning: no semicolon at end of struct or
> union drivers/char/mwave/mwavedd.h:146: parse error before '}' token
> drivers/char/mwave/mwavedd.h:146: warning: type defaults to `int' in
> declaration of `MWAVE_DEVICE_DATA'
> drivers/char/mwave/mwavedd.h:146: warning: type defaults to `int' in
> declaration of `pMWAVE_DEVICE_DATA'
> drivers/char/mwave/mwavedd.h:146: warning: data definition has no type or
> storage class
> make[3]: *** [drivers/char/mwave/smapi.o] Error 1
>
> Incidentally, this is my first ever bug report regarding the Kernel -- I
> have never built the kernel from a non-distribution supplied source.
> Hopefully I haven't just bothered everyone!


This patch fixes it:

diff -urN -X /home/mb/dontdiff linux-2.5.69.vanilla/drivers/char/mwave/mwavedd.h linux-2.5.69/drivers/char/mwave/mwavedd.h
- --- linux-2.5.69.vanilla/drivers/char/mwave/mwavedd.h	2003-05-05 17:15:47.000000000 +0200
+++ linux-2.5.69/drivers/char/mwave/mwavedd.h	2003-05-05 19:27:49.000000000 +0200
@@ -53,6 +53,7 @@
 #include "mwavepub.h"
 #include <linux/ioctl.h>
 #include <asm/uaccess.h>
+#include <linux/wait.h>

 extern int mwave_debug;
 extern int mwave_3780i_irq;


- -- 
Regards Michael Büsch
http://www.8ung.at/tuxsoft
 19:33:37 up  1:58,  2 users,  load average: 1.64, 1.60, 1.33
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+tqGEoxoigfggmSgRAsyHAJ4q37rhnHeyuAzP/acBEZ2r0Re2iQCgiOld
78xhgHS0l6bs3BJa3qpdt3Y=
=GwlX
-----END PGP SIGNATURE-----


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

* Re: [Bug 663] New: "make modules" causes an error in mwavedd.h.
  2003-05-05 17:37 ` Michael Buesch
@ 2003-05-05 18:19   ` Jochen Hein
  0 siblings, 0 replies; 3+ messages in thread
From: Jochen Hein @ 2003-05-05 18:19 UTC (permalink / raw)
  To: Michael Buesch; +Cc: Martin J. Bligh, linux kernel mailing list, Linus Torvalds

Michael Buesch <fsdeveloper@yahoo.de> writes:

>> http://bugme.osdl.org/show_bug.cgi?id=663
>>
>>            Summary: "make modules" causes an error in mwavedd.h.
>>     Kernel Version: 2.5.69

> This patch fixes it:

Care to look at http://bugzilla.kernel.org/show_bug.cgi?id=185 too?
It would be nice to have a usable mwave for 2.6.

Jochen

-- 
#include <~/.signature>: permission denied

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

end of thread, other threads:[~2003-05-05 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-05 16:37 [Bug 663] New: "make modules" causes an error in mwavedd.h Martin J. Bligh
2003-05-05 17:37 ` Michael Buesch
2003-05-05 18:19   ` Jochen Hein

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