Boost logo

Boost-Build :

From: rperrone (perrone_at_[hidden])
Date: 2008-05-02 02:01:09


Hi,

I compiled boost 1_35_0 libraries(regex and filesystem) in qnx 6.3.2, but
when try to check your dependencies an undefined reference appears:

# ld libboost_filesystem-mt.so
ld: warning:
bin.v2/libs/system/build/qcc/release/threading-multi/libboost_system-mt-1_35.so.1.35.0,
needed by libboost_
filesystem-mt.so, not found (try using -rpath or -rpath-link)
ld: warning: libm.so.2, needed by libboost_filesystem-mt.so, not found (try
using -rpath or -rpath-link)
ld: warning: libcpp.so.4, needed by libboost_filesystem-mt.so, not found
(try using -rpath or -rpath-link)
ld: warning: libc.so.2, needed by libboost_filesystem-mt.so, not found (try
using -rpath or -rpath-link)
ld: warning: cannot find entry symbol _start; defaulting to 08048284
libboost_filesystem-mt.so: undefined reference to `strcpy'
libboost_filesystem-mt.so: undefined reference to `operator new[](unsigned)'
libboost_filesystem-mt.so: undefined reference to `std::locale::locale(char
const*, int)'
libboost_filesystem-mt.so: undefined reference to `__cxa_rethrow'
libboost_filesystem-mt.so: undefined reference to `sysconf'
libboost_filesystem-mt.so: undefined reference to `utime'
libboost_filesystem-mt.so: undefined reference to `stat64'
libboost_filesystem-mt.so: undefined reference to `memmove'
libboost_filesystem-mt.so: undefined reference to
`std::exception::~exception()'
libboost_filesystem-mt.so: undefined reference to `pathconf'
libboost_filesystem-mt.so: undefined reference to
`std::_String_base::_Xran() const'
libboost_filesystem-mt.so: undefined reference to `wcslen'
libboost_filesystem-mt.so: undefined reference to
`boost::system::get_system_category()'
libboost_filesystem-mt.so: undefined reference to `__cxa_call_unexpected'
libboost_filesystem-mt.so: undefined reference to
`std::_String_base::_Xlen() const'
libboost_filesystem-mt.so: undefined reference to `memcpy'
libboost_filesystem-mt.so: undefined reference to `mbrtowc'
libboost_filesystem-mt.so: undefined reference to `malloc'
libboost_filesystem-mt.so: undefined reference to
`std::_Locinfo::~_Locinfo()'
libboost_filesystem-mt.so: undefined reference to `_Mbcurmax'
libboost_filesystem-mt.so: undefined reference to `readdir_r'
libboost_filesystem-mt.so: undefined reference to `rmdir'
libboost_filesystem-mt.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
libboost_filesystem-mt.so: undefined reference to `wmemcpy'
libboost_filesystem-mt.so: undefined reference to `operator delete(void*)'
libboost_filesystem-mt.so: undefined reference to `__cxa_end_catch'
libboost_filesystem-mt.so: undefined reference to `rename'
libboost_filesystem-mt.so: undefined reference to `__gxx_personality_v0'
libboost_filesystem-mt.so: undefined reference to `typeinfo for
std::exception'
libboost_filesystem-mt.so: undefined reference to `statvfs64'
libboost_filesystem-mt.so: undefined reference to `write'
libboost_filesystem-mt.so: undefined reference to `std::locale::id::_Id_cnt'
libboost_filesystem-mt.so: undefined reference to `chdir'
libboost_filesystem-mt.so: undefined reference to `_Unwind_Resume'
libboost_filesystem-mt.so: undefined reference to `memchr'
libboost_filesystem-mt.so: undefined reference to `__get_errno_ptr'
libboost_filesystem-mt.so: undefined reference to `std::codecvt<wchar_t,
char, _Mbstatet>::id'
libboost_filesystem-mt.so: undefined reference to `__cxa_pure_virtual'
libboost_filesystem-mt.so: undefined reference to `read'
libboost_filesystem-mt.so: undefined reference to `unlink'
libboost_filesystem-mt.so: undefined reference to `_Locksyslock'
libboost_filesystem-mt.so: undefined reference to `_Unlocksyslock'

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 => ./libboost_filesystem-mt.so
(0xb8200000)
ldd: ./libboost_filesystem-mt.so: Memory fault (core dumped)

I do not figure out why this happens.

Thanks
Ricardo

-- 
View this message in context: http://www.nabble.com/library-dependency-problem-in-qnx-tp16996702p16996702.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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