Re: [Qemu-devel] qemu 2.10.2 : util/qemu-thread-posix.c: 64: qemu_mutex_lock: Assertion 'mutex->initialized' failed

2018-03-11 Thread Peter Maydell
On 11 March 2018 at 06:58, Eva Chen wrote: > Hello, > > I am working on compiling QEMU 2.10.2 to a static library. > > Everything works fine in compiling QEMU to an execution > file(qemu-system-aarch64), but after I link all .o and .a file to create a > QEMU library and

[Qemu-devel] qemu 2.10.2 : util/qemu-thread-posix.c: 64: qemu_mutex_lock: Assertion 'mutex->initialized' failed

2018-03-10 Thread Eva Chen
Hello, I am working on compiling QEMU 2.10.2 to a static library. Everything works fine in compiling QEMU to an execution file(qemu-system-aarch64), but after I link all .o and .a file to create a QEMU library and write a c file to call qemu_main() in qemu/util/vl.c(I have changed the name