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!

studio 11 on solaris 8. link errors. help!

807578May 1 2009 — edited Jun 5 2009
I have a brand new solaris 8 zone. I believe it is fully patched.

I'm running sunstudio 11. but I'm getting an odd linking problem:
CC -mt -erroff=inllargeuse,reftotemp +w2 -xarch=v8plus -xchip=ultra -g -DDEBUG=1 -errtags=yes   -DSOLARIS -DULTRA -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64     -I./  -I/opt/geoff/DM/baselines      -o ../../../build/sun2.8-u32/obj/DMlistUsers/DMlistUsersLdap.o -c DMlistUsersLdap.cpp
/opt/geoff/DM/baselines/makefiles/sde_checkdir /opt/geoff/build/sun2.8-u32/bin/
cd ../../../build/sun2.8-u32/obj/DMlistUsers;  CC -mt -xarch=v8plus -xchip=ultra -o /opt/geoff/build/sun2.8-u32/bin/DMlistUsers.sun2.8-u32 DMlistUsers.o DMlistUsersLdap.o  -L/opt/geoff/build/sun2.8-u32/lib -lDMui_sun2.8-u32 -lDMutil_sun2.8-u32 -lDMio_sun2.8-u32 -lDMtapeio_sun2.8-u32 -lDMerr_sun2.8-u32 -lDMlog_sun2.8-u32 -lsocket -lnsl -Bstatic -lsunmath -Bdynamic -lm
Undefined                       first referenced
 symbol                             in file
bool std::operator==<char,std::char_traits<char>,std::allocator<char> >(const std::basic_string<__type_0,__type_1,__type_2>&,const __type_0*) /opt/geoff/build/sun2.8-u32/lib/libDMlog_sun2.8-u32.so
ld: fatal: Symbol referencing errors. No output written to /opt/geoff/build/sun2.8-u32/bin/DMlistUsers.sun2.8-u32
i've several references to this problem, but they all seem to say I need to apply patch 121017-19. But I did that. other references say "don't use -g (yeah right). [wikis.sun.com |http://wikis.sun.com/display/SunStudio/Sun+Studio+Express+11.08+Known+Problems+and+Workarounds] say this is fixed in a patch for solaris 10 only. But I need it on solaris 8. I'd hate to have to go back to studio 10. suggestions?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2009
Added on May 1 2009
16 comments
344 views