[alsa-devel] alsa-lib-1.0.18 doesn't build with option '--with-softfloat'

Cliff Cai cliffcai.sh at gmail.com
Wed Jan 7 10:02:40 CET 2009


Hi all,

I'm trying to build the latest release alsa-lib-1.0.18 on Blackfin
with option  '--with-softfloat',
but it failed with message:

libtool: install: warning: remember to run `libtool --finish
/usr/lib/alsa-lib/smixer'
../src/.libs/libasound.so: undefined reference to `_sqrtf'
../src/.libs/libasound.so: undefined reference to `_exp'
../src/.libs/libasound.so: undefined reference to `_log'
../src/.libs/libasound.so: undefined reference to `_sqrt'
../src/.libs/libasound.so: undefined reference to `_fmod'
../src/.libs/libasound.so: undefined reference to `_floor'

Since I've selected --with-softfloat, '-lm' should be excluded from
ALSA_DEPLIBS.
but some source files still depend on libm, such as
.../pcm/pcm_ladspa.c;.../mixer/ simple_none.c
.../alisp/alisp.c.These there files cause undefined reference as above.


Best Regards

Cliff


More information about the Alsa-devel mailing list