blob: d4b72af7cef69841d7b9d8c036b7b7f25a36c33f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--static build fails in v5.0 (since 5010cec2bc87dafab39b3913c8ca91f88df9c540)
Hi,
Since commit 5010cec2bc87dafab39b3913c8ca91f88df9c540, building qemu fails when configured with --static (eg ../configure --target-list=x86_64-softmmu,x86_64-linux-user --enable-debug --static).
On ubuntu 16.04, it fails to find -lffi and -lselinux.
After I apt-get install libffi-dev libselinux1-dev, the build still fails:
../backends/dbus-vmstate.o: In function `_nocheck__trace_dbus_vmstate_pre_save':
/home/christophe.lyon/src/qemu/build-static/backends/trace.h:29: undefined reference to `_TRACE_DBUS_VMSTATE_PRE_SAVE_DSTATE'
../backends/dbus-vmstate.o: In function `_nocheck__trace_dbus_vmstate_post_load':
/home/christophe.lyon/src/qemu/build-static/backends/trace.h:52: undefined reference to `_TRACE_DBUS_VMSTATE_POST_LOAD_DSTATE'
../backends/dbus-vmstate.o: In function `_nocheck__trace_dbus_vmstate_loading':
/home/christophe.lyon/src/qemu/build-static/backends/trace.h:75: undefined reference to `_TRACE_DBUS_VMSTATE_LOADING_DSTATE'
../backends/dbus-vmstate.o: In function `_nocheck__trace_dbus_vmstate_saving':
/home/christophe.lyon/src/qemu/build-static/backends/trace.h:98: undefined reference to `_TRACE_DBUS_VMSTATE_SAVING_DSTATE'
collect2: error: ld returned 1 exit status
|