Linker error message "ld: internal error: get_string_block() called..."
Linker error message "ld: internal error: get_string_block() called..."
- Subject: Linker error message "ld: internal error: get_string_block() called..."
- From: Marc Liyanage <email@hidden>
- Date: Fri, 26 Mar 2004 09:35:55 +0100
Has anybody seen this error message before?
ld: internal error: get_string_block() called with symbol_name
(std::terminate()) not in the string blocks
I am converting/rebuilding my old PB project to a native XCode target.
I seem to have problems with a C++ library I'm linking in (Sablotron).
I had to add the stdc++ library first because of undefined C++ runtime
symbols, but then this message appeared at link time.
I always get the above error message and can't link. It doesn't matter
if I use ZeroLink or a deployment build style.
Below is the linker command and output.
BTW, am I supposed to switch to the libstdc++_ZeroLink.a library for
Zero-Link manually? Or is XCode handling that automatically? Am I even
supposed to add libstdc++ manually to my target's Frameworks?
BTW2: How han I force the linker to ignore the libxml2 (or any other
lib) that comes with Mac OS X in /usr/lib when I am supplying my own
version? It always looks at my custom and the OS' version, even though
I thought -L locations have precedence.
Ld
/tmp/TestXSLT.dst/Users/liyanage/Applications/TestXSLT.app/Contents/
MacOS/TestXSLT
setenv MACOSX_DEPLOYMENT_TARGET 10.3
cd /Users/liyanage/cvs/entropy/TestXSLT
/usr/bin/gcc-3.3 -o
/tmp/TestXSLT.dst/Users/liyanage/Applications/TestXSLT.app/Contents/
MacOS/TestXSLT -L/Users/liyanage/cvs/entropy/TestXSLT/build
-L/Users/liyanage/cvs/entropy/TestXSLT/build -LFrameworks
-F/Users/liyanage/cvs/entropy/TestXSLT/build
-F/Users/liyanage/cvs/entropy/TestXSLT/build -filelist
/Users/liyanage/cvs/entropy/TestXSLT/build/TestXSLT.build/
TestXSLT.build/Objects-normal/TestXSLT.LinkFileList -framework Cocoa
-framework Foundation -framework AppKit -framework WebKit -lexpat
-liconv -lsablot -lxml2 -lxslt -lcharset -lexslt -arch ppc -prebind
-Wl,-no_arch_warnings -Wl,-s -framework Foundation -framework AppKit
/usr/lib/gcc/darwin/3.3/libstdc++.a
ld: warning prebinding disabled because dependent library:
@executable_path/../Frameworks/libexpat.dylib is not prebound
ld: warning multiple definitions of symbol _xmlStrcmp
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrcmp
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrcmp
ld: warning multiple definitions of symbol _xmlCharStrdup
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlCharStrdup
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlCharStrdup
ld: warning multiple definitions of symbol _xmlStrcasecmp
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrcasecmp
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrcasecmp
ld: warning multiple definitions of symbol _xmlStrncmp
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrncmp
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrncmp
ld: warning multiple definitions of symbol _xmlStrcat
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrcat
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrcat
ld: warning multiple definitions of symbol _xmlStrncat
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrncat
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrncat
ld: warning multiple definitions of symbol _xmlStrncasecmp
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrncasecmp
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrncasecmp
ld: warning multiple definitions of symbol _xmlStrstr
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrstr
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrstr
ld: warning multiple definitions of symbol _xmlStrcasestr
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrcasestr
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrcasestr
ld: warning multiple definitions of symbol _xmlStrsub
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrsub
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrsub
ld: warning multiple definitions of symbol _xmlCharStrndup
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlCharStrndup
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlCharStrndup
ld: warning multiple definitions of symbol _xmlStrEqual
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrEqual
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrEqual
ld: warning multiple definitions of symbol _xmlStrchr
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrchr
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrchr
ld: warning multiple definitions of symbol _xmlStrdup
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrdup
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrdup
ld: warning multiple definitions of symbol _xmlStrlen
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrlen
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrlen
ld: warning multiple definitions of symbol _xmlStrndup
/usr/lib/libxml2.2.dylib(parser.lo) definition of _xmlStrndup
Frameworks/libxml2.dylib(xmlstring.o) definition of _xmlStrndup
ld: internal error: get_string_block() called with symbol_name
(std::terminate()) not in the string blocks
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.