Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-24 07:38:09

Maxim Yegorushkin wrote:

> Hi,
> I upgraded today to boost-1.32.0-5.fc3.i386.rpm and my projects stoped
> linking complaining about undefined
> reference to `init_unit_test_suite(int, char**)'.

I think the standard approach when using packages is to report the bug to
the package maintainer. In particular, nobody but him know what version/CVS
date that package corresponds too.

> I'm not a linker expert
> but it seems like libboost_unit_test_framework library does not have a
> weak symbol init_unit_test_suite anymore. I had to rollback to
> boost-1.32.0-3.i386.rpm.

Why should unit_test_framework define such a symbol? Especially 'weak'? If
you link to libboost_unit_test_framework you are supposed to provide
init_unit_test_suite function in your application, no? Do you provide one?

For details, here's output from 'readelf -W -a <>' where the
lib is produced with Boost.Build V2:


The symbol is underfined, not weak. And I get no link error for

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at