Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-05-02 08:24:08

On Friday 02 May 2008 10:01:09 rperrone wrote:
> Hi,
> I compiled boost 1_35_0 libraries(regex and filesystem) in qnx 6.3.2, but
> when try to check your dependencies

Trying to do what?

> an undefined reference appears:
> # ld
> ld: warning:
> bin.v2/libs/system/build/qcc/release/threading-multi/,
> ld: warning: cannot find entry symbol _start; defaulting to 08048284
> undefined reference to `strcpy'

This is twice wrong. First, you are trying to create executable from a shared
object to a linker, without any module providing the 'main' function.
Second, you should never use 'ld' directly, but use 'gcc' instead (which will
make sure to link with all required system libraries).

> The same occurs to any compiled library. Does anybody know how to solve it?
> I tried with ldd:
> # ldd
> ./
> => ./
> (0xb8200000)
> ldd: ./ Memory fault (core dumped)

This means your dynamic linker is buggy; please discuss this with the OS

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at