Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

__errno() not defined..

807575Mar 23 2007 — edited Mar 23 2007
Getting this error while building a C++ executable on Solaris 10 using SUN Studio 11.

Undefined
symbol int*___errno()
ld: fatal: Symbol referencing errors.

We are using the -mt flag as one of the compiler options and the module builds fine if -mt is not specified. I was expecting this to be defined in the thread safe library /usr/lib/libCstd.so.1 but it is not.

nm libCstd.so.1 |grep __errno
[3851] | 0| 0|FUNC |GLOB |0 |UNDEF |___errno

Any thoughts on what I am missing?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2007
Added on Mar 23 2007
5 comments
447 views