Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-12-17 00:37:39


Kon Lovett wrote:
>> bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/darwin/
>> debug/runti
>> me-link-static/shared-linkable-true/libboost_prg_exec_monitor-sd
>> -1_32.dylib
>>> ld: Undefined symbols: cpp_main(int, char**)
>>>
>>>
>>> darwin-Link-DyLib-action
>>>
>>>
>> <snip>
>>
>> These error messages indicate that the serialization test programs
>> are being
>> built but that the boost.test library isn't being linked in.
>
> This an attempt to create a dynamic shared library w/ a two-level
> namespace & undefined symbols (cpp_main is a "call-out" from the
> library code). Not allowed. Must state the library (an "umbrella
> framework" usually) to resolve from at dynamic link time.
>
> I think this can be solved by shifting to a flat-namespace. I will
> try.
>

I'm not sure what this means. But I can tell you that the serialization
library doesn't call anything in the test library. I presumed that an
attempt was being made to compile and run some of the test programs.

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk