unkown symbol

Anybody know which system lib has the following symbols?
(rtp 6.2beta)


unknown symbol: width__8ios_basei
unknown symbol: _Unlock__6_Mutex
unknown symbol: clear__8ios_baseQ2t5_Iosb1Zi8_Iostateb
unknown symbol: rdstate__C8ios_base
unknown symbol: flags__C8ios_base
unknown symbol: good__C8ios_base
unknown symbol: _Lock__6_Mutex
unknown symbol: width__C8ios_base
unknown symbol: fail__C8ios_base
unknown symbol: __Q28ios_base4Init
unknown symbol: _._Q28ios_base4Init

thanks!
frank

This looks like you managed to compile some code that
uses the dinkum C++ headers but without the -fhonor-std option
that the library has been compiled with, since the std:: versions
of all these symbols is in libcpp.so

fliu@bb.vipstage.com wrote:

Anybody know which system lib has the following symbols?
(rtp 6.2beta)


unknown symbol: width__8ios_basei
unknown symbol: _Unlock__6_Mutex
unknown symbol: clear__8ios_baseQ2t5_Iosb1Zi8_Iostateb
unknown symbol: rdstate__C8ios_base
unknown symbol: flags__C8ios_base
unknown symbol: good__C8ios_base
unknown symbol: _Lock__6_Mutex
unknown symbol: width__C8ios_base
unknown symbol: fail__C8ios_base
unknown symbol: __Q28ios_base4Init
unknown symbol: _._Q28ios_base4Init

thanks!
frank


cburgess@qnx.com

Colin Burgess <cburgess@qnx.com> wrote:

This looks like you managed to compile some code that
uses the dinkum C++ headers but without the -fhonor-std option
that the library has been compiled with, since the std:: versions
of all these symbols is in libcpp.so

I just used g++ to compile the code.
in 6.1, -fhonor-std was taken care by the “specs” file. 6.2 doesn’t
seem to have that in the “specs” file. What other options shall I
use if I use “g++” ?

thanks!
frank

fliu@bb.vipstage.com > wrote:
Anybody know which system lib has the following symbols?
(rtp 6.2beta)


unknown symbol: width__8ios_basei
unknown symbol: _Unlock__6_Mutex
unknown symbol: clear__8ios_baseQ2t5_Iosb1Zi8_Iostateb
unknown symbol: rdstate__C8ios_base
unknown symbol: flags__C8ios_base
unknown symbol: good__C8ios_base
unknown symbol: _Lock__6_Mutex
unknown symbol: width__C8ios_base
unknown symbol: fail__C8ios_base
unknown symbol: __Q28ios_base4Init
unknown symbol: _._Q28ios_base4Init

thanks!
frank


cburgess@qnx.com

fliu@bb.vipstage.com wrote:

Colin Burgess <> cburgess@qnx.com> > wrote:
This looks like you managed to compile some code that
uses the dinkum C++ headers but without the -fhonor-std option
that the library has been compiled with, since the std:: versions
of all these symbols is in libcpp.so

I just used g++ to compile the code.
in 6.1, -fhonor-std was taken care by the “specs” file. 6.2 doesn’t
seem to have that in the “specs” file. What other options shall I
use if I use “g++” ?

The specs file now defaults to using the GNU C++ library, so it
doesn’t include any of the Dinkum inspired switches.

-fhonor-std -fno-builtin and the include and link lines I gave you
in a previous posting should do it if you want to still use Dinkum.


cburgess@qnx.com