public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.3-pre1 emu10k1
@ 2002-01-17 10:32 Mathias Wiklander
  2002-01-18 17:53 ` Quinn Harris
  0 siblings, 1 reply; 2+ messages in thread
From: Mathias Wiklander @ 2002-01-17 10:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: eastbay

When I try to compile emu10k1 as a module i get this error.

gcc -D__KERNEL__ -I/usr/src/v2.5.2/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-
strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DEMU10K1_SEQUENCER  -c -o audio.o a
udio.c
audio.c: In function \x05mu10k1_audio_open':
audio.c:1101: invalid operands to binary &
make[3]: *** [audio.o] Error 1
make[3]: Leaving directory /usr/src/v2.5.2/linux/drivers/sound/emu10k1'

/Eastbay

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

* Re: 2.5.3-pre1 emu10k1
  2002-01-17 10:32 2.5.3-pre1 emu10k1 Mathias Wiklander
@ 2002-01-18 17:53 ` Quinn Harris
  0 siblings, 0 replies; 2+ messages in thread
From: Quinn Harris @ 2002-01-18 17:53 UTC (permalink / raw)
  To: linux-kernel

Change the MINOR(...) to minor(&...) on that line.  There might be a few
more like that.

This worked for the cvs emu10k1 audigy branch for me.

The 2.5.x kernels are working toward a better way of managing device
identifiers.  kdev_t is now a structure not a short.  MINOR(x) is a
macro that wants a short, just like its always been.  But minor(x) is an
inlined function that wants a pointer to the new kdev_t struct and
returns a char representing the device minor number.  I expect MINOR
will be depreciated.

Quinn Harris

On Thu, 2002-01-17 at 03:32, Mathias Wiklander wrote:
> When I try to compile emu10k1 as a module i get this error.
> 
> gcc -D__KERNEL__ -I/usr/src/v2.5.2/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-
> strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
> -DMODULE -DEMU10K1_SEQUENCER  -c -o audio.o a
> udio.c
> audio.c: In function \x05mu10k1_audio_open':
> audio.c:1101: invalid operands to binary &
> make[3]: *** [audio.o] Error 1
> make[3]: Leaving directory /usr/src/v2.5.2/linux/drivers/sound/emu10k1'
> 
> /Eastbay
> -
> 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] 2+ messages in thread

end of thread, other threads:[~2002-01-18 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-17 10:32 2.5.3-pre1 emu10k1 Mathias Wiklander
2002-01-18 17:53 ` Quinn Harris

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