From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsUDp-0002JP-NP for qemu-devel@nongnu.org; Thu, 05 Jun 2014 05:44:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsUDj-0000dX-JL for qemu-devel@nongnu.org; Thu, 05 Jun 2014 05:44:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsUDj-0000dF-Bb for qemu-devel@nongnu.org; Thu, 05 Jun 2014 05:44:27 -0400 Message-ID: <53903BEF.9030706@redhat.com> Date: Thu, 05 Jun 2014 11:44:15 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1401384704-14103-1-git-send-email-pl@kamp.de> <538772C9.8080500@redhat.com> <53877F41.7090805@kamp.de> <538787DC.10306@redhat.com> <5387979F.1070103@kamp.de> <53881C32.2040703@redhat.com> <5388498C.9040007@kamp.de> <538849D8.10806@redhat.com> <53903868.6070500@kamp.de> In-Reply-To: <53903868.6070500@kamp.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block/iscsi: handle BUSY condition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven , qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, stefanha@redhat.com, ronniesahlberg@gmail.com Il 05/06/2014 11:29, Peter Lieven ha scritto: > > It might be that we need a LIBS+= -lm to the Makefile in the root > directory. I had strange problems when linking qemu-img/qemu-io/qemu-nbd. cat > $TMPC << EOF #include int main(void) { return isnan(sin(0.0)); } EOF if compile_prog "" "" ; then : elif compile_prog "" "-lm" ; then LIBS="-lm $LIBS" libs_qga="-lm $libs_qga" else error_exit "libm check failed" fi Shouldn't be necessary, should it? Paolo