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