[alsa-devel] alsa-driver cross compile problem - upgrading ALSA

Rajeev kumar rajeev-dlh.kumar at st.com
Mon Jul 2 10:03:34 CEST 2012


On 7/2/2012 1:28 PM, Max Klein wrote:
> What do you mean exactly? Am I missing any option? The other way around
> would be to try integrating a newer ALSA driver version into my kernel
> source (therefore updating the integrated ALSA driver before building
> the kernel and afterwards directly build the Kernel with updated ALSA
> version)?
>

Avoid Top posting

~Rajeev

>> Better you compile with kernel
>>
>>
>> Thanks
>>
>> Yuvi R
>>
>> On Fri, Jun 29, 2012 at 9:02 PM, Max Klein<mein_name at ist-einmalig.de>wrote:
>>
>>> I am running 2.6.27 kernel on arm board with ALSA driver version 1.0.17
>>> (cat /proc/asound/version) and I would like to update ALSA driver version
>>> to current 1.0.25.
>>>
>>> I am trying to build alsa-drivers with "./configure
>>> --with-cross=arm-none-linux-gnueabi- --enable-dynamic-minors
>>> --with-debug=full --with-isapnp=no --with-oss=no
>>> --with-kernel=/data/src/kernel/linux-davinci
>>> --with-build=/data/src/kernel/linux-davinci --with-sequencer=no"
>>>
>>> Afterwards I compile it via "make ARCH=arm" but this fails we the
>>> following error:
>>>
>>> In file included from
>>> /data/VRM/davinci33/alsa-1.0.25/alsa-driver-1.0.25/acore/hrtimer.c:1:
>>> /data/VRM/davinci33/alsa-1.0.25/alsa-driver-1.0.25/include/adriver.h:753:
>>> error: static declaration of 'jiffies_to_msecs' follows non-static
>>> declaration
>>> include/linux/jiffies.h:286: error: previous declaration of
>>> 'jiffies_to_msecs' was here
>>> /data/VRM/davinci33/alsa-1.0.25/alsa-driver-1.0.25/include/adriver.h:772:
>>> error: static declaration of 'msecs_to_jiffies' follows non-static
>>> declaration
>>> include/linux/jiffies.h:288: error: previous declaration of
>>> 'msecs_to_jiffies' was here
>>>
>>>
>>> Can someone please help me how to get ALSA upgraded on my platform?
>>> Obviously I am either doing something wrong when configuring or I am on the
>>> absolutely wrong way?
>>>
>>> I am looking forward for any advice, thanks in advance!
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> .
>



More information about the Alsa-devel mailing list