[LLVMdev] llvm-config curses-related failures
Eli Bendersky
eliben at gmail.com
Fri Sep 6 21:09:43 PDT 2013
Hello,
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:
/home/eliben/llvm/build_llvm_svn_rw/Debug+Asserts/lib/libLLVMSupport.a(Process.o):
In function `terminalHasColors':
/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:256: undefined
reference to `setupterm'
/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:274: undefined
reference to `tigetnum'
/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:278: undefined
reference to `set_curterm'
/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:279: undefined
reference to `del_curterm'
collect2: ld returned 1 exit status
This seems to be related to llvm-config not passing -ltinfo in its
--ldflags. This bug also seems to be related:
http://llvm.org/bugs/show_bug.cgi?id=16902
Is there a workaround for this?
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130906/fd930aeb/attachment.html>
More information about the llvm-dev
mailing list