PPPS. I can't really debug Qemu (GDB seems to jump all over the
place). I tried to build it statically (as per an advice given in the
mailing list some time ago), but if I do
./configure --target-list=i386-softmmu --static
make
I end up with a bunch of linker errors, like the following:
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/
librt.a(aio_cancel.o): In function `aio_cancel64': (.text+0x2f):
undefined reference to `pthread_mutex_lock'
...
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/librt.a(aio_misc.o):
In function `handle_fildes_io': (.text+0x737): undefined reference to
`pthread_mutex_lock'
...
/usr/lib/gcc/i486-linux-gnu/3.4.6/libgcc_eh.a(unwind-dw2-fde-glibc.o):
In function `__register_frame_info_bases': (.text+0x21c): undefined
reference to `pthread_create'
What am I missing? (probably something very obvious since I'm
relatively new to Linux)
Best regards, sorry for taking up so much of you valuable inbox space
;-), and thank you in advance for your time,
Attila-Mihaly Balazs