fcce5287c0
Compiling without system, user, tools or guest-agent fails with the
following error message:
./configure --disable-system --disable-user --disable-tools \
--disable-guest-agent
error message:
/usr/bin/ld: libqemuutil.a.p/util_error-report.c.o: in function `error_printf':
/media/liuzhao/data/qemu-cook/build/../util/error-report.c:38: undefined reference to `error_vprintf'
/usr/bin/ld: libqemuutil.a.p/util_error-report.c.o: in function `vreport':
/media/liuzhao/data/qemu-cook/build/../util/error-report.c:215: undefined reference to `error_vprintf'
collect2: error: ld returned 1 exit status
This is because tests/bench and tests/unit both need qemuutil, which
requires error_vprintf stub when system is disabled.
Add error_vprintf stub into stub_ss for all cases other than disabling
system.
Fixes:
|
||
---|---|---|
.. | ||
bdrv-next-monitor-owned.c | ||
blk-commit-all.c | ||
blk-exp-close-all.c | ||
blockdev-close-all-bdrv-states.c | ||
change-state-handler.c | ||
cmos.c | ||
cpu-get-clock.c | ||
cpu-synchronize-state.c | ||
cpus-get-virtual-clock.c | ||
dump.c | ||
error-printf.c | ||
fdset.c | ||
fw_cfg.c | ||
gdbstub.c | ||
get-vm-name.c | ||
graph-lock.c | ||
hotplug-stubs.c | ||
icount.c | ||
io_uring.c | ||
iothread-lock-block.c | ||
iothread-lock.c | ||
is-daemonized.c | ||
linux-aio.c | ||
meson.build | ||
migr-blocker.c | ||
monitor-core.c | ||
monitor-internal.c | ||
physmem.c | ||
qdev.c | ||
qemu-timer-notify-cb.c | ||
qmp-command-available.c | ||
qmp-quit.c | ||
qtest.c | ||
ram-block.c | ||
replay-mode.c | ||
replay-tools.c | ||
replay.c | ||
runstate-check.c | ||
sysbus.c | ||
target-get-monitor-def.c | ||
target-monitor-defs.c | ||
trace-control.c | ||
uuid.c | ||
vm-stop.c | ||
vmstate.c | ||
win32-kbd-hook.c | ||
xen-hw-stub.c |