<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Build issues on HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388137#M639744</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/22676"&gt;@Dennis Handly&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Yes, you can't mix g++ with aC++.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Ok I got that. Thanks Dennis.&lt;BR /&gt;&lt;BR /&gt;I used aCC for building Xerces, Xalan and this software. Now it builds correctly, however it is giving errors during runtime.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$ SHLIB_PATH=/home/obd/HP-UX/lib Release/HP-UX/bl-ovaldi
Segmentation fault (core dumped)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The directory /home/obd/HP-UX/lib contains all the libraries required to run bl-ovaldi.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On executing gdb I am getting the following call stack:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;Program received signal SIGSEGV, Segmentation fault.
0x77f3da2c in free+0x12c () from /usr/lib/libc.2
(gdb) where
#0  0x77f3da2c in free+0x12c () from /usr/lib/libc.2
#1  0x77fbe5a4 in __thread_mutex_free+0x8c () from /usr/lib/libc.2
#2  0x77d303cc in _HPMutexWrapper::~_HPMutexWrapper+0x34 () from /usr/lib/libstd_v2.2
#3  0x18aaa8 in Version::GetBuild (#aggretxform#426=@0x77ff0794) at ../../src/Version.cpp:74
#4  0x139224 in main (argc=1, argv=0x77ff060c) at ../../src/Main.cpp:70&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;The GetBuild () function (from Version.cpp) is as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;#define BUILD 1
string Version::GetBuild() {

       string version;
       ostringstream bld;
       bld &amp;lt;&amp;lt; BUILD;
       version.append(bld.str());
   return(version);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;As far as I can see, there is nothing that should dump core here.&lt;BR /&gt;Further, this code is working on Linux, Solaris and AIX.&lt;BR /&gt;&lt;BR /&gt;Can somebody help me in further troubleshooting this problem?&lt;/DIV&gt;</description>
    <pubDate>Fri, 11 Nov 2011 14:58:50 GMT</pubDate>
    <dc:creator>slash_blog</dc:creator>
    <dc:date>2011-11-11T14:58:50Z</dc:date>
    <item>
      <title>Build issues on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5385923#M639742</link>
      <description>&lt;P&gt;I am trying to build a software on HP-UX (HP-UX 11.00). It links against Xerces and Xalan libraries (amongst others).&lt;BR /&gt;&lt;BR /&gt;I am getting the following errors during the final linking phase.&lt;BR /&gt;Can somebody help me understand the problem?&lt;BR /&gt;&lt;BR /&gt;I compiled Xerces and Xalan using aCC (&lt;BR /&gt;as recommended) while I am using gcc/g++ for building this software, could that be a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/Test.o
/usr/ccs/bin/ld: Duplicate symbol "ISSECURE" in files
objs/HP-UX/Main.o and objs/HP-UX/Test.o
/usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/Test.o
/usr/ccs/bin/ld: Duplicate symbol "ISSECURE" in files
objs/HP-UX/Main.o and objs/HP-UX/DataCollector.o
/usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/DataCollector.o
/usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/DataCollector.o
/usr/ccs/bin/ld: Duplicate symbol "ISSECURE" in files
objs/HP-UX/Main.o and objs/HP-UX/ObjectCollector.o
/usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/ObjectCollector.o
/usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/ObjectCollector.o
/usr/ccs/bin/ld: Duplicate symbol "ISSECURE" in files
objs/HP-UX/Main.o and objs/HP-UX/ProbeFactory.o
/usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/ProbeFactory.o
/usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/ProbeFactory.o
/usr/ccs/bin/ld: Duplicate symbol "ISSECURE" in files
objs/HP-UX/Main.o and objs/HP-UX/ShadowProbe.o
/usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/ShadowProbe.o
/usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to
ISSECURE" in files objs/HP-UX/Main.o and objs/HP-UX/ShadowProbe.o
/usr/ccs/bin/ld: Unsatisfied symbols:
  xalanc_1_10::NodeRefList::~NodeRefList()(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanSourceTreeParserLiaison::setEntityResolver(xercesc_2_8::EntityResolver*)
       (first referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanSourceTreeDOMSupport::~XalanSourceTreeDOMSupport()(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMemory::operator delete(void*)(first referenced in
objs/HP-UX/AbsComponent.o) (code)
  xalanc_1_10::OutputString(std::basic_ostream&amp;lt;char,
std::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, unsigned short const*,
xercesc_2_8::MemoryManager&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XPathEvaluator::initialize(xercesc_2_8::MemoryManager&amp;amp;)
       (first referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLString::transcode(char const*)(first referenced in
objs/HP-UX/CollectedObject.o) (code)
  xalanc_1_10::XalanSourceTreeParserLiaison::~XalanSourceTreeParserLiaison()(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(xalanc_1_10::XalanSourceTreeDOMSupport&amp;amp;,
xercesc_2_8::MemoryManager&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLString::transcode(unsigned short const*)(first
referenced in objs/HP-UX/XmlCommon.o) (code)
  Process58Probe::GetPSInfo(std::basic_string&amp;lt;char,
std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;,
std::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt;
&amp;gt;, std::vector&amp;lt;Item*, std::allocator&amp;lt;Item*&amp;gt; &amp;gt;*)(first referenced in
objs/HP-UX/Process58Probe.o) (code)
  xercesc_2_8::InputSource::setSystemId(unsigned short const*)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::NodeRefList::item(unsigned int) const(first referenced
in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanDOMString::XalanDOMString(xercesc_2_8::MemoryManager&amp;amp;)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XPathEvaluator::selectSingleNode(xalanc_1_10::DOMSupport&amp;amp;,
xalanc_1_10::XalanNode*, unsigned short const*,
xalanc_1_10::PrefixResolver const&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  typeinfo for xercesc_2_8::DOMException(first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  typeinfo for xercesc_2_8::XMLEntityDecl(first referenced in
objs/HP-UX/AbsComponent.o) (data)
  xercesc_2_8::XMLPlatformUtils::fgMemoryManager       (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  typeinfo for xercesc_2_8::BinInputStream(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (data)
  xercesc_2_8::XMLUni::fgDOMWRTFormatPrettyPrint      (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  xalanc_1_10::TranscodeToLocalCodePage(unsigned short const*,
xalanc_1_10::XalanVector&amp;lt;char,
xalanc_1_10::MemoryManagedConstructionTraits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, bool,
char)(first referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLUni::fgXercescDefaultLocale      (first referenced
in objs/HP-UX/XmlProcessor.o) (data)
  xalanc_1_10::XPathEvaluator::terminate()     (first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLUni::fgDOMComments      (first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  typeinfo for xercesc_2_8::XMLException(first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::XMLUni::fgXercesValidationErrorAsFatal      (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::LocalFileFormatTarget::LocalFileFormatTarget(char
const*, xercesc_2_8::MemoryManager*)(first referenced in
objs/HP-UX/XmlProcessor.o) (code)
  xercesc_2_8::LocalFileInputSource::~LocalFileInputSource()(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanMemMgrs::getDummyMemMgr()      (first referenced
in objs/HP-UX/XmlFileContentProbe.o) (code)
  typeinfo for xercesc_2_8::InputSource(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (data)
  typeinfo for xalanc_1_10::XSLException(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (data)
  xalanc_1_10::XalanSourceTreeDOMSupport::XalanSourceTreeDOMSupport()(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLString::transcode(char const*, unsigned short*,
unsigned int, xercesc_2_8::MemoryManager*)(first referenced in
objs/HP-UX/XmlProcessor.o) (code)
  ProcessProbe::GetPSInfo(std::basic_string&amp;lt;char,
std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;,
std::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt;
&amp;gt;, std::vector&amp;lt;Item*, std::allocator&amp;lt;Item*&amp;gt; &amp;gt;*)(first referenced in
objs/HP-UX/ProcessProbe.o) (code)
  xalanc_1_10::XPathEvaluator::XPathEvaluator(xercesc_2_8::MemoryManager&amp;amp;)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLAttDefList::serialize(xercesc_2_8::XSerializeEngine&amp;amp;)(first
referenced in objs/HP-UX/AbsComponent.o) (code)
  xalanc_1_10::NodeRefList::NodeRefList(xalanc_1_10::NodeRefListBase
const&amp;amp;, xercesc_2_8::MemoryManager&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanDOMString::s_empty      (first referenced in
objs/HP-UX/XmlFileContentProbe.o) (data)
  xalanc_1_10::XPathEvaluator::~XPathEvaluator()(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLUni::fgDOMNamespaces      (first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::StdOutFormatTarget::StdOutFormatTarget()(first
referenced in objs/HP-UX/XmlProcessor.o) (code)
  xercesc_2_8::DTDEntityDecl::getProtoType() const (first referenced
in objs/HP-UX/AbsComponent.o) (code)
  xalanc_1_10::XalanSourceTreeParserLiaison::parseXMLStream(xercesc_2_8::InputSource
const&amp;amp;, xalanc_1_10::XalanDOMString const&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::DOMImplementationRegistry::getDOMImplementation(unsigned
short const*)(first referenced in objs/HP-UX/XmlProcessor.o) (code)
  xalanc_1_10::XalanSourceTreeInit::XalanSourceTreeInit(xercesc_2_8::MemoryManager&amp;amp;)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanDocumentPrefixResolver::XalanDocumentPrefixResolver(xalanc_1_10::XalanDocument
const*, xalanc_1_10::XalanDOMString const&amp;amp;,
xercesc_2_8::MemoryManager&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanSourceTreeInit::~XalanSourceTreeInit()(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::BinInputStream::~BinInputStream()(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLAttDefList::getProtoType() const (first referenced
in objs/HP-UX/AbsComponent.o) (code)
  getspnam (first referenced in objs/HP-UX/ShadowProbe.o) (code)
  xercesc_2_8::InputSource::InputSource(xercesc_2_8::MemoryManager*)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMemory::operator new(unsigned long)(first referenced
in objs/HP-UX/XmlProcessor.o) (code)
  xercesc_2_8::InputSource::setPublicId(unsigned short const*)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLUni::fgDOMWRTDiscardDefaultContent      (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  xalanc_1_10::XalanReferenceCountedObject::removeReference(xalanc_1_10::XalanReferenceCountedObject*)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::BinInputStream::BinInputStream()(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::LocalFileInputSource::LocalFileInputSource(unsigned
short const*, xercesc_2_8::MemoryManager*)(first referenced in
objs/HP-UX/XmlProcessor.o) (code)
  endspent (first referenced in objs/HP-UX/ShadowProbe.o) (code)
  xercesc_2_8::XMLEntityDecl::~XMLEntityDecl()(first referenced in
objs/HP-UX/AbsComponent.o) (code)
  xercesc_2_8::DTDEntityDecl::serialize(xercesc_2_8::XSerializeEngine&amp;amp;)(first
referenced in objs/HP-UX/AbsComponent.o) (code)
  xercesc_2_8::XMLUni::fgDOMWRTSplitCdataSections      (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::InputSource::setEncoding(unsigned short const*)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLAttDefList::isSerializable() const (first
referenced in objs/HP-UX/AbsComponent.o) (code)
  xercesc_2_8::PSVIItem::getActualValue() const(first referenced in
objs/HP-UX/AbsComponent.o) (code)
  xercesc_2_8::XMLUni::fgXercesSchemaFullChecking      (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  xalanc_1_10::XalanDocumentPrefixResolver::~XalanDocumentPrefixResolver()(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLPlatformUtils::Initialize(char const*, char const*,
xercesc_2_8::PanicHandler*, xercesc_2_8::MemoryManager*, bool)(first
referenced in objs/HP-UX/XmlProcessor.o) (code)
  xalanc_1_10::XalanDOMString::XalanDOMString(char const*,
xercesc_2_8::MemoryManager&amp;amp;, unsigned int)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLString::release(unsigned short**)(first referenced
in objs/HP-UX/CollectedObject.o) (code)
  xercesc_2_8::XMLString::release(char**)(first referenced in
objs/HP-UX/XmlCommon.o) (code)
  xercesc_2_8::InputSource::~InputSource()(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::NodeRefList::getLength() const(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLPlatformUtils::Terminate()     (first referenced in
objs/HP-UX/XmlProcessor.o) (code)
  xercesc_2_8::XMLUni::fgDOMValidation      (first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::XMLUni::fgXercesDOMHasPSVIInfo      (first referenced
in objs/HP-UX/XmlProcessor.o) (data)
  getspent (first referenced in objs/HP-UX/ShadowProbe.o) (code)
  xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr()      (first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLUni::fgDOMDatatypeNormalization      (first
referenced in objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::XMLUni::fgDOMWRTBOM      (first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::XMLUni::fgXercesSchema      (first referenced in
objs/HP-UX/XmlProcessor.o) (data)
  xercesc_2_8::Wrapper4InputSource::Wrapper4InputSource(xercesc_2_8::InputSource*,
bool, xercesc_2_8::MemoryManager*)(first referenced in
objs/HP-UX/XmlProcessor.o) (code)
  xalanc_1_10::XPathEvaluator::evaluate(xalanc_1_10::DOMSupport&amp;amp;,
xalanc_1_10::XalanNode*, unsigned short const*,
xalanc_1_10::PrefixResolver const&amp;amp;)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::DTDEntityDecl::isSerializable() const (first
referenced in objs/HP-UX/AbsComponent.o) (code)
/usr/ccs/bin/ld: Found 15 duplicate symbol(s)
collect2: ld returned 1 exit status
make: *** [Release/HP-UX/bl-ovaldi] Error 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks for any help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 14:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5385923#M639742</guid>
      <dc:creator>slash_blog</dc:creator>
      <dc:date>2011-11-09T14:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Build issues on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5386153#M639743</link>
      <description>&lt;P&gt;&amp;gt;I compiled Xerces and Xalan using aCC (as recommended) while I am using gcc/g++ for building this software, could that be a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can't mix g++ with aC++.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;ld: Duplicate symbol "ISSECURE" in files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would also be a problem.&amp;nbsp; This variable should only be defined in one source file, not in a .h file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 21:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5386153#M639743</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-09T21:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Build issues on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388137#M639744</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/22676"&gt;@Dennis Handly&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Yes, you can't mix g++ with aC++.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Ok I got that. Thanks Dennis.&lt;BR /&gt;&lt;BR /&gt;I used aCC for building Xerces, Xalan and this software. Now it builds correctly, however it is giving errors during runtime.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$ SHLIB_PATH=/home/obd/HP-UX/lib Release/HP-UX/bl-ovaldi
Segmentation fault (core dumped)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The directory /home/obd/HP-UX/lib contains all the libraries required to run bl-ovaldi.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On executing gdb I am getting the following call stack:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;Program received signal SIGSEGV, Segmentation fault.
0x77f3da2c in free+0x12c () from /usr/lib/libc.2
(gdb) where
#0  0x77f3da2c in free+0x12c () from /usr/lib/libc.2
#1  0x77fbe5a4 in __thread_mutex_free+0x8c () from /usr/lib/libc.2
#2  0x77d303cc in _HPMutexWrapper::~_HPMutexWrapper+0x34 () from /usr/lib/libstd_v2.2
#3  0x18aaa8 in Version::GetBuild (#aggretxform#426=@0x77ff0794) at ../../src/Version.cpp:74
#4  0x139224 in main (argc=1, argv=0x77ff060c) at ../../src/Main.cpp:70&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;The GetBuild () function (from Version.cpp) is as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;#define BUILD 1
string Version::GetBuild() {

       string version;
       ostringstream bld;
       bld &amp;lt;&amp;lt; BUILD;
       version.append(bld.str());
   return(version);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;As far as I can see, there is nothing that should dump core here.&lt;BR /&gt;Further, this code is working on Linux, Solaris and AIX.&lt;BR /&gt;&lt;BR /&gt;Can somebody help me in further troubleshooting this problem?&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Nov 2011 14:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388137#M639744</guid>
      <dc:creator>slash_blog</dc:creator>
      <dc:date>2011-11-11T14:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Build issues on HP-UX: -mt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388605#M639745</link>
      <description>&lt;P&gt;&amp;gt;I am getting the following call stack:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using libpthread, you must consistently compile with -mt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;#0 0x77f3da2c in free+0x12c /usr/lib/libc.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also have heap corruption.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2011 01:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388605#M639745</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-13T01:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Build issues on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388743#M639746</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/22676"&gt;@Dennis Handly&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;If you are using libpthread, you must consistently compile with -mt.&lt;/P&gt;&lt;BR /&gt;&amp;nbsp;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That was exactly what was needed. Thanks for your help.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sat, 12 Nov 2011 15:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388743#M639746</guid>
      <dc:creator>slash_blog</dc:creator>
      <dc:date>2011-11-12T15:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Build issues on HP-UX: -mt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388841#M639747</link>
      <description>&lt;P&gt;&amp;gt;That was exactly what was needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy with the answers you got, please assign kudos.&lt;/P&gt;&lt;P&gt;Also the solution should be my post not yours.&amp;nbsp; You can use the Options menu on the right to remove and add the solution.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2011 01:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/build-issues-on-hp-ux/m-p/5388841#M639747</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-13T01:29:01Z</dc:date>
    </item>
  </channel>
</rss>

