[cfe-dev] Clang for ARM

Renato Golin renato.golin at linaro.org
Thu Oct 3 09:18:34 PDT 2013


On 3 October 2013 14:40, Anton Smirnov <dev at antonsmirnov.name> wrote:

> Linking CXX executable ../../../../bin/c-index-test
> /home/asmirnov/arm-toolchain-clang33/bin/arm-linux-androideabi-ld:
> ../../../../lib/libclang.so.3.3: error: undefined reference to 'dladdr'
> clang33: error: linker command failed with exit code 1 (use -v to see
> invocation)
>

Hi Anton,

I'm intrigued why are you using the androideabi linker...


I've found similar question with solution:
>
> http://stackoverflow.com/questions/12993460/why-am-i-getting-undefined-reference-to-dladdr-even-with-ldl-for-this-simpl
>
> So i wonder what should i do and is it bug or my dev env issue?
>

Did you try the solution in that question?

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131003/bd24f166/attachment.html>


More information about the cfe-dev mailing list