<br>Following the instructions at:<br><br><a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a><br><br>I errored out with:<br><br>make[2]: Leaving directory `/home/me/test-llvm/build/utils/llvm-lit'<br>
llvm[2]: Compiling AsmWriterEmitter.cpp for Debug+Asserts build<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regerror.o): In function `gnu_dev_major':<br>/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'<br>
/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:43: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regerror.o): In function `gnu_dev_makedev':<br>
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:55: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regerror.o): In function `gnu_dev_minor':<br>
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:49: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regexec.o): In function `gnu_dev_major':<br>
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:43: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regexec.o): In function `gnu_dev_makedev':<br>
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:55: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regexec.o): In function `gnu_dev_minor':<br>
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:49: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regfree.o): In function `gnu_dev_major':<br>
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:43: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regfree.o): In function `gnu_dev_makedev':<br>
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:55: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regfree.o): In function `gnu_dev_minor':<br>
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:49: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regstrlcpy.o): In function `gnu_dev_major':<br>
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:43: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regstrlcpy.o): In function `gnu_dev_makedev':<br>
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:55: first defined here<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regstrlcpy.o): In function `gnu_dev_minor':<br>
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'<br>/home/me/test-llvm/build/Debug+Asserts/lib/libLLVMSupport.a(regcomp.o):/usr/include/sys/sysmacros.h:49: first defined here<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
make[2]: *** [/home/me/test-llvm/build/Debug+Asserts/bin/FileCheck] Error 1<br>make[2]: Leaving directory `/home/me/test-llvm/build/utils/FileCheck'<br>make[1]: *** [FileCheck/.makeall] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>
<br>I've tried to build over the past couple weeks several times, thinking that there was just a temporary glitch in the trunk, but it seems to fail (and fail differently), each time I try.  I was able to build using cmake, so it seems like maybe the configure/make infrastructure is falling out of date.  Since that's the recommended method on the getting started page, I thought I'd notify the list.  Also, I'm much more comfortable with configure than cmake, so it would be nice if that worked.<br>
<br>Thanks!<br><br>