[LLVMdev] llvm-config curses-related failures
eliben at gmail.com
Sat Sep 7 08:29:18 PDT 2013
On Fri, Sep 6, 2013 at 9:35 PM, Pete Cooper <peter_cooper at apple.com> wrote:
> Hi Eli
> 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.
Re-doing the configure & build in a new directory solved the problem for
me. I think the problem had to do with the fact that my previous svn update
on this machine was before Chandler's curses-related changes, and I then
ran 'make update' which used the old configure script. I've updated the PR
- maybe the OP had the same problem.
FWIW, Pete, the --enable-curses option to configure no longer exists.
configure just ignores it. Chandler removed it in r188160.
> On Sep 6, 2013, at 9:09 PM, Eli Bendersky <eliben at gmail.com> wrote:
> 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:
> 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:
> Is there a workaround for this?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev