Hello,
I have downloaded root using svn
I am tried to compile and I got the following error
*** Building interpreter/llvm/inst/lib/libclang.a…
make[1]: Entering directory /usr/local/root/interpreter/llvm/obj' llvm[1]: Constructing LLVMBuild project information. make[1]: Leaving directory
/usr/local/root/interpreter/llvm/obj’
make[1]: Entering directory /usr/local/root/interpreter/llvm/obj' make[2]: Entering directory
/usr/local/root/interpreter/llvm/obj/lib/Support’
llvm[2]: Compiling APFloat.cpp for Release+Asserts build
In file included from /usr/local/root/interpreter/llvm/src/lib/Support/APFloat.cpp:15:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/APFloat.h:104:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/APInt.h:18:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/ArrayRef.h:13:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/SmallVector.h:18:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/Support/type_traits.h:20:
In file included from /usr/local/root/interpreter/llvm/obj/include/llvm/Support/DataTypes.h:59:
/usr/include/sys/types.h:147:10: fatal error: ‘stddef.h’ file not found
#include <stddef.h>
^
1 error generated.
make[2]: *** [/usr/local/root/interpreter/llvm/obj/lib/Support/Release+Asserts/APFloat.o] Error 1
make[2]: Leaving directory /usr/local/root/interpreter/llvm/obj/lib/Support' make[1]: *** [all] Error 1 make[1]: Leaving directory
/usr/local/root/interpreter/llvm/obj’
make[1]: Entering directory /usr/local/root/interpreter/llvm/obj' llvm[1]: Installing include files make[2]: Entering directory
/usr/local/root/interpreter/llvm/obj/lib/Support’
llvm[2]: Compiling APFloat.cpp for Release+Asserts build
In file included from /usr/local/root/interpreter/llvm/src/lib/Support/APFloat.cpp:15:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/APFloat.h:104:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/APInt.h:18:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/ArrayRef.h:13:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/ADT/SmallVector.h:18:
In file included from /usr/local/root/interpreter/llvm/src/include/llvm/Support/type_traits.h:20:
In file included from /usr/local/root/interpreter/llvm/obj/include/llvm/Support/DataTypes.h:59:
/usr/include/sys/types.h:147:10: fatal error: ‘stddef.h’ file not found
#include <stddef.h>
^
1 error generated.
make[2]: *** [/usr/local/root/interpreter/llvm/obj/lib/Support/Release+Asserts/APFloat.o] Error 1
make[2]: Leaving directory /usr/local/root/interpreter/llvm/obj/lib/Support' make[1]: *** [install] Error 1 make[1]: Leaving directory
/usr/local/root/interpreter/llvm/obj’
make: *** [interpreter/llvm/inst/lib/libclang.a] Error 2