[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/iscsi: handle BUSY condition
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] block/iscsi: handle BUSY condition |
Date: |
Thu, 05 Jun 2014 11:44:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
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 <math.h>
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