Compilation Error 126

Dear all,

I am trying to build root 5.34.15 on Mac 10.8.5 but make gives me this error. Not sure how to fix yet.
Any advice?

./configure
make

clang++ -O2 -m64 -mmacosx-version-min=10.8 -o bin/rlibmap core/utils/src/rlibmap.o
cp core/pcre/src/pcre-7.8/.libs/libpcre.a lib/libpcre.a
cp core/lzma/src/xz-5.0.3/src/liblzma/.libs/liblzma.a lib/liblzma.a
(cd cint/cint/lib/posix/ &&
./mktypes)
bin/rmkdepend -R -fcint/cint/lib/posix/exten.d -Y -w 1000 – -m64 -pipe -W -Wall -fsigned-char -fno-common -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/usr/local/root/root_v5.34.15/cint/cint/inc -I/usr/local/root/root_v5.34.15/cint/cint/src -I/usr/local/root/root_v5.34.15/cint/cint/src/dict -pthread – cint/cint/lib/posix/exten.c
/bin/sh: ./mktypes: cannot execute binary file
bin/rmkdepend -R -fcore/thread/src/TCondition.d -Y -w 1000 – -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -D__cplusplus – /usr/local/root/root_v5.34.15/core/thread/src/TCondition.cxx
make: *** [cint/cint/include/sys/types.h] Error 126
make: *** Waiting for unfinished jobs…
clang -O2 -m64 -pipe -W -Wall -fsigned-char -fno-common -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/usr/local/root/root_v5.34.15/cint/cint/inc -I/usr/local/root/root_v5.34.15/cint/cint/src -I/usr/local/root/root_v5.34.15/cint/cint/src/dict -pthread -I. -o cint/cint/lib/posix/exten.o -c cint/cint/lib/posix/exten.c
clang++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -o core/thread/src/TCondition.o -c /usr/local/root/root_v5.34.15/core/thread/src/TCondition.cxx
clang++ -dynamiclib -single_module -Wl,-dead_strip_dylibs -install_name @rpath/libReflex.so -O2 -m64 -mmacosx-version-min=10.8 -o lib/libReflex.so cint/reflex/src/Any.o cint/reflex/src/Array.o cint/reflex/src/Base.o cint/reflex/src/BuilderContainer.o cint/reflex/src/Callback.o cint/reflex/src/Class.o cint/reflex/src/ClassBuilder.o cint/reflex/src/ClassTemplateInstance.o cint/reflex/src/DataMember.o cint/reflex/src/DictionaryGenerator.o cint/reflex/src/Enum.o cint/reflex/src/EnumBuilder.o cint/reflex/src/FuncHandler.o cint/reflex/src/Function.o cint/reflex/src/FunctionBuilder.o cint/reflex/src/FunctionMember.o cint/reflex/src/FunctionMemberTemplateInstance.o cint/reflex/src/Fundamental.o cint/reflex/src/GenreflexMemberBuilder.o cint/reflex/src/Kernel.o cint/reflex/src/LiteralString.o cint/reflex/src/Member.o cint/reflex/src/MemberBase.o cint/reflex/src/MemberTemplate.o cint/reflex/src/MemberTemplateImpl.o cint/reflex/src/MemberTemplateName.o cint/reflex/src/NameLookup.o cint/reflex/src/Namespace.o cint/reflex/src/NamespaceBuilder.o cint/reflex/src/Object.o cint/reflex/src/OnDemandBuilder.o cint/reflex/src/OwnedPropertyList.o cint/reflex/src/PluginFactoryMap.o cint/reflex/src/PluginService.o cint/reflex/src/Pointer.o cint/reflex/src/PointerToMember.o cint/reflex/src/PropertyList.o cint/reflex/src/PropertyListImpl.o cint/reflex/src/Scope.o cint/reflex/src/ScopeBase.o cint/reflex/src/ScopeName.o cint/reflex/src/ScopedType.o cint/reflex/src/TemplateInstance.o cint/reflex/src/Tools.o cint/reflex/src/Type.o cint/reflex/src/TypeBase.o cint/reflex/src/TypeBuilder.o cint/reflex/src/TypeName.o cint/reflex/src/TypeTemplate.o cint/reflex/src/TypeTemplateImpl.o cint/reflex/src/TypeTemplateName.o cint/reflex/src/Typedef.o cint/reflex/src/TypedefBuilder.o cint/reflex/src/Union.o cint/reflex/src/UnionBuilder.o cint/reflex/src/VariableBuilder.o -ldl
==> lib/libReflex.so done

I have updated to 10.9, but the problem still persists.