Golevka / emacs-clang-complete-async

An emacs plugin to complete C and C++ code using libclang
359 stars 71 forks source link

problem compiling on gentoo #3

Open Eoksni opened 12 years ago

Eoksni commented 12 years ago

I'm not exactly sure if it's problem of this program or gentoo distribution in general.

Trying to compile gives me /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libLLVM-3.1.so, needed by /usr/lib/llvm/libclang.so, not found (try using -rpath or -rpath-link) and a bunch of undefined references like so /usr/lib/llvm/libclang.so: undefined reference tollvm::APFloat::APFloat(llvm::fltSemantics const&, unsigned long long)'`

After doing ln -s /usr/lib/llvm/libLLVM-3.1.so /usr/lib/libLLVM-3.1.so all compiled fine.

Linux 3.2.21-gentoo i686, llvm-3.1-r2 USE="libffi -debug -gold -multitarget -ocaml -test -udis86 -vim-syntax" clang-3.1-r5 USE="static-analyzer -debug -multitarget -test"