Bundle link Errors Entry Point
- From: "brianhray@xxxxxxxxx" <brianhray@xxxxxxxxx>
- Date: 26 Jul 2005 15:43:09 -0700
I am trying to gather more information on the causes of link errors
when trying to compile a bundle Package in CW9.5 with a valid entry
point and exported symbols using pragma, in the linker setting.
Link Error : undefined: 'std::locale::~locale()' (imported)
Referenced from '!!ls$56203Controller_cpp' in Controller.cpp
Referenced from '_putoct$58087Controller_cpp' in Controller.cpp
Referenced from '_putdec$58102Controller_cpp' in Controller.cpp
Referenced from '_putdec$58112Controller_cpp' in Controller.cpp
Referenced from '_puthex$58120Controller_cpp' in Controller.cpp
.... (many more) ...
Referenced from 'do_put$60198Controller_cpp' in Controller.cpp
Referenced from 'update_codecvt$60268Controller_cpp' in Controller.cpp
Referenced from '!!C1$55158LayoutManager_cpp' in common_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined:
'xalanc_1_8::XSLTResultTarget::~XSLTResultTarget()' (imported)
Referenced from 'OnPreviewform$52391WebCollectDlg_cpp' in
status_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'xercesc_2_5::DOM_NodeList::~DOM_NodeList()'
(imported)
Referenced from 'ReadFromBuffer$49458WC_FieldData_cpp' in
status_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'std::__wInit::~__wInit()' (non lazy ptr IL)
Referenced from '__sinit_/StatusHelper_cpp' in status_macho_d.lib
Referenced from '__sinit_/statusAppleEvents_cpp' in status_macho_d.lib
.... (Many More) ...
Referenced from '__sinit_/ConnectingTool_cpp' in ConnectingTool.cpp
Referenced from '__sinit_/Connecterize_cpp' in Connecterize.cpp
Referenced from '__sinit_/CollectDialog_cpp' in CollectDialog.cpp
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'mktime' (code)
Referenced from 'PR_ParseTimeString' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'strtoul' (code)
Referenced from 'GetInt' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'memchr' (code)
Referenced from 'Convert' in NSPR20MachODebug.lib
Referenced from '_pr_strtoull' in NSPR20MachODebug.lib
Referenced from 'GetInt' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: '_current_locale' (non lazy ptr IL)
Referenced from 'PR_ParseTimeString' in NSPR20MachODebug.lib
Referenced from 'GetFloat' in NSPR20MachODebug.lib
Referenced from '_pr_strtoull' in NSPR20MachODebug.lib
Referenced from 'Convert' in NSPR20MachODebug.lib
Referenced from 'DoScanf' in NSPR20MachODebug.lib
Referenced from 'PR_VersionCheck' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: '__restore_fpr_22' (code)
Referenced from 'PR_strtod' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: '__double_huge' (non lazy ptr IL)
Referenced from 'PR_strtod' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'printf' (code)
Referenced from 'dosprintf' in NSPR20MachODebug.lib
Referenced from 'BuildArgArray' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'sscanf' (code)
Referenced from '_PR_InitLog' in NSPR20MachODebug.lib
Referenced from '_PR_SetLogModuleLevel' in NSPR20MachODebug.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'read' (code)
Referenced from 'BufferGetPS(void*, char**, unsigned int*)' in
common_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'write' (code)
Referenced from 'BufferHandOff(void*, void*, char*, int)' in
common_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'close' (code)
Referenced from 'EndOfJob(void*)' in common_macho_d.lib
Referenced from 'CloseExternalFile(void*, void*)' in common_macho_d.lib
Referenced from 'BufferGetPS(void*, char**, unsigned int*)' in
common_macho_d.lib
Referenced from 'HandleEndPage(void*, _t_SPDKeyValue*, NSPageInfo*)' in
common_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'open' (code)
Referenced from 'alizerObject::RunJob(const char*, const char*)' in
common_macho_d.lib
Referenced from 'CreateExternalFile(void*, alizerSidelineType, void**,
char*, int)' in common_macho_d.lib
Referenced from 'BufferGetPS(void*, char**, unsigned int*)' in
common_macho_d.lib
Referenced from 'HandleStartPage(void*, void**)' in common_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'std::_BCD::to_string(int, int&)const '
(code)
Referenced from 'int std::__put_e_digits<long double,
std::string>(std::ios_base&, long double, std::string&)' in
Controller.cpp
Referenced from 'void std::__put_f_digits<long double,
std::string>(std::ios_base&, long double, std::string&)' in
Controller.cpp
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: '__fpclassifyd' (code)
Referenced from 'void std::__put_nan_digits<long double,
std::string>(std::ios_base&, long double, std::string&)' in
Controller.cpp
Referenced from 'std::num_put<char, std::ostreambuf_iterator<char,
std::char_traits<char> > >::do_put(ostreambuf_iterator<char,
std::char_traits<char> >, std::ios_base&, char, long double)const ' in
Controller.cpp
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: '__div2u' (code)
Referenced from 'PR_IntervalToMicroseconds' in NSPR20MachODebug.lib
Referenced from 'PR_MicrosecondsToInterval' in NSPR20MachODebug.lib
Referenced from 'PR_MillisecondsToInterval' in NSPR20MachODebug.lib
Referenced from 'PR_IntervalToMilliseconds' in NSPR20MachODebug.lib
Referenced from '_MD_GetInterval' in NSPR20MachODebug.lib
Referenced from 'cvt_ll' in NSPR20MachODebug.lib
Referenced from 'int std::__putdigits<char, unsigned long
long>(std::ios_base&, unsigned long long, char*, const
std::ctype<char>&, __bool8)' in Controller.cpp
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: '__mod2u' (code)
Referenced from 'cvt_ll' in NSPR20MachODebug.lib
Referenced from 'int std::__putdigits<char, unsigned long
long>(std::ios_base&, unsigned long long, char*, const
std::ctype<char>&, __bool8)' in Controller.cpp
Project: Pro.mcp, Target: Pro Debug
(...)
Link Error : undefined: 'getenv' (code)
Referenced from '_MD_GetEnv' in NSPR20MachODebug.lib
Referenced from 'UnixSubstitute' in port_macho_d.lib
Project: Pro.mcp, Target: Pro Debug
(...)
Several Mach-O static libraries are included and appear to actually be
there. In addition, I have added bundle1.o. If I added
MSL_All_Mach-O_D.lib I still get link errors--but am unsure if this is
needed. My include paths for /usr/include and /usr/lib are not
recursive. Recursive I include:
MSL/MSL_C
MSL/MSL_C++
MacOS Support
MacOS X Support
MacOS Support/(Third Party Support)
I also have set actions to copy any frameworks I have included to the
bundle. I have not done anything with the statically liked libs (is any
action needed with these?).
In the linker settings, when Export Symbols is turned to Global, a
single error occurs, "Link Error : Output file would contain no
segments, check export settings". When "Use #pragma" and removing the
Entry Point there is set of errors starting with:
Link Error : undefined: 'std::__wInit::~__wInit()' (non lazy ptr IL)
Referenced from '__sinit_/Rect_cpp' in common_macho_d.lib ...
I must be doing something wrong. My guess is with the entry point.
However, I am unsure where else to look because the pragma export on
and a valid entry point are already being defined.
Any Ideas?
.
- Follow-Ups:
- Re: Bundle link Errors Entry Point
- From: brianhray@xxxxxxxxx
- Re: Bundle link Errors Entry Point
- Prev by Date: Re: libraries n stuff
- Next by Date: Re: How to convert MAC paths to BSD (unix) paths?
- Previous by thread: Sterr fprintf REALLY slow
- Next by thread: Re: Bundle link Errors Entry Point
- Index(es):