Bug#674687: libclang-dev: Missing clang libraries

Damien R. damienrg+bug at gmail.com
Tue May 29 20:48:47 UTC 2012


>
> I will see that. To simplify my tests, could you provide an example to
> reproduce that ?
>

I give you an example which compiles and links with a compilation of clang
by hand. Be aware that this example does not use all clang libraries and
maybe I link with clang libraries that the program does not need.
I tried this example with llvm-3.1 and libclang-dev from debian repository,
it compiles but does not link. With llvm-3.0 it does not compile.
If you have to modify the Makefile be aware that you need to link with
clang in the given order or you will have undefined symbols.

Regards,
Damien R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120529/4cab4b94/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 1607 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120529/4cab4b94/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 506 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120529/4cab4b94/attachment.obj>


More information about the Pkg-llvm-team mailing list