IBM Support

C and C++ BaseStation undefined reference errors

Troubleshooting


Problem

This technote explains how to undefined reference errors, that might occur when using IBM® Rational® Test RealTime®.

Symptom

When attempting to build the BaseStation project within Rational Test RealTime, numerous "undefined reference" errors are generated:



    /home/purifyplus/BaseStation/clinuxgnu3_2/UmtsConnection.o: In function `_AttInDtor21351278731::_atl_avoid_unused_warning(void)':
    /home/purifyplus/BaseStation/clinuxgnu3_2/UmtsConnection.aug.cpp(.text+0xf6): undefined reference to `endl(ostream &)'
    /home/purifyplus/BaseStation/clinuxgnu3_2/UmtsConnection.aug.cpp(.text+0x133): undefined reference to `cerr'
    /home/purifyplus/BaseStation/clinuxgnu3_2/UmtsConnection.aug.cpp(.text+0x138): undefined reference to `ostream::operator<<(char const *)'
    /home/purifyplus/BaseStation/clinuxgnu3_2/UmtsConnection.aug.cpp(.text+0x143): undefined reference to `ostream::operator<<(char const *)'
    /home/purifyplus/BaseStation/clinuxgnu3_2/UmtsConnection.aug.cpp(.text+0x14e): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))' .....

[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.12;2003.06.13;2003.06.14;2003.06.15","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

120513319

Document Information

Modified date:
16 June 2018

UID

swg21120825