You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2009/08/10 20:11:14 UTC
[jira] Closed: (XERCESC-1651) The library is created with wrong
name ( .sl instead of .so ) for HPUX
[ https://issues.apache.org/jira/browse/XERCESC-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alberto Massari closed XERCESC-1651.
------------------------------------
Resolution: Won't Fix
The new build system for Xerces 3.0 uses libtool to link, so it should take care of using the right suffix
> The library is created with wrong name ( .sl instead of .so ) for HPUX
> ----------------------------------------------------------------------
>
> Key: XERCESC-1651
> URL: https://issues.apache.org/jira/browse/XERCESC-1651
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.7.0
> Environment: HPUX 11
> Reporter: kappen
> Priority: Critical
>
> If you look in the Makefile.incl file you will find a SHLIBSUFFIX flag
> that is set to .sl not to .so as what one would expect to finde.
> #================= HP SPECIFIC OPTIONS ===========================
> ifeq (${PLATFORM}, HPUX)
> OSVERDEFINE=HPUX11
> ifeq (${OSVER}, HPUX10)
> OSVERDEFINE=HPUX10
> endif
> ifeq (${CXX}, aCC)
> ifeq (${CXXVER}, aCC05)
> PLATFORM_COMPILE_OPTIONS = -D_HP_UX -DHPaCC -D${OSVERDEFINE} -mt +Z
> else
> PLATFORM_COMPILE_OPTIONS = -D_HP_UX -DHPaCC -D${OSVERDEFINE} +DAportable +Z
> endif
>
> MAKE_SHARED = ${CXX} ${PLATFORM_COMPILE_OPTIONS} -D${PLATFORM} ${LDFLAGS}
> MAKE_SHARED_C = ${CC} ${PLATFORM_COMPILE_OPTIONS} -D${PLATFORM} ${LDFLAGS}
> ifeq (${TRANSCODER}, ICU)
> ALLLIBS = ${LIBS} -licuuc -licudata
> else
> ALLLIBS = ${LIBS}
> endif
> ifeq (${MESSAGELOADER}, ICU)
> ALLLIBS = ${LIBS} -licuuc -licudata -lXercesMessages
> endif
> ifeq (${CXXVER}, aCC05)
> EXTRA_LINK_OPTIONS = -b -Wl,+s -Wl,+b,. -mt
> DEPDOM_LINK_OPTIONS = -b -Wl,+s -Wl,+b,. -mt
> else
> EXTRA_LINK_OPTIONS = -b -Wl,+s -Wl,+b,.
> DEPDOM_LINK_OPTIONS = -b -Wl,+s -Wl,+b,.
> endif
>
> SHLIBSUFFIX=.sl
> ICUSHLIBSUFFIX=.sl
> else
> TEMPLATESREPOSITORY = ${XML_OBJ_DIR}/ptrepository
> COMMON_COMPILE_OPTIONS = -D_HP_UX -DXERCES_TMPLSINC \
> -D${OSVERDEFINE} +DAportable +eh +Z -Z +a1 +d
> ifeq ($(MODULE), dom)
> PLATFORM_COMPILE_OPTIONS = -DDOM_PROJ $(COMMON_COMPILE_OPTIONS)
> else
> PLATFORM_COMPILE_OPTIONS = $(COMMON_COMPILE_OPTIONS) -ptr${TEMPLATESREPOSITORY}
> endif
> MAKE_SHARED = $(CXX) $(PLATFORM_COMPILE_OPTIONS) $(XML_INCL) ${LDFLAGS}
> MAKE_SHARED_C = $(CC) $(PLATFORM_COMPILE_OPTIONS) $(XML_INCL) ${LDFLAGS}
> ifeq (${TRANSCODER}, ICU)
> ALLLIBS = ${LIBS} -licuuc -licudata
> else
> ALLLIBS = ${LIBS}
> endif
> ifeq (${MESSAGELOADER}, ICU)
> ALLLIBS = ${LIBS} -licuuc -licudata -lXercesMessages
> endif
> EXTRA_LINK_OPTIONS = -b -Wl,+s -Wl,+b,. -Wl,-a,shared
> DEPDOM_LINK_OPTIONS = -b -Wl,+s -Wl,+b,. -Wl,-a,shared
> SHLIBSUFFIX=.sl
> ICUSHLIBSUFFIX=.sl
> endif
> ## Compiler switch to embed a library name
> LD_SONAME = -Wl,+h,${SO_NAME}
> LD_SODEPDOM = -Wl,+h,${SO_DEPDOM}
> endif
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org