Broken SO due to dropped dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,

I'm come across a very strange issue concerning building a shared library 
with GCC.

This issue affects a c++ project I'm currently working on, in particular 
an SO component. If I compile this SO using GCC [0] the library 
dependencies are totally different than when compiling the same SO with 
clang [1] using the exact same parameters.

I became aware of this issue when I compiled the SO in question with GCC 
and realised it has broken dependencies; it fails with an `undefined 
symbol' error:

out/src/omnis: symbol lookup error: /home/guedesm/prj/omnis/sh/../out/
sources/clank/libclank.so: undefined symbol: clang_createIndex 

I imagine it's something to do with parameter order; can an enlightened 
guru please shed some light on this?


[0] http://pastebin.com/8Xp9mwwA 
[1] http://pastebin.com/xM8NNj4m





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux