<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Eli<div><br></div><div>I don’t know a workaround which will keep support for coloured terminal output, but if you can live without it then passing these to configure should work.</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">--enable-curses=no</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">--enable-terminfo=no</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thanks,</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Pete</div><div><div>On Sep 6, 2013, at 9:09 PM, Eli Bendersky <<a href="mailto:eliben@gmail.com">eliben@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Hello,<br><br>I'm trying to build some code that relies on LLVM as a library (out-of-source). It uses llvm-config for the compilation & linkage flags. Some recent change breaks it, and with the newest trunk LLVM I get:<br>

<br>/home/eliben/llvm/build_llvm_svn_rw/Debug+Asserts/lib/libLLVMSupport.a(Process.o): In function `terminalHasColors':<br>/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:256: undefined reference to `setupterm'<br>

/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:274: undefined reference to `tigetnum'<br>/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:278: undefined reference to `set_curterm'<br>/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:279: undefined reference to `del_curterm'<br>

collect2: ld returned 1 exit status<br><br></div>This seems to be related to llvm-config not passing -ltinfo in its --ldflags. This bug also seems to be related: <a href="http://llvm.org/bugs/show_bug.cgi?id=16902">http://llvm.org/bugs/show_bug.cgi?id=16902</a><br>

<br></div>Is there a workaround for this?<br><br>Eli<br><br></div>
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></body></html>