how to compile alsa into toolchain

Jozef Mlich xmlich02 at stud.fit.vutbr.cz
Mon Aug 11 13:22:40 CEST 2008


Hello,

i have prepared toolchain according to
http://andreasdalsgaard.blogspot.com/2008/07/openmoko-development-in-5-minutes.html .

Can anyone write me how to compile alsa to toolchain.

I've tried to do it myself, but i probably do somethink incorrectly:

(1) wget http://downloads.openmoko.org/sources/alsa-lib-1.0.13.tar.bz2
(2) . /usr/local/openmoko/setup_env
(3) ./configure --host=arm-angstrom-linux-gnueabi
--prefix=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr 
(3) make
(4) sudo make install

the problem is in step 4. I receive following error:

libtool: install: error: relink `smixer-ac97.la' with the above command
before installing it
 /bin/bash ../../../libtool --mode=install /usr/bin/install -c
'smixer-hda.la'
'/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/alsa-lib/smixer/smixer-hda.la'
libtool: install: warning: relinking `smixer-hda.la'
(cd /home/xmlich02/workspace/openmoko/alsa-lib-1.0.13/modules/mixer/simple; /bin/bash ../../../libtool  --tag=CC --mode=relink ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -g -O2 -W -Wall -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1 -o smixer-hda.la -rpath /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/alsa-lib/smixer -module -avoid-version hda.lo sbasedl.lo ../../../src/libasound.la )
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-shared  .libs/hda.o .libs/sbasedl.o  -Wl,--rpath
-Wl,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib
-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib -lasound
-march=armv4t -mtune=arm920t -Wl,-rpath-link
-Wl,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1
-Wl,-soname -Wl,smixer-hda.so -o .libs/smixer-hda.so
arm-angstrom-linux-gnueabi-gcc: No such file or directory
libtool: install: error: relink `smixer-hda.la' with the above command
before installing it
make[4]: *** [install-pkglibLTLIBRARIES] Error 1
make[4]: Leaving directory
`/home/xmlich02/workspace/openmoko/alsa-lib-1.0.13/modules/mixer/simple'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/xmlich02/workspace/openmoko/alsa-lib-1.0.13/modules/mixer/simple'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/xmlich02/workspace/openmoko/alsa-lib-1.0.13/modules/mixer'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/xmlich02/workspace/openmoko/alsa-lib-1.0.13/modules'
make: *** [install-recursive] Error 1


my guru adviced me to make strace, but i wasn't able find where problem
is. http://www.stud.fit.vutbr.cz/~xmlich02/alsa-lib-1-0-13-strace.log
(10MB)


Can anyone help me?


-- 
  with best regards,
  Jozef Mlich <xmlich02 at stud.fit.vutbr.cz>





More information about the devel mailing list