views:

11

answers:

1

Hi Everybody,

Has anybody compiled xalan 1.11 using ICU? I am building it using ICU and its generating one library called libxalanMsg.111.0.dylib and its being generated using the below mentioned steps

============ /tmp/brijesh/ICU//bin/genrb -p xalanMsg -d ../../../nls/icu-i ../../../nls/icu ../../../nls/icu/en_US.txt echo ../../../nls/icu/xalanMsg_en_US.res > ../../../nls/icu/res-file-list.txt /tmp/brijesh/ICU//bin/pkgdata --name xalanMsg -T ../../../nls/icu -v -O /tmp/brijesh/ICU//lib/icu/Makefile.inc --mode dll -d ../../../lib ../../../nls/icu/res- file-list.txt -M "prefix=/tmp/brijesh/ICU/ TARGET=libxalanMsg.111.0.dylib" cat ../../../nls/icu/res-file-list.txt > ../../../nls/icu/xalanMsg_dll.lst DYLD_LIBRARY_PATH=/tmp/brijesh/ICU//lib:$DYLD_LIBRARY_PATH /tmp/brijesh/ICU//sbin/gencmn -c -e xalanMsg -n xalanMsg -s . -t dat -d ../../../nls/icu 0 ../../../nls/icu/xalanMsg_dll.lst DYLD_LIBRARY_PATH=/tmp/brijesh/ICU//lib:$DYLD_LIBRARY_PATH /tmp/brijesh/ICU//sbin/genccode -a gcc-darwin -n xalanMsg -e xalanMsg -d ../../../nls/icu ../../../nls/icu/xalanMsg.dat generating assembly code for ../../../nls/icu/xalanMsg.dat gcc -DHAVE_CONFIG_H -I/tmp/brijesh/ICU//include -Os -g -arch ppc -finline-limit=200 -pipe -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -DIS_PIC -fno-common -c -dynamic -o ../../../nls/icu/xalanMsg_dat.o ../../../nls/icu/xalanMsg_dat.s rm -rf ../../../nls/icu/xalanMsg_dat.s gcc -dynamiclib -dynamic -Os -g -arch ppc -finline-limit=200 -pipe - DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 - isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -DIS_PIC -o ../../../lib/libxalanMsg.111.0.dylib ../../../nls/icu/xalanMsg_dat.o ls -l ../../../lib/libxalanMsg.111.0.dylib -rwxr-xr-x 1 brijeshs ness 29572 Jun 28 08:25 ../../../lib/libxalanMsg.111.0.dylib

Reading ../../../nls/icu/res-file-list.txt..

Output file: ../../../lib/lib$(LIBNAME).dylib

/usr/bin/gmake -f ../../../nls/icu/xalanMsg_dll.mak prefix=/tmp/brijesh/ICU/ TARGET=libxalanMsg.111.0.dylib ln -fs libxalanMsg.111.0.dylib ../../../lib/libxalanMsg.dylib ln -fs libxalanMsg.111.0.dylib ../../../lib/libxalanMsg.dylib.111

==============

The problem apprear when its building libxalan-c.dylib and the warning appears as

