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 "kappen (JIRA)" <xe...@xml.apache.org> on 2006/11/22 13:32:04 UTC
[jira] Created: (XERCESC-1651) The library is created with wrong
name ( .sl instead of .so ) for HPUX
The library is created with wrong name ( .sl instead of .so ) for HPUX
----------------------------------------------------------------------
Key: XERCESC-1651
URL: http://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
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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Closed: (XERCESC-1651) The library is created with wrong
name ( .sl instead of .so ) for HPUX
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ 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
[jira] Updated: (XERCESC-1651) The library is created with wrong
name ( .sl instead of .so ) for HPUX
Posted by "kappen (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kappen updated XERCESC-1651:
----------------------------
Priority: Critical (was: Major)
More things that sould be changed for it to be realy usfull, are the linking flags.
with the origial flags the so file can not be moved and if you link it will always be version dependent, and then there is no point in makeing a libxerces.so aliase if you always need the libxerces.so.27.0 one any way.
#================= 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 -mt
DEPDOM_LINK_OPTIONS = -b -mt
else
EXTRA_LINK_OPTIONS = -b
DEPDOM_LINK_OPTIONS = -b
endif
SHLIBSUFFIX=.so
ICUSHLIBSUFFIX=.so
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,-a,shared
DEPDOM_LINK_OPTIONS = -b -Wl,-a,shared
SHLIBSUFFIX=.so
ICUSHLIBSUFFIX=.so
endif
LD_SONAME =
LD_SODEPDOM =
endif
> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org