Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with boost.system
From: Robert Bielik (robert.bielik_at_[hidden])
Date: 2009-06-23 02:17:38


Robert Bielik skrev:
> Vladimir Prus skrev:
>> I recommend you read this:
>>
>> http://vladimir_prus.blogspot.com/2009/06/linking-101.html
>>
>> In particular, the note about static linking towards the end might be
>> directly relevant. Although
>> you did not say how you "included AND linked to" error_code.cpp, so
>> it's impossible to say for sure.
>
> The note in the ld docs regarding symbols defined in an archive that are
> used in later archives (command line wise)
> seems to fit the bill. I'll try reorder the linking, or use
> --start-group/--end-group

Thank you Vladimir,

Indeed it was the order of the linking that messed it up. Works fine now... damned ld!

/Rob


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net