[alsa-devel] SALSA library in ARM platform

Takashi Iwai tiwai at suse.de
Mon Jun 25 12:24:55 CEST 2007


At Mon, 25 Jun 2007 15:53:50 +0530,
Nobin Mathew wrote:
> 
> it compiled perfectly for ARM

Good to hear.  I fixed the libtool option to use -version-info instead
of -version-number, and added a note in README.  Now released version
0.0.2.


thanks,

Takashi

> Now I need to test in the board.
> 
> On 6/21/07, Takashi Iwai <tiwai at suse.de> wrote:
> > At Thu, 21 Jun 2007 10:58:30 +0530,
> > Nobin Mathew wrote:
> > >
> > > Hi,
> > >  I tried compiling SALSA for ARM. I got few errors.
> > >
> > > CC=arm-none-linux-gnueabi-gcc ./configure --target=arm-linux
> > > --host=i386 --prefix=/usr
> >
> > You need to pass --host=i386-linux.  Otherwise configure doesn't set
> > the right $host_os.
> >
> >
> > > make
> > >
> > > Then I am getting following errors See the bottom part
> > >
> > >
> > > /bin/bash ../libtool --tag=CC   --mode=compile
> > > arm-none-linux-gnueabi-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> > > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> > > -DPACKAGE=\"salsa-lib\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1
> > > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> > > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> > > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> > > -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -I.    -Wall -g -g -O2 -MT mixer.lo
> > > -MD -MP -MF .deps/mixer.Tpo -c -o mixer.lo mixer.c
> > >  arm-none-linux-gnueabi-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> > > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> > > -DPACKAGE=\"salsa-lib\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1
> > > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> > > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> > > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> > > -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -I. -Wall -g -g -O2 -MT mixer.lo -MD
> > > -MP -MF .deps/mixer.Tpo -c mixer.c -o mixer.o
> > > In file included from hcontrol.h:36,
> > >                  from mixer.h:25,
> > >                  from mixer.c:30:
> > > hctl_macros.h: In function 'snd_hctl_elem_tlv_read':
> > > hctl_macros.h:136: warning: 'snd_ctl_elem_tlv_read' is deprecated
> > > (declared at ctl_macros.h:1131)
> > > hctl_macros.h: In function 'snd_hctl_elem_tlv_write':
> > > hctl_macros.h:142: warning: 'snd_ctl_elem_tlv_write' is deprecated
> > > (declared at ctl_macros.h:1138)
> > > hctl_macros.h: In function 'snd_hctl_elem_tlv_command':
> > > hctl_macros.h:148: warning: 'snd_ctl_elem_tlv_command' is deprecated
> > > (declared at ctl_macros.h:1145)
> >
> > These warnings are intentional (as you didn't enable the dB support).
> >
> > > mv -f .deps/mixer.Tpo .deps/mixer.Plo
> > > /bin/bash ../libtool --tag=CC   --mode=link arm-none-linux-gnueabi-gcc
> > > -Wall -g -g -O2 -version-number 0:0:1  -o libsalsa.la -rpath /usr/lib
> > > control.lo cards.lo pcm.lo pcm_params.lo pcm_misc.lo hcontrol.lo
> > > mixer.lo
> > > mkdir .libs
> > > libtool: link: CURRENT `' must be a nonnegative integer
> > > libtool: link: `0:0:1' is not valid version information
> >
> > This should be fixed via --host=i386-linux.
> > It's good to add --enable-libasound and replace libasound.so.2, too.
> >
> >
> > Takashi
> >
> 


More information about the Alsa-devel mailing list