Hello! I have a problem compiling samefile with clang on Wheezy. configure gives the following error:
"checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details." config.log says: "configure:1683: checking for C compiler default output file name configure:1686: clang -v -m64 -pipe -O2 -s conftest.c >&5 clang version 2.9 (tags/RELEASE_29/final) Target: x86_64-pc-linux-gnu Thread model: posix "/usr/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name confte st.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.21.53.20110823 -momit-leaf-frame-pointer -v -resource-dir /usr/bin/../lib/clang/2.9 -O2 -ferror -limit 19 -fmessage-length 0 -fgnu-runtime -fdiagnostics-show-option -o /tmp/cc-bHqtLm.o -x c conftest.c clang -cc1 version 2.9 based upon llvm 2.9 hosted on x86_64-pc-linux-gnu ignoring duplicate directory "/usr/include/x86_64-linux-gnu" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/include/x86_64-linux-gnu /usr/bin/../lib/clang/2.9/include /usr/include End of search list. "/usr/bin/ld" -s --hash-style=both --no-copy-dt-needed-entries --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out crt1.o crti.o crtbegin.o -L -L/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib6 4 -L/../../.. /tmp/cc-bHqtLm.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed crt end.o crtn.o /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory /usr/bin/ld: cannot find crtbegin.o: No such file or directory /usr/bin/ld: cannot find -lgcc /usr/bin/ld: cannot find -lgcc_s clang: error: linker command failed with exit code 1 (use -v to see invocation)" My system is: Linux machine 3.0.0-1-rt-amd64 #1 SMP PREEMPT RT Sat Aug 27 17:34:31 UTC 2011 x86_64 GNU/Linux Any idea why clang does not find those files? Is it Debian Wheezy or Clang related problem? Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAPkuXvEqvRqhug7AQ6kAQJF78itNura-vPfNKbmTR=ud4_o...@mail.gmail.com