Skip to contentSkip to conversation

alsa-driver cross compile problem - upgrading ALSA

DISCUSSION Max Klein 3 participants 4 messages Jun 29, 2012 – Jul 2, 2012

lore
Share & tools
lore

Max Klein

author
#0 lore raw

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!

Signature · 2 lines
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
#1 lore raw

Hi,

Better you compile with kernel

Thanks

Yuvi R

Quoted 40 lines · Max Klein

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!
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

author
#2 lore raw

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

Quoted 41 lines

Better you compile with kernel

Thanks

Yuvi R

Quoted 32 lines · Max Klein

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!

#3 lore raw
Quoted 6 lines · Max Klein

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

Quoted 48 lines
Quoted 41 lines

Better you compile with kernel

Thanks

Yuvi R

Quoted 32 lines · Max Klein

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
.