undefined symbols when running on Ubuntu

Franky Braem f.braem at skynet.be
Mon Nov 13 13:13:07 PST 2006


Julian Smart wrote:
> Franky Braem wrote:
>>
>> Vadim Zeitlin wrote:
>>> On Mon, 13 Nov 2006 18:16:17 +0100 Franky Braem <f.braem at skynet.be> 
>>> wrote:
>>>
>>> FB> I can find _ZN9wxVariantC1Ev with nm in the base library.
>>>
>>>  Then you probably built it with wxUSE_VARIANT==0. Try also doing
>>>
>>>     nm basedll_variant.o|grep ZN9wxVariantC1Ev
>>>
>>> just to be sure.
>>>
>>>  Regards,
>>> VZ
>>>
>> Explicitly linking with baselib_variant.o solves the ZN9wxVariantC1Ev 
>> problem. I've put wxUSE_VARIANT in setup.h
>>
>> But I still have the unresolved _ZN7wxFFile4SeekEl10wxSeekMode
> I wonder if it's a lib search order problem - you could try repeating 
> the -l flags (i.e., mention them twice) to see if it helps.
> 

Mentioning the libraries twice doesn't solve the wxFFile problem. I've 
linked it explicitly with baselib_wxffile, but that doesn't also solve 
the problem.

Franky.






More information about the wx-users mailing list