From: "Cliff Cai" Subject: alsa-lib-1.0.18 doesn't build with option '--with-softfloat' Date: Wed, 7 Jan 2009 17:02:40 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from po-out-1718.google.com (po-out-1718.google.com [72.14.252.152]) by alsa0.perex.cz (Postfix) with ESMTP id 568CE1037EB for ; Wed, 7 Jan 2009 10:02:42 +0100 (CET) Received: by po-out-1718.google.com with SMTP id y22so6598944pof.2 for ; Wed, 07 Jan 2009 01:02:41 -0800 (PST) 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: Alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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