#39210: sqlite3 @3.7.17_0+universal: configure failure -------------------------+------------------- Reporter: macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: sqlite3 | -------------------------+------------------- Comment (by macports@…): Replying to [comment:5 larryv@…]:
Can your `/usr/bin/clang` build anything else?
I just tried to build a simple `printf` program, and got following error: {{{ ➜ ~ clang -v hello.c Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.3.0 Thread model: posix "/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name hello.c -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 136 -v -resource-dir /usr/bin/../lib/clang/4.2 -fmodule-cache-path /var/folders/d9/4nh7h8hd6tj_h0ym30zsdl7w0000gn/T/clang-module-cache -fdebug-compilation-dir /Users/martin -ferror-limit 19 -fmessage-length 272 -stack-protector 1 -mstackrealign -fblocks -fobjc- runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed -fobjc-default- synthesize-properties -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/d9/4nh7h8hd6tj_h0ym30zsdl7w0000gn/T/hello-CkEC6C.o -x c hello.c clang -cc1 version 4.2 based upon LLVM 3.2svn default target x86_64-apple- darwin12.3.0 #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/bin/../lib/clang/4.2/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) End of search list. "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o a.out /var/folders/d9/4nh7h8hd6tj_h0ym30zsdl7w0000gn/T/hello-CkEC6C.o -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a ld: entry point (start) undefined. Usually in crt1.o for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} Some linker problem? -- Ticket URL: <https://trac.macports.org/ticket/39210#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X