Re: [linux-audio-user] Fedora and ALSA drivers.

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] Fedora and ALSA drivers.
From: Richard (hebertrich_AT_earthlink.net)
Date: Mon Oct 20 2003 - 20:07:46 EEST


snip
>
> What gcc are you using? What error messages are you getting when you
> compile? I would say try a different version of gcc. Most distros let
> you have more than one version installed. I compiled mine with gcc 2.95.
>
> Jeremiah

This only 2 examples.

gcc-3.3.1-6
kernel-2.4.22-1.2097.nptl
kernel-source to match

gcc -D__KERNEL__ -DMODULE=1 -I/home/ric/alsa-driver-0.9.7c/include -I/lib/modules/2.4.22-1.2097.nptl/build/include -O2 -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c
In file included from /home/ric/alsa-driver-0.9.7c/include/sound/driver.h:42,
                 from hwdep.c:22:
/home/ric/alsa-driver-0.9.7c/include/adriver.h:134: error: redefinition of `PDE'/lib/modules/2.4.22-1.2097.nptl/build/include/linux/proc_fs.h:17: error: `PDE' previously defined here
make[1]: *** [hwdep.o] Error 1
make[1]: Leaving directory `/home/ric/alsa-driver-0.9.7c/acore'

that's with 0.9.7c now with an other ..

 gcc -D__KERNEL__ -DMODULE=1 -I/home/ric/alsa-driver-0.9.6/include -I/lib/modules/2.4.22-1.2097.nptl/build/include -O2 -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c
In file included from /home/ric/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from hwdep.c:22:
/home/ric/alsa-driver-0.9.6/include/adriver.h:200: error: redefinition of `irqreturn_t'
/lib/modules/2.4.22-1.2097.nptl/build/include/linux/interrupt.h:16: error: `irqreturn_t' previously declared here

that's with 0.9.6 -_-
about the same for 0.9.7 0.9.7a and b

At some point i been told that the drivers needed be fixed to compile in
fedora.so. well if you can make out something out of this.. ill appreciate

Thanks :)

Richard
 

>
>
> >
> > Anyone on the list succeeded with building the drivers on Fedora ?
> >
> > Thanks :)
> >
> >
> > Richard


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Oct 20 2003 - 20:09:36 EEST