Environment: Linux 3.5 Ubuntu 12.10
LLVM 2.9 building error
Building Cloud9 in CloudSuite from EPFL requires LLVM.
While compiling LLVM, I had this error
Intercept.cpp:69:67: error: lseek64 was not declared in this scopeThis can be solved by adding #include < unistd.h > into Intercept.cpp.
Referece:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673266
KLEE building error
When compiling KLEE, I had this error message
It can be solved by creating a soft link to a specific architecture directory.:1:24: error: asm/unistd.h
ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/asmThen, another problem shows up when assembler is processing crtn.o
Error: .size expression for _init does not evaluate to a constantThe solution is to comment out
.size _init,.-_init and .size _fini, .-_finiin ./libc/sysdeps/linux/x86_64/crtn.S
Note, you should change x86_64 to your target machine's architecture, if it is not x86_64.
Reference:
http://ubuntuforums.org/showthread.php?t=1861069
Picture today: West Point, NY [courtesy of my dear wife - Claire Huang]
No comments:
Post a Comment