On Sat, Aug 18, 2012 at 11:14:43PM +0530, MJ embd wrote: > Hi All, > I am trying to compile qemu for arm top of tree on ubuntu 12.04 and am > getting the following errors. Can anyone help > > ... > CC json-streamer.o > CC json-parser.o > CC qerror.o > CC error.o > CC qemu-error.o > LINK qemu-ga > /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld: > cannot find -lgthread-2.0 > /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld: > cannot find -lglib-2.0 > /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld: > cannot find -lpcre
Your ARM build environment is missing glib and PCRE. You need to install libglib2.0-dev and libpcre3-dev. > qemu-sockets.o: In function `inet_listen_opts': > /home/mj/Code/qemu/qemu-sockets.c:141: warning: Using 'getaddrinfo' in > statically linked applications requires at runtime the shared > libraries from the glibc version used for linking > collect2: ld returned 1 exit status > make: *** [qemu-ga] Error 1 Why are you statically linking? Stefan