Hello everyone. This is my first time attempting to use Xen and I am having some problems. I am trying to build a Xen system so that I can use the Ether program for malware analysis (http://ether.gtisc.gatech.edu/source.html).
I’ve installed Debian 6, and downloaded the Xen 3.1.0 source. However when I try to compile the source using “make world” I receive the following errors:
make[5]: Entering directory `/home/user/ether/xen-3.1.0-src/xen/arch/x86'
gcc -O2 -fomit-frame-pointer -m64 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe
-I/home/user/ether/xen-3.1.0-src/xen/include -I/home/user/ether/xen-3.1.0-src/xen/include/asm-x86/mach-generic -I/home/user/ether/xen-3.1.0-src/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables
-DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -c /home/user/ether/xen-3.1.0-src/xen/common/symbols-dummy.c -o /home/user/ether/xen-3.1.0-src/xen/common/symbols-dummy.o
make[5]: Leaving directory `/home/user/ether/xen-3.1.0-src/xen/arch/x86'
ld -melf_x86_64 -T xen.lds -N \
boot/x86_64.o /home/user/ether/xen-3.1.0-src/xen/common/built_in.o /home/user/ether/xen-3.1.0-src/xen/drivers/built_in.o /home/user/ether/xen-3.1.0-src/xen/arch/x86/built_in.o \
/home/user/ether/xen-3.1.0-src/xen/common/symbols-dummy.o -o /home/user/ether/xen-3.1.0-src/xen/.xen-syms.0
/home/user/ether/xen-3.1.0-src/xen/arch/x86/built_in.o: In function `do_invalid_op':
/home/user/ether/xen-3.1.0-src/xen/arch/x86/traps.c:631: undefined reference to `memcmp'
/home/user/ether/xen-3.1.0-src/xen/arch/x86/traps.c:631: relocation truncated to fit: R_X86_64_PLT32 against undefined symbol `memcmp'
/home/user/ether/xen-3.1.0-src/xen/arch/x86/traps.c:648: undefined reference to `memcmp'
/home/user/ether/xen-3.1.0-src/xen/arch/x86/traps.c:648: relocation truncated to fit: R_X86_64_PLT32 against undefined symbol `memcmp'
/home/user/ether/xen-3.1.0-src/xen/arch/x86/traps.c:675: undefined reference to `memcmp'
/home/user/ether/xen-3.1.0-src/xen/arch/x86/traps.c:675: relocation truncated to fit: R_X86_64_PLT32 against undefined symbol `memcmp'
make[4]: *** [/home/user/ether/xen-3.1.0-src/xen/xen-syms] Error 1
make[4]: Leaving directory `/home/user/ether/xen-3.1.0-src/xen/arch/x86'
make[3]: *** [/home/user/ether/xen-3.1.0-src/xen/xen] Error 2
make[3]: Leaving directory `/home/user/ether/xen-3.1.0-src/xen'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/user/ether/xen-3.1.0-src/xen'
make[1]: *** [install-xen] Error 2
make[1]: Leaving directory `/home/user/ether/xen-3.1.0-src'
make: *** [world] Error 2
I’m not sure what this means and several other posts have stated it is a compiler problem and to use gcc-4.1. However, even using 4.1 returns the same errors.