From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-05-02 08:24:08
On Friday 02 May 2008 10:01:09 rperrone wrote:
> 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 libboost_filesystem-mt.so
> ld: warning:
> ld: warning: cannot find entry symbol _start; defaulting to 08048284
> libboost_filesystem-mt.so: 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 libboost_filesystem-mt.so
> libboost_filesystem-mt.so => ./libboost_filesystem-mt.so
> ldd: ./libboost_filesystem-mt.so: Memory fault (core dumped)
This means your dynamic linker is buggy; please discuss this with the OS
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk