From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTJbL-0000rX-Iw for qemu-devel@nongnu.org; Wed, 23 Nov 2011 15:39:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTJbJ-0006w3-OS for qemu-devel@nongnu.org; Wed, 23 Nov 2011 15:39:27 -0500 Received: from mail-fx0-f45.google.com ([209.85.161.45]:53308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTJbJ-0006vz-J0 for qemu-devel@nongnu.org; Wed, 23 Nov 2011 15:39:25 -0500 Received: by faas14 with SMTP id s14so2350141faa.4 for ; Wed, 23 Nov 2011 12:39:24 -0800 (PST) Message-ID: <4ECD59FA.4050200@googlemail.com> Date: Wed, 23 Nov 2011 20:39:22 +0000 From: Mr Dash Four MIME-Version: 1.0 References: <4ECCEDFF.1000303@googlemail.com> <4ECD5032.7030708@googlemail.com> <201111240008.15872.jcmvbkbc@gmail.com> <4ECD5746.6070008@googlemail.com> In-Reply-To: <4ECD5746.6070008@googlemail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] cannot build qemu with "--static" configure option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: Peter Maydell , qemu-devel@nongnu.org, Paolo Bonzini > I don't get that - I get *SUCCESS*!!! I am going to run this through the rpmbuild, so that I get a proper package done. I am an *idiot*. I just realised that I've ran ./configure the last time without the --static option. My build now fails with: gcc -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I../linux-headers -I.. -I/home/mr-4/qemu-1.0-rc3/target-arm -DNEED_CPU_H -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/mr-4/qemu-1.0-rc3/linux-user/arm -I/home/mr-4/qemu-1.0-rc3/linux-user -O2 -g -Wl,--warn-common -m64 -static -g -Wl,-T../config-host.ld -Wl,-T,/home/mr-4/qemu-1.0-rc3/x86_64.ld -o qemu-arm ../libdis-user/arm-dis.o ../libdis-user/i386-dis.o ../libuser/cache-utils.o ../libuser/cutils.o ../libuser/envlist.o ../libuser/host-utils.o ../libuser/path.o ../libuser/tcg-runtime.o ../libuser/trace.o ../libuser/trace/control.o ../libu ser/trace/default.o arm-semi.o cpu-exec.o cpu-uname.o disas.o elfload.o exec.o flatload.o fpu/softfloat.o gdbstub-xml.o gdbstub.o helper.o iwmmxt_helper.o linuxload.o main.o mmap.o neon_helper.o nwfpe/double_cpdo.o nwfpe/extended_cpdo.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o op_helper.o osdep.o oslib-posix.o qemu-thread-posix.o signal.o strace.o syscall.o tcg/optimize.o tcg/tcg.o thunk.o translate-all.o translate.o uaccess.o user-exec.o -lrt -pthread -pthread -lgthread-2.0 -lrt -lglib-2.0 -lusbredirparser -lm /usr/bin/ld: cannot find -lusbredirparser collect2: ld returned 1 exit status make[1]: *** [qemu-arm] Error 1 make[1]: Leaving directory `/home/mr-4/qemu-1.0-rc3/arm-linux-user' make: *** [subdir-arm-linux-user] Error 2 Even though I executed "./configure --target-list="arm-linux-user armeb-linux-user" --disable-kvm --disable-strip --disable-xen --disable-spice --disable-werror --disable-sdl --disable-vnc --disable-bluez --disable-check-utests --disable-smartcard --disable-usb-redir --static" the -lusbredirparser is still pulled for some reason! Any ideas?