All of lore.kernel.org
 help / color / mirror / Atom feed
* RC5 driver make fail (usbaudio.c)
@ 2002-10-24 14:01 Phil Kerr
  2002-10-24 14:24 ` Matthias Saou
  2002-10-24 15:44 ` Clemens Ladisch
  0 siblings, 2 replies; 4+ messages in thread
From: Phil Kerr @ 2002-10-24 14:01 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Takashi,

Attached is the configure and make dump of alsa-drivers-rc5 (webserver 
timestamp 10/24/2002  02:47:00 PM).

100% stock RH 8.0 installed an hour before with a es1371 card.

It's failed at:

In file included from usbaudio.c:2:
../alsa-kernel/usb/usbaudio.c: In function `snd_usb_roland_ua100_hack':
../alsa-kernel/usb/usbaudio.c:1938: initializer element is not constant
../alsa-kernel/usb/usbaudio.c:1938: (near initialization for 
`midi_quirk.data')
make[1]: *** [usbaudio.o] Error 1
make[1]: Leaving directory `/home/phil/installs/alsa-driver-0.9.0rc5/usb'
make: *** [compile] Error 1


Regards,
Phil

[-- Attachment #2: alsa-driver-rc5-errors.txt.bz2 --]
[-- Type: application/x-bzip2, Size: 7752 bytes --]

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

* Re: RC5 driver make fail (usbaudio.c)
  2002-10-24 14:01 RC5 driver make fail (usbaudio.c) Phil Kerr
@ 2002-10-24 14:24 ` Matthias Saou
  2002-10-24 15:44 ` Clemens Ladisch
  1 sibling, 0 replies; 4+ messages in thread
From: Matthias Saou @ 2002-10-24 14:24 UTC (permalink / raw)
  To: alsa-devel

Once upon a time, Phil wrote :

> 100% stock RH 8.0 installed an hour before with a es1371 card.
> 
> It's failed at:
> 
> In file included from usbaudio.c:2:
> ../alsa-kernel/usb/usbaudio.c: In function `snd_usb_roland_ua100_hack':
> ../alsa-kernel/usb/usbaudio.c:1938: initializer element is not constant
> ../alsa-kernel/usb/usbaudio.c:1938: (near initialization for 
> `midi_quirk.data')
> make[1]: *** [usbaudio.o] Error 1
> make[1]: Leaving directory `/home/phil/installs/alsa-driver-0.9.0rc5/usb'
> make: *** [compile] Error 1

Strange, I've had no problems whatsoever on a fully updated vanilla Red Hat
Linux 8.0 system (kernel 2.4.18-17.8.0), compiling all drivers just like
you did.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 7.3 (Valhalla) running Linux kernel 2.4.18-10acpi
Load : 0.09 0.14 0.21


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote

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

* Re: RC5 driver make fail (usbaudio.c)
  2002-10-24 14:01 RC5 driver make fail (usbaudio.c) Phil Kerr
  2002-10-24 14:24 ` Matthias Saou
@ 2002-10-24 15:44 ` Clemens Ladisch
  2002-10-24 15:56   ` Takashi Iwai
  1 sibling, 1 reply; 4+ messages in thread
From: Clemens Ladisch @ 2002-10-24 15:44 UTC (permalink / raw)
  To: Phil Kerr; +Cc: alsa-devel

Phil Kerr wrote:
> Attached is the configure and make dump of alsa-drivers-rc5 (webserver
> timestamp 10/24/2002  02:47:00 PM).
>
> 100% stock RH 8.0 installed an hour before with a es1371 card.
>
> ../alsa-kernel/usb/usbaudio.c: In function `snd_usb_roland_ua100_hack':
> ../alsa-kernel/usb/usbaudio.c:1938: initializer element is not constant
> ../alsa-kernel/usb/usbaudio.c:1938: (near initialization for `midi_quirk.data')

What is your compiler version?
That code is valid C99 (I think :) and compiles with my gcc 2.95.3.


Clemens



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote

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

* Re: RC5 driver make fail (usbaudio.c)
  2002-10-24 15:44 ` Clemens Ladisch
@ 2002-10-24 15:56   ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2002-10-24 15:56 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Phil Kerr, alsa-devel

At Thu, 24 Oct 2002 17:44:17 +0200 (METDST),
Clemens Ladisch wrote:
> 
> Phil Kerr wrote:
> > Attached is the configure and make dump of alsa-drivers-rc5 (webserver
> > timestamp 10/24/2002  02:47:00 PM).
> >
> > 100% stock RH 8.0 installed an hour before with a es1371 card.
> >
> > ../alsa-kernel/usb/usbaudio.c: In function `snd_usb_roland_ua100_hack':
> > ../alsa-kernel/usb/usbaudio.c:1938: initializer element is not constant
> > ../alsa-kernel/usb/usbaudio.c:1938: (near initialization for `midi_quirk.data')
> 
> What is your compiler version?
> That code is valid C99 (I think :) and compiles with my gcc 2.95.3.

i couldn't compile it, too (using gcc-3.2).
apparently the initialization of data field failed.

this was already fixed on cvs, but surely there is a cleaner
solution.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote

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

end of thread, other threads:[~2002-10-24 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24 14:01 RC5 driver make fail (usbaudio.c) Phil Kerr
2002-10-24 14:24 ` Matthias Saou
2002-10-24 15:44 ` Clemens Ladisch
2002-10-24 15:56   ` Takashi Iwai

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.