curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

AIX 7.2 XLC Linker issues

From: Andy O'Shaughnessy via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 6 Mar 2020 11:23:28 +0000

*Why might I get these linker errors using XLC on AIX 7.2?*

*System :*

% xlc -qversion
IBM XL C/C++ for AIX, V13.1.3 (5725-C72, 5765-J07)
Version: 13.01.0003.0000

% uname -a
AIX xxxx 2 7 00F785084C00

*Linker Errors :*

ld: 0711-317 ERROR: Undefined symbol: __crt0v
ld: 0711-317 ERROR: Undefined symbol: exit
ld: 0711-317 ERROR: Undefined symbol: __mod_init
ld: 0711-317 ERROR: Undefined symbol: __malloc_user_defined_name
ld: 0711-317 ERROR: Undefined symbol: errno
ld: 0711-317 ERROR: Undefined symbol:
.__dt__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fv
ld: 0711-317 ERROR: Undefined symbol: .__dl__FPv
ld: 0711-317 ERROR: Undefined symbol:
.compare__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFPCc
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FPCc
ld: 0711-317 ERROR: Undefined symbol: .__setUncaughtExceptionFlag__3stdFb
ld: 0711-317 ERROR: Undefined symbol: .__ThrowV6
ld: 0711-317 ERROR: Undefined symbol:
.clear__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.__as__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FPCc
ld: 0711-317 ERROR: Undefined symbol: __dl__FPv
ld: 0711-317 ERROR: Undefined symbol:
__UnsupportedConditionalExpressionDestruction__FPvl
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fv
ld: 0711-317 ERROR: Undefined symbol: cout__3std
ld: 0711-317 ERROR: Undefined symbol:
.__ls__3stdHQ2_3std11char_traitsXTc__RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__PCc_RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__
ld: 0711-317 ERROR: Undefined symbol:
endl__3stdHcQ2_3std11char_traitsXTc__RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc___RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__
ld: 0711-317 ERROR: Undefined symbol:
.__ls__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__FPFRQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc___RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__
ld: 0711-317 ERROR: Undefined symbol:
.__apl__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FPCc
ld: 0711-317 ERROR: Undefined symbol: cerr__3std
ld: 0711-317 ERROR: Undefined symbol:
.find_last_of__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFPCcUl
ld: 0711-317 ERROR: Undefined symbol:
.substr__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFUlT1
ld: 0711-317 ERROR: Undefined symbol:
.__as__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__
ld: 0711-317 ERROR: Undefined symbol:
.__ls__3stdHcQ2_3std11char_traitsXTc_Q2_3std9allocatorXTc__RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__RCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc___RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__
ld: 0711-317 ERROR: Undefined symbol: .atoi
ld: 0711-317 ERROR: Undefined symbol:
.__vc__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FUl
ld: 0711-317 ERROR: Undefined symbol:
.length__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFv
ld: 0711-317 ERROR: Undefined symbol: .__nw__FUl
ld: 0711-317 ERROR: Undefined symbol:
.c_str__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFv
ld: 0711-317 ERROR: Undefined symbol: .__ReThrowV6
ld: 0711-317 ERROR: Undefined symbol: .unexpected__3stdFv
ld: 0711-317 ERROR: Undefined symbol: .terminate__3stdFv
ld: 0711-317 ERROR: Undefined symbol: .__CleanupCatchV6a
ld: 0711-317 ERROR: Undefined symbol:
.__ls__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__FL
ld: 0711-317 ERROR: Undefined symbol:
.__ls__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__Fi
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std19basic_ostringstreamXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fi
ld: 0711-317 ERROR: Undefined symbol:
.__dt__Q2_3std19basic_ostringstreamXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.str__Q2_3std19basic_ostringstreamXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFv
ld: 0711-317 ERROR: Undefined symbol: .unatexit
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FUlc
ld: 0711-317 ERROR: Undefined symbol: .atexit
ld: 0711-317 ERROR: Undefined symbol:
.__apl__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fc
ld: 0711-317 ERROR: Undefined symbol: .sprintf
ld: 0711-317 ERROR: Undefined symbol:
__dt__Q2_3std19basic_ostringstreamXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
__dt__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol: .__CatchMatch
ld: 0711-317 ERROR: Undefined symbol:
.fill__Q2_3std9basic_iosXTcTQ2_3std11char_traitsXTc__Fc
ld: 0711-317 ERROR: Undefined symbol:
.erase__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FUlT1
ld: 0711-317 ERROR: Undefined symbol: .time
ld: 0711-317 ERROR: Undefined symbol: .localtime
ld: 0711-317 ERROR: Undefined symbol:
.__ls__3stdHQ2_3std11char_traitsXTc__RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__c_RQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__
ld: 0711-317 ERROR: Undefined symbol: .setw__3stdFi
ld: 0711-317 ERROR: Undefined symbol:
.flush__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.str__Q2_3std19basic_ostringstreamXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__
ld: 0711-317 ERROR: Undefined symbol: .clear__Q2_3std8ios_baseFib
ld: 0711-317 ERROR: Undefined symbol:
.is_open__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__CFv
ld: 0711-317 ERROR: Undefined symbol:
.close__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.open__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__FPCci
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.__dt__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
__dt__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.__ls__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__Fb
ld: 0711-317 ERROR: Undefined symbol:
.__ls__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__FUl
ld: 0711-317 ERROR: Undefined symbol:
.__ct__Q2_3std14basic_ifstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.open__Q2_3std14basic_ifstreamXTcTQ2_3std11char_traitsXTc__FPCc
ld: 0711-317 ERROR: Undefined symbol: .strerror
ld: 0711-317 ERROR: Undefined symbol:
.getline__Q2_3std13basic_istreamXTcTQ2_3std11char_traitsXTc__FPci
ld: 0711-317 ERROR: Undefined symbol:
.__dt__Q2_3std14basic_ifstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
.compare__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__
ld: 0711-317 ERROR: Undefined symbol:
__dt__Q2_3std14basic_ifstreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol:
__dt__Q2_3std13basic_istreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol: .uname
ld: 0711-317 ERROR: Undefined symbol: .getlogin_r
ld: 0711-317 ERROR: Undefined symbol: .getenv
ld: 0711-317 ERROR: Undefined symbol:
.at__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FUl
ld: 0711-317 ERROR: Undefined symbol:
.find_first_of__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFPCcUl
ld: 0711-317 ERROR: Undefined symbol:
.empty__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__CFv
ld: 0711-317 ERROR: Undefined symbol: .setbase__3stdFi
ld: 0711-317 ERROR: Undefined symbol: .strnlen
ld: 0711-317 ERROR: Undefined symbol:
.assign__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FPCcUl
ld: 0711-317 ERROR: Undefined symbol:
.__ls__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__FUi
ld: 0711-317 ERROR: Undefined symbol:
.__apl__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__FRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__
ld: 0711-317 ERROR: Undefined symbol: .system
ld: 0711-317 ERROR: Undefined symbol: .___memset64
ld: 0711-317 ERROR: Undefined symbol: .strchr
ld: 0711-317 ERROR: Undefined symbol: .strcpy
ld: 0711-317 ERROR: Undefined symbol:
.open__Q2_3std14basic_ofstreamXTcTQ2_3std11char_traitsXTc__FPCc
ld: 0711-317 ERROR: Undefined symbol: _Fpz__3std
ld: 0711-317 ERROR: Undefined symbol:
.seekp__Q2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__FQ2_3std4fposXTPc_
ld: 0711-317 ERROR: Undefined symbol: __vn__FUl
ld: 0711-317 ERROR: Undefined symbol: __vd__FPv
ld: 0711-317 ERROR: Undefined symbol: .__vec__new2
ld: 0711-317 ERROR: Undefined symbol:
.clear__Q2_3std9basic_iosXTcTQ2_3std11char_traitsXTc__Fi
ld: 0711-317 ERROR: Undefined symbol:
.seekg__Q2_3std13basic_istreamXTcTQ2_3std11char_traitsXTc__FlQ3_3std8ios_base7seekdir
ld: 0711-317 ERROR: Undefined symbol:
.peek__Q2_3std13basic_istreamXTcTQ2_3std11char_traitsXTc__Fv
ld: 0711-317 ERROR: Undefined symbol: .exit
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-06