From: Mikolaj Kucharski <[email protected]>

After adding dummy kvm_save_mpstate change from git I would compile all
softmmu targets as expected. Although I found another problem. I cannot
compile some `user' targets.

All of them failed with:

../libuser/libuser.a(host-utils.o): In function `mulu64':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1.1/host-utils.c:77: multiple 
definition of `mulu64'
host-utils.o:/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1.1/host-utils.c:77:
 first defined here
../libuser/libuser.a(host-utils.o): In function `muls64':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1.1/host-utils.c:87: multiple 
definition of `muls64'
host-utils.o:/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1.1/host-utils.c:87:
 first defined here

Signed-off-by: Marcelo Tosatti <[email protected]>

diff --git a/Makefile.target b/Makefile.target
index b3a54ca..6037fed 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -101,7 +101,6 @@ 
VPATH+=:$(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)
 QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user 
-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)
 obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \
       elfload.o linuxload.o uaccess.o gdbstub.o
-obj-y += host-utils.o
 
 obj-$(TARGET_HAS_BFLT) += flatload.o
 obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to