======= g++ -g -gdwarf-2 -arch ppc -Os -finline-limit=200 -fno-expensive-optimizations - fvisibility=hidden -pipe -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DMACOSX -dynamiclib -prebind -seg1addr 0x38000000 -compatibility_version 1 -current_version 1.11 -install_name libxalan-c.dylib -D_REENTRANT -lm -L/tmp/brijesh/ICU/lib -lpthread -L/usr/lib -L/usr/local/lib -L/netapp-home/brijeshs/wa/lmadmin-ant-py/LMADMIN-ANT-2-PYMAKE/lmadmin/3rdparty/xerces/xerces-c-3.1.0//lib -lxerces-c -L../../lib -lxalanMsg -L/tmp/brijesh/ICU//lib -lsicuuc -L/tmp/brijesh/ICU//lib -lsicui18n -lsicudata -lsicuio -lsiculx -lsicutu -L/netapp-home/brijeshs/wa/lmadmin-ant-py/LMADMIN-ANT-2-PYMAKE/lmadmin/3rdparty/xerces/xerces-c-3.1.0//lib -lxerces-c -L../../lib -lxalanMsg -L/tmp/brijesh/ICU//lib -lsicuuc -L/tmp/brijesh/ICU//lib -lsicui18n -lsicudata -lsicuio -lsiculx -lsicutu ../../obj/XalanAttr.o ../../obj/XalanCDataSection.o ../../obj/XalanCharacterData.o ../../obj/XalanComment.o ../../obj/XalanDOMException.o ../../obj/XalanDOMImplementation.o ../../obj/XalanDOMInit.o ../../obj/XalanDOMString.o ../../obj/XalanDocument.o ../../obj/XalanDocumentFragment.o ../../obj/XalanDocumentType.o ../../obj/XalanElement.o ../../obj/XalanEmptyNamedNodeMap.o ../../obj/XalanEntity.o ../../obj/XalanEntityReference.o ../../obj/XalanNamedNodeMap.o ../../obj/XalanNode.o ../../obj/XalanNodeList.o ../../obj/XalanNodeListDummy.o ../../obj/XalanNodeListSurrogate.o ../../obj/XalanNotation.o ../../obj/XalanProcessingInstruction.o ../../obj/XalanText.o ../../obj/AttributeListImpl.o ../../obj/AttributesImpl.o ../../obj/DOMStringHelper.o ../../obj/DOMStringPrintWriter.o ../../obj/DoubleSupport.o ../../obj/ExecutionContext.o ../../obj/FormatterListener.o ../../obj/NamedNodeMapAttributeList.o ../../obj/NullPrintWriter.o ../../obj/PlatformSupportInit.o ../../obj/PrefixResolver.o ../../obj/PrintWriter.o ../../obj/ProblemListenerBase.o ../../obj/StdBinInputStream.o ../../obj/StringTokenizer.o ../../obj/URISupport.o ../../obj/Writer.o ../../obj/XSLException.o ../../obj/XalanBitmap.o ../../obj/XalanDOMStringAllocator.o ../../obj/XalanDOMStringCache.o ../../obj/XalanDOMStringHashTable.o ../../obj/XalanDOMStringPool.o ../../obj/XalanDOMStringReusableAllocator.o ../../obj/XalanDecimalFormatSymbols.o ../../obj/XalanEncodingPropertyCache.o ../../obj/XalanFStreamOutputStream.o ../../obj/XalanFileOutputStream.o ../../obj/XalanICUMessageLoader.o ../../obj/XalanInMemoryMessageLoader.o ../../obj/XalanMemoryManagement.o ../../obj/XalanMemoryManagerDefault.o ../../obj/XalanMessageLoader.o ../../obj/XalanNLSMessageLoader.o ../../obj/XalanNullOutputStream.o ../../obj/XalanNumberFormat.o ../../obj/XalanOutputStream.o ../../obj/XalanOutputStreamPrintWriter.o ../../obj/XalanParsedURI.o ../../obj/XalanReferenceCountedObject.o ../../obj/XalanSimplePrefixResolver.o ../../obj/XalanStdOutputStream.o ../../obj/XalanToXercesTranscoderWrapper.o ../../obj/XalanTranscodingServices.o ../../obj/XalanUTF16Transcoder.o ../../obj/XalanXMLChar.o ../../obj/DOMServices.o ../../obj/DOMSupport.o ../../obj/DOMSupportDefault.o ../../obj/DOMSupportException.o ../../obj/DOMSupportInit.o ../../obj/TreeWalker.o ../../obj/XalanDocumentPrefixResolver.o ../../obj/XalanNamespacesStack.o ../../obj/FormatterToHTML.o ../../obj/FormatterToNull.o ../../obj/FormatterToText.o ../../obj/FormatterToXML.o ../../obj/FormatterTreeWalker.o ../../obj/XMLParserLiaison.o ../../obj/XMLSupportException.o ../../obj/XMLSupportInit.o ../../obj/XalanHTMLElementsProperties.o ../../obj/XalanUTF16Writer.o ../../obj/XalanUTF8Writer.o ../../obj/XalanXMLSerializerBase.o ../../obj/XalanXMLSerializerFactory.o ../../obj/ElementPrefixResolverProxy.o ../../obj/FormatterStringLengthCounter.o ../../obj/Function.o ../../obj/FunctionConcat.o ../../obj/FunctionContains.o ../../obj/FunctionID.o ../../obj/FunctionLang.o ../../obj/FunctionNamespaceURI.o ../../obj/FunctionNormalizeSpace.o ../../obj/FunctionStartsWith.o ../../obj/FunctionString.o ../../obj/FunctionSubstring.o ../../obj/FunctionSubstringAfter.o ../../obj/FunctionSubstringBefore.o ../../obj/FunctionTranslate.o ../../obj/MutableNodeRefList.o ../../obj/NodeRefList.o ../../obj/NodeRefListBase.o ../../obj/XBoolean.o ../../obj/XNodeSet.o ../../obj/XNodeSetAllocator.o ../../obj/XNodeSetBase.o ../../obj/XNodeSetNodeProxy.o ../../obj/XNodeSetNodeProxyAllocator.o ../../obj/XNodeSetResultTreeFragProxy.o ../../obj/XNumber.o ../../obj/XNumberAllocator.o ../../obj/XNumberBase.o ../../obj/XObject.o ../../obj/XObjectFactory.o ../../obj/XObjectFactoryDefault.o ../../obj/XObjectResultTreeFragProxy.o ../../obj/XObjectResultTreeFragProxyBase.o ../../obj/XObjectResultTreeFragProxyText.o ../../obj/XObjectTypeCallback.o ../../obj/XPath.o ../../obj/XPathAllocator.o ../../obj/XPathConstructionContext.o ../../obj/XPathConstructionContextDefault.o ../../obj/XPathEnvSupport.o ../../obj/XPathEnvSupportDefault.o ../../obj/XPathEvaluator.o ../../obj/XPathExecutionContext.o ../../obj/XPathExecutionContextDefault.o ../../obj/XPathExpression.o ../../obj/XPathFactory.o ../../obj/XPathFactoryBlock.o ../../obj/XPathFactoryDefault.o ../../obj/XPathFunctionTable.o ../../obj/XPathInit.o ../../obj/XPathParserException.o ../../obj/XPathProcessor.o ../../obj/XPathProcessorImpl.o ../../obj/XString.o ../../obj/XStringAdapter.o ../../obj/XStringAdapterAllocator.o ../../obj/XStringAllocator.o ../../obj/XStringBase.o ../../obj/XStringCached.o ../../obj/XStringCachedAllocator.o ../../obj/XStringReference.o ../../obj/XStringReferenceAllocator.o ../../obj/XToken.o ../../obj/XTokenNumberAdapter.o ../../obj/XTokenNumberAdapterAllocator.o ../../obj/XTokenStringAdapter.o ../../obj/XTokenStringAdapterAllocator.o ../../obj/XUnknown.o ../../obj/XalanDocumentFragmentNodeRefListBaseProxy.o ../../obj/XalanQName.o ../../obj/XalanQNameByReference.o ../../obj/XalanQNameByValue.o ../../obj/XalanQNameByValueAllocator.o ../../obj/XalanXPathException.o ../../obj/FormatterToXercesDOM.o ../../obj/XercesAttrWrapper.o ../../obj/XercesAttrWrapperAllocator.o ../../obj/XercesCDATASectionWrapper.o ../../obj/XercesCommentWrapper.o ../../obj/XercesDOMException.o ../../obj/XercesDOMFormatterWalker.o ../../obj/XercesDOMImplementationWrapper.o ../../obj/XercesDOMSupport.o ../../obj/XercesDOMWalker.o ../../obj/XercesDOMWrapperException.o ../../obj/XercesDocumentTypeWrapper.o ../../obj/XercesDocumentWrapper.o ../../obj/XercesElementWrapper.o ../../obj/XercesElementWrapperAllocator.o ../../obj/XercesEntityReferenceWrapper.o ../../obj/XercesEntityWrapper.o ../../obj/XercesLiaisonXalanDOMStringPool.o ../../obj/XercesNamedNodeMapAttributeList.o ../../obj/XercesNamedNodeMapWrapper.o ../../obj/XercesNodeListWrapper.o ../../obj/XercesNotationWrapper.o ../../obj/XercesParserLiaison.o ../../obj/XercesProcessingInstructionWrapper.o ../../obj/XercesTextWrapper.o ../../obj/XercesTextWrapperAllocator.o ../../obj/XercesWrapperHelper.o ../../obj/XercesWrapperNavigator.o ../../obj/XercesWrapperNavigatorAllocator.o ../../obj/XercesWrapperToXalanNodeMap.o ../../obj/FormatterToDeprecatedXercesDOM.o ../../obj/XercesAttrBridge.o ../../obj/XercesAttributeBridgeAllocator.o ../../obj/XercesBridgeHelper.o ../../obj/XercesBridgeNavigator.o ../../obj/XercesCDATASectionBridge.o ../../obj/XercesCommentBridge.o ../../obj/XercesDOMImplementationBridge.o ../../obj/XercesDOM_NodeHack.o ../../obj/XercesDocumentBridge.o ../../obj/XercesDocumentFragmentBridge.o ../../obj/XercesDocumentTypeBridge.o ../../obj/XercesElementBridge.o ../../obj/XercesElementBridgeAllocator.o ../../obj/XercesEntityBridge.o ../../obj/XercesEntityReferenceBridge.o ../../obj/XercesNamedNodeMapBridge.o ../../obj/XercesNodeListBridge.o ../../obj/XercesNotationBridge.o ../../obj/XercesProcessingInstructionBridge.o ../../obj/XercesTextBridge.o ../../obj/XercesTextBridgeAllocator.o ../../obj/XercesToXalanNodeMap.o ../../obj/XercesTreeWalker.o ../../obj/FormatterToSourceTree.o ../../obj/XalanSourceTreeAttr.o ../../obj/XalanSourceTreeAttrNS.o ../../obj/XalanSourceTreeAttributeAllocator.o ../../obj/XalanSourceTreeAttributeNSAllocator.o ../../obj/XalanSourceTreeComment.o ../../obj/XalanSourceTreeCommentAllocator.o ../../obj/XalanSourceTreeContentHandler.o ../../obj/XalanSourceTreeDOMSupport.o ../../obj/XalanSourceTreeDocument.o ../../obj/XalanSourceTreeDocumentFragment.o ../../obj/XalanSourceTreeElement.o ../../obj/XalanSourceTreeElementA.o ../../obj/XalanSourceTreeElementAAllocator.o ../../obj/XalanSourceTreeElementANS.o ../../obj/XalanSourceTreeElementANSAllocator.o ../../obj/XalanSourceTreeElementNA.o ../../obj/XalanSourceTreeElementNAAllocator.o ../../obj/XalanSourceTreeElementNANS.o ../../obj/XalanSourceTreeElementNANSAllocator.o ../../obj/XalanSourceTreeHelper.o ../../obj/XalanSourceTreeInit.o ../../obj/XalanSourceTreeParserLiaison.o ../../obj/XalanSourceTreeProcessingInstruction.o ../../obj/XalanSourceTreeProcessingInstructionAllocator.o ../../obj/XalanSourceTreeText.o ../../obj/XalanSourceTreeTextAllocator.o ../../obj/XalanSourceTreeTextIWS.o ../../obj/XalanSourceTreeTextIWSAllocator.o ../../obj/XPathCAPI.o ../../obj/AVT.o ../../obj/AVTPart.o ../../obj/AVTParPartXPathAllocator.o ../../obj/XalanElemApplyTemplatesAllocator.o ../../obj/XalanElemAttributeAllocator.o ../../obj/XalanElemAttributeSetAllocator.o ../../obj/XalanElemCallTemplateAllocator.o ../../obj/XalanElemElementAllocator.o ../../obj/XalanElemEmptyAllocator.o ../../obj/XalanElemLiteralResultAllocator.o ../../obj/XalanElemTemplateAllocator.o ../../obj/XalanElemTextAllocator.o ../../obj/XalanElemTextLiteralAllocator.o ../../obj/XalanElemValueOfAllocator.o ../../obj/XalanElemVariableAllocator.o ../../obj/XalanMatchPatternData.o ../../obj/XalanMatchPatternDataAllocator.o ../../obj/XalanNumberingResourceBundle.o ../../obj/XalanSourceTreeDocumentAllocator.o ../../obj/XalanSourceTreeDocumentFragmentAllocator.o ../../obj/XalanSpaceNodeTester.o ../../obj/FunctionDifference.o ../../obj/FunctionDistinct.o ../../obj/FunctionEvaluate.o ../../obj/FunctionHasSameNodes.o ../../obj/FunctionIntersection.o ../../obj/FunctionNodeSet.o ../../obj/XalanExtensions.o ../../obj/XalanCAPI.o ../../obj/XalanCompiledStylesheetDefault.o ../../obj/XalanDefaultDocumentBuilder.o ../../obj/XalanDefaultParsedSource.o ../../obj/XalanParsedSource.o ../../obj/XalanSourceTreeWrapperParsedSource.o ../../obj/XalanTransformer.o ../../obj/XalanTransformerOutputStream.o ../../obj/XalanTransformerProblemListener.o ../../obj/XercesDOMParsedSource.o ../../obj/XercesDOMWrapperParsedSource.o ../../obj/XalanEXSLTCommon.o ../../obj/XalanEXSLTDateTime.o ../../obj/XalanEXSLTDynamic.o ../../obj/XalanEXSLTMath.o ../../obj/XalanEXSLTSet.o ../../obj/XalanEXSLTString.o ../../obj/XalanDiagnosticMemoryManager.o ../../obj/XalanFileUtility.o ../../obj/XalanXMLFileReporter.o ../../obj/ICUBridge.o ../../obj/ICUBridgeCleanup.o ../../obj/ICUBridgeCollationCompareFunctor.o ../../obj/ICUBridgeCollationCompareFunctorImpl.o ../../obj/ICUFormatNumberFunctor.o ../../obj/ICUXalanNumberFormatFactory.o ../../obj/ICUXalanNumberFormatProxy.o -o ../../lib/libxalan-c.111.0.dylib

ld: warning prebinding disabled because dependent library: ../../../lib/libxalanMsg.111.0.dylib is not prebound rm -f ../../lib/libxalan-c.dylib && \ ln -fs libxalan-c.111.0.dylib ../../lib/libxalan-c.dylib rm -f ../../lib/libxalan-c.111.dylib && \ ln -fs libxalan-c.111.0.dylib ../../lib/libxalan-c.111.dylib

========== Now although I can see the library is built using with the final build statement but when I am linking this library to the executable which needs definitions in this lib, I don't get it resolved and it comes up with error of Undefined Symbols !

Has anybody come across this issue earlier?

A: 

You didn't paste any error that I can see, just warnings. Can you paste the actual error?

Steven R. Loomis