
promac at gmail
Jul 20, 2008, 9:29 AM
Post #7 of 8
(1721 views)
Permalink
|
On Sun, Jul 20, 2008 at 11:53 AM, Axel Thimm <Axel.Thimm[at]atrpms.net> wrote: > Hi, > > On Sat, Jul 19, 2008 at 08:44:53PM -0300, Paulo Cavalcanti wrote: > > On Sat, Jul 19, 2008 at 6:27 PM, Axel Thimm <Axel.Thimm[at]atrpms.net> > wrote: > > > On Fri, Jul 18, 2008 at 06:29:14AM -0300, Paulo Cavalcanti wrote: > > > > http://www.alsa-project.org/main/index.php/Main_Page > > > > > > > > alsa driver only compiled for me with kernel 2.6.25. > > > > > > > > Older kernels (2.6.24 and 2.6.23) have some compilation errors. > > > > > > > > I compiled the whole suite, and it fixed the problem of a great > > > > amount of noise when playing midi files using intel onboard sound > cards. > > > > > > thanks, builds OK for F9/F8, but for EL5 it fails, although EL%5 did > > > build properly with 17rc3 (?). EL4/EL3 were failing on 1.0.16 already, > > > so they stay at 1.0.15. > > > > What error did you get for EL5? > > The error is with is_power_of_2 > > CC [M] /builddir/BUILD/alsa-driver-1.0.17/acore/rtctimer.o > /builddir/BUILD/alsa-driver-1.0.17/acore/rtctimer.c:4: error: redefinition > of 'is_power_of_2' > /builddir/BUILD/alsa-driver-1.0.17/include/adriver.h:1424: error: previous > definition of 'is_power_of_2' was here > make[3]: *** [/builddir/BUILD/alsa-driver-1.0.17/acore/rtctimer.o] Error 1 > make[2]: *** [/builddir/BUILD/alsa-driver-1.0.17/acore] Error 2 > make[1]: *** [_module_/builddir/BUILD/alsa-driver-1.0.17] Error 2 > make[1]: Leaving directory `/srv/ > atrpms.net/atrpms/kernelsrc/el5-x86_64/2.6.18-8.el5-x86_64' > make: *** [compile] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.58303 (%build) > > It is fixed. Please, just use the .src.rpm I upload. There are two patches. One is for the power of two and the other declares two missing prototypes for older kernels. I also removed the bcond. I test the kernel version now. It compiled fine for kernels 2.6.18, 2.6.23, 2.6.24, and 2.6.25. -- Paulo Roma Cavalcanti LCG - UFRJ
|