- To: Евгений Фарфель <jenfa@xxxxxxxxxxx>
- Subject: Re: Unresolved symbols which are present in linked libs
- From: Ian Lance Taylor <iant@xxxxxxxxxx>
- Date: Mon, 23 Apr 2012 22:47:04 -0700
- Cc: gcc-help@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- In-reply-to: <CA+j7xBZ-k58PpnQUA7hiO=2zfB5iOofnc160Mcj3qLTOJ3W=Wg@mail.gmail.com> ("Евгений Фарфель"'s message of "Tue, 24 Apr 2012 02:34:26 +0300")
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Евгений Фарфель <jenfa@xxxxxxxxxxx> writes:
> 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?
Based on what you said before, putting -ltelepathy-qt4-farsight should
fix the problem, or should at least give you different error messages.
In general a -l option only resolves symbols left undefined by previous
-l options, not by subsequent ones.
Ian
> 2012/4/24 Ian Lance Taylor <iant@xxxxxxxxxx>:
>> Евгений Фарфель <jenfa@xxxxxxxxxxx> 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
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]