Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

alsa-1.0.17 final is out

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


promac at gmail

Jul 18, 2008, 2:29 AM

Post #1 of 8 (2509 views)
Permalink
alsa-1.0.17 final is out

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.

--
Paulo Roma Cavalcanti
LCG - UFRJ


Axel.Thimm at ATrpms

Jul 19, 2008, 2:27 PM

Post #2 of 8 (2430 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

Hi,

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.
--
Axel.Thimm at ATrpms.net


promac at gmail

Jul 19, 2008, 4:44 PM

Post #3 of 8 (2434 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

On Sat, Jul 19, 2008 at 6:27 PM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> Hi,
>
> 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?

When I tried to compile alsa 1.0.17 for kernel 2.6.24,
I got a single error of strict_strtoul being undefined.
I think the problem is because I am using kernel headers from
kernel 2.6.25.

Anyway, I created a patch which declares this function
and I could create the rpm.

I am sending you the patch for you in case you had the same problem.


--
Paulo Roma Cavalcanti
LCG - UFRJ
Attachments: strict_strtoul.patch (0.48 KB)


promac at gmail

Jul 19, 2008, 5:40 PM

Post #4 of 8 (2435 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

On Sat, Jul 19, 2008 at 8:44 PM, Paulo Cavalcanti <promac [at] gmail> wrote:

>
>
> On Sat, Jul 19, 2008 at 6:27 PM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
>
>> Hi,
>>
>> 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?
>
> When I tried to compile alsa 1.0.17 for kernel 2.6.24,
> I got a single error of strict_strtoul being undefined.
> I think the problem is because I am using kernel headers from
> kernel 2.6.25.
>
> Anyway, I created a patch which declares this function
> and I could create the rpm.
>
> I am sending you the patch for you in case you had the same problem.
>
>
>
And the attached patch allowed me to compile alsa-1.0.17
for kernel 2.6.23.


--
Paulo Roma Cavalcanti
LCG - UFRJ
Attachments: strict_strtoul.patch (0.57 KB)


promac at gmail

Jul 20, 2008, 3:57 AM

Post #5 of 8 (2431 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

On Sat, Jul 19, 2008 at 9:40 PM, Paulo Cavalcanti <promac [at] gmail> wrote:

>
>
> On Sat, Jul 19, 2008 at 8:44 PM, Paulo Cavalcanti <promac [at] gmail>
> wrote:
>
>>
>>
>> On Sat, Jul 19, 2008 at 6:27 PM, Axel Thimm <Axel.Thimm [at] atrpms>
>> wrote:
>>
>>> Hi,
>>>
>>> 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?
>>
>> When I tried to compile alsa 1.0.17 for kernel 2.6.24,
>> I got a single error of strict_strtoul being undefined.
>> I think the problem is because I am using kernel headers from
>> kernel 2.6.25.
>>
>> Anyway, I created a patch which declares this function
>> and I could create the rpm.
>>
>> I am sending you the patch for you in case you had the same problem.
>>
>>
>>
> And the attached patch allowed me to compile alsa-1.0.17
> for kernel 2.6.23.
>
>
>

For rhel5 we need this last patch plus another one, for not defining
power of two.


http://people.atrpms.net/~pcavalcanti/srpms/alsa-driver-1.0.17-69.fc8.src.rpm

Should be built for rhel5 USING:

--with old_kernel_hack

I compiled it for the kernel below, with no problem at all
(I do jnot know if it is the latest kernel):

alsa-kmdl-2.6.18-92.1.6.el5-1.0.17-69.el5.i686.rpm


rhel4 is a lost case ....

--
Paulo Roma Cavalcanti
LCG - UFRJ


Axel.Thimm at ATrpms

Jul 20, 2008, 7:53 AM

Post #6 of 8 (2429 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

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> 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)

--
Axel.Thimm at ATrpms.net


promac at gmail

Jul 20, 2008, 9:29 AM

Post #7 of 8 (2457 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

On Sun, Jul 20, 2008 at 11:53 AM, Axel Thimm <Axel.Thimm [at] atrpms> 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>
> 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


Axel.Thimm at ATrpms

Jul 20, 2008, 11:13 AM

Post #8 of 8 (2440 views)
Permalink
Re: alsa-1.0.17 final is out [In reply to]

Hi Paulo,

On Sun, Jul 20, 2008 at 01:29:59PM -0300, Paulo Cavalcanti wrote:
> On Sun, Jul 20, 2008 at 11:53 AM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
> > 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>
> > > What error did you get for EL5?
> >
> > The error is with is_power_of_2

> It is fixed. Please, just use the .src.rpm I upload.

Sorry, I had written this mail, had to go to lunch and then pressed
send before checking for new ones, so I hadn'r read about your fixes,
yet!

Thanks for fixing it, the builds go through smoothly, but alsa builds
take a lot of time. Some may already have surfaced on dl.atrpms.net.
--
Axel.Thimm at ATrpms.net

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.