Build issues on HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX Build issues on HP-UX
# 1  
Old 11-09-2011
Build issues on HP-UX

I am trying to build a software on HP-UX (HP-UX 11.00). It links against Xerces and Xalan libraries (amongst others).

I am getting the following errors during the final linking phase.
Can somebody help me understand the problem?

I compiled Xerces and Xalan using aCC (
as recommended) while I am using gcc/g++ for building this software, could that be a problem?


Code:
/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<char,
std::char_traits<char> >&, unsigned short const*,
xercesc_2_8::MemoryManager&)(first referenced in
objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XPathEvaluator::initialize(xercesc_2_8::MemoryManager&)
       (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&,
xercesc_2_8::MemoryManager&)(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<char,
std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, std::vector<Item*, std::allocator<Item*> >*)(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&)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XPathEvaluator::selectSingleNode(xalanc_1_10::DOMSupport&,
xalanc_1_10::XalanNode*, unsigned short const*,
xalanc_1_10::PrefixResolver const&)(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<char,
xalanc_1_10::MemoryManagedConstructionTraits<char> >&, 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<char,
std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, std::vector<Item*, std::allocator<Item*> >*)(first referenced in
objs/HP-UX/ProcessProbe.o) (code)
  xalanc_1_10::XPathEvaluator::XPathEvaluator(xercesc_2_8::MemoryManager&)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xercesc_2_8::XMLAttDefList::serialize(xercesc_2_8::XSerializeEngine&)(first
referenced in objs/HP-UX/AbsComponent.o) (code)
  xalanc_1_10::NodeRefList::NodeRefList(xalanc_1_10::NodeRefListBase
const&, xercesc_2_8::MemoryManager&)(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&, xalanc_1_10::XalanDOMString const&)(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&)(first
referenced in objs/HP-UX/XmlFileContentProbe.o) (code)
  xalanc_1_10::XalanDocumentPrefixResolver::XalanDocumentPrefixResolver(xalanc_1_10::XalanDocument
const*, xalanc_1_10::XalanDOMString const&,
xercesc_2_8::MemoryManager&)(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&)(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&, 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&,
xalanc_1_10::XalanNode*, unsigned short const*,
xalanc_1_10::PrefixResolver const&)(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

Thanks for any help,
# 2  
Old 11-12-2011
Code:
I compiled Xerces and Xalan using aCC (
as recommended) while I am using gcc/g++ for building this software, could that be a problem?

Generally, yes. I can't say for sure, but I had this problem when linking programs compiled with gcc to libraries compiled with icc (intell compiler). The difference has to do with how the symbols are named and how the functions are called.

Either compile with aCC or recompile the libraries with gcc (but keep both version of libraries around).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies

2. Linux Benchmarks

Newer PC build.

Just decided to run the benchmark for the heck of it. -Version- Dist: Debian GNU/Linux 8.5 CPU/Speed: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz RAM: DDR4 DRAM 64 GB 3000 MHz CMK64GX4M4B3000C15 MB: Maximus VIII Ranger Bus: 8 sata, 1 M.2 Socket 3 Cache: L2=4 x 256KB, L3=8 MB shared... (1 Reply)
Discussion started by: bajanine
1 Replies

3. SuSE

Personal SUSE build installation issues.

http://uploads.tapatalk-cdn.com/20160725/0174562490859032f68430fb0fa216cd.jpg I have created a personally made SUSE-based distro using susestudio.com and it will install just fine on my laptops (32-bit Acer Aspire One ZG5 and MacBook 4,1). However, when installing on an old Emachine desktop, I... (6 Replies)
Discussion started by: TheOuterLinux
6 Replies

4. Shell Programming and Scripting

Build.xml invocation by Build Script

Hi I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies

5. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

6. Shell Programming and Scripting

Build failure

Hey everyone, I'm using Linux Mint Debian Edition Gnome, and I'm trying to add the Oracle JDK to the repositories using this simple script, which has never let me down before, but it keeps giving me this error every time I run it, here's my output: eddie_nygma@enigmatics ~ $ sudo ./oab-java.sh ... (0 Replies)
Discussion started by: Quizmaster
0 Replies

7. Programming

Build Error

I am facing a problem while building the device driver code. I am using suse linux "2.6.31.5-0.1-desktop" on my Laptop. I have copied a folder containing self written device driver files from Mandriva linux to my system having Suse Linux. I copied the entire folder in "/home/netuser/sun/".... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

8. Linux

how to build my own distro

howdy.... I am currently in a project, which needs a new distribution of linux.. At first, we select suse as our platform, but this newest version suse is at least several gigabytes. but recently, we want to run out system in a flash card with capacity of 500M, So, self-customized linux is... (6 Replies)
Discussion started by: macroideal
6 Replies

9. Programming

How to build .exe from c

All, I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program. Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies

10. Solaris

build error

dears i working in solaris and when i type make for report it gives me the error kindly can you help me what is the reason -bash-3.00$ make BPSEXT130 make: Warning: File `BPSEXT130.rc' has modification time 12 s in the future make BPSEXT130.c make: Entering directory... (3 Replies)
Discussion started by: murad.jaber
3 Replies
Login or Register to Ask a Question