From: "Nobin Mathew" Subject: Re: SALSA library in ARM platform Date: Mon, 25 Jun 2007 15:53:50 +0530 Message-ID: <8d6898730706250323sf9887b8jdef279e12dd322d@mail.gmail.com> References: <8d6898730706202228q39f7019bja07d158b672665f3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by alsa0.perex.cz (Postfix) with ESMTP id 57C28243B9 for ; Mon, 25 Jun 2007 12:23:52 +0200 (CEST) Received: by wa-out-1112.google.com with SMTP id m33so1754991wag for ; Mon, 25 Jun 2007 03:23:51 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel List-Id: alsa-devel@alsa-project.org it compiled perfectly for ARM Now I need to test in the board. On 6/21/07, Takashi Iwai 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 >