Skip Menu |

This queue is for tickets about the Audio CPAN distribution.

Report information
The Basics
Id: 5384
Status: resolved
Priority: 0/
Queue: Audio

People
Owner: Nobody in particular
Requestors: rcook [...] eisd.net
rcook [...] wyrms.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.028
Fixed in: 1.029



Subject: Audio fails make on snd_pcm_hw_params_get_buffer_size
I am using ALSA in the 2.6.x kernels. /usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap -typemap ../../Data/typemap linux.xs > linux.xsc && mv linux.xsc linux.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"1.028\" -DXS_VERSION=\"1.028\" -fpic "-I/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE" -DHAVE_ALSA_ASOUNDLIB_H linux.c linux.xs: In function `audio_prepare': linux.xs:75: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast linux.xs:97: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size' linux.xs: In function `audio_rate': linux.xs:211: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast make[3]: *** [linux.o] Error 1 make[3]: Leaving directory `/usr/src/Audio-1.028/Play/linux' make[2]: *** [subdirs] Error 2 make[2]: Leaving directory `/usr/src/Audio-1.028/Play' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/usr/src/Audio-1.028'
Subject: Re: [cpan #5384] Audio fails make on snd_pcm_hw_params_get_buffer_size
To: bug-Audio [...] rt.cpan.org
Date: Fri, 20 Feb 2004 10:29:30 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Audio@rt.cpan.org> writes: Show quoted text
>This message about Audio was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=5384 > > >I am using ALSA in the 2.6.x kernels.
Ah, it wasn't clear in my SuSE9.0 version of .h file which of two APIs was the new one and which was the backward compatible one. Seems I guessed wrong. Maybe a configure test would be in order so it works on new stuff and old stuff. There are some other bugs so should do a new release. Show quoted text
> >/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap -typemap ../../Data/typemap linux.xs > linux.xsc && mv linux.xsc linux.c >cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"1.028\" -DXS_VERSION=\"1.028\" -fpic "-I/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE" -DHAVE_ALSA_ASOUNDLIB_H linux.c >linux.xs: In function `audio_prepare': >linux.xs:75: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast >linux.xs:97: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size' >linux.xs: In function `audio_rate': >linux.xs:211: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast >make[3]: *** [linux.o] Error 1 >make[3]: Leaving directory `/usr/src/Audio-1.028/Play/linux' >make[2]: *** [subdirs] Error 2 >make[2]: Leaving directory `/usr/src/Audio-1.028/Play' >make[1]: *** [subdirs] Error 2 >make[1]: Leaving directory `/usr/src/Audio-1.028'
I believe this is fixed in 1.029