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 bu...@apache.org on 2002/04/24 23:58:42 UTC

DO NOT REPLY [Bug 8492] New: - Incorrect HP link options

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8492>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8492

Incorrect HP link options

           Summary: Incorrect HP link options
           Product: Xerces-C++
           Version: 1.7.0
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Build
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: David_N_Bertoni@lotus.com


The Xerces shared library on HP-UX has two link problems.  The first is that 
the library is not being linked with the option to use the SHLIB_PATH 
environment variable for other shared library dependencies.  The other is that 
it is linking against some C++ run-time libraries that it shouldn't.  (This is 
per an HP employee who was helping me diagnose a problem with Xalan using the 
new HP standard library.)

A patch follows:

Index: Makefile.incl
===================================================================
RCS file: /home/cvspublic/xml-xerces/c/src/xercesc/Makefile.incl,v
retrieving revision 1.8
diff -r1.8 Makefile.incl
356,357c356,357
<     MAKE_SHARED = ${CXX} -D${PLATFORM} -b ${LDFLAGS}
<     MAKE_SHARED_C = ${CC} -D${PLATFORM} -b ${LDFLAGS}
---
>     MAKE_SHARED = ${CXX} -D${PLATFORM} -b -Wl,+s ${LDFLAGS}
>     MAKE_SHARED_C = ${CC} -D${PLATFORM} -b -Wl,+s ${LDFLAGS}
359c359
<         ALLLIBS = ${LIBS} -licuuc -licudata -lCsup -lstream
---
>         ALLLIBS = ${LIBS} -licuuc -licudata
361c361
<         ALLLIBS = ${LIBS} -lCsup -lstream
---
>         ALLLIBS = ${LIBS}

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org