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!

ld: fatal: symbol referencing errors on solaris 11 with developerstudio 12.5

fjolidonDec 5 2016 — edited Dec 14 2016

Hello everyone,

we recently upgraded from solarisstudio 12.3 to developerStudio 12.5. Since then, the following error appears as we try to build our code:

"ld:fatal:symbol referencing error"

After a bit of research it seems that developerStudio 12.5 adds some UNDEF symbols to some of our object files (on top of the normal ones), which doesn't happen with 12.3.

The linker then throws an error when linking the dynamic library against an executable. The only change we made to our Makefiles was the addition of the "-compat=5 -abiopt=mangle5 -library=stdcxx4" to allow the compiler to work with out old code.

Anyone with the same problems ? Any help is very welcome.

This post has been answered by Fedor-Oracle on Dec 12 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2017
Added on Dec 5 2016
10 comments
4,719 views