Unresolved symbols which are present in linked libs

Евгений Фарфель jenfa@jenfa.od.ua
Mon Apr 23 23:35:00 GMT 2012


Thank you, Ian!

I was not able to build it proper using your advice, though. If I
understand it correctly, you suggest to specify
-ltelepathy-qt4-farsight before -ltelepathy-qt4? I get the same error
messages that way. Should I fix my -l options ordering further? If so,
then how?

2012/4/24 Ian Lance Taylor <iant@google.com>:
> Евгений Фарфель <jenfa@jenfa.od.ua> writes:
>
>> -ltelepathy-qt4
>> -ltelepathy-qt4-farsight -ltelepathy-glib
>
>> /home/user/workspace/playbook_prefix/lib/libtelepathy-qt4-farsight.so:
>> undefined reference to `Tp::DBusProxy::busName() const'
>
>> All those symbols should be present in libtelepathy-qt4
>
>
> The order of -l options matters.
>
> Ian



More information about the Gcc-help mailing list