Re: [xml] Use of 'strdup' in xmlmemory.c?



On Mon, Dec 10, 2001 at 10:25:06AM +0100, Henke, Markus wrote:
  Well as long as you have an ansi compiler this should not be that
hard (this uses ASCII for C strings encoding I hope).
 
Hope so, and indeed i'm a big step up the ladder since i've found
a workeround for a parser bug in HP C/iX compiler (see coming
post regarding that subject...).
But there is still a major problem that lets the './configure' skript
generate inapplicable header files:
(From HP 3000 MPE/iX porting guide)

"At link time, unresolved external symbols are not returned as an error
condition because MPE supports run-time binding to external libraries."

  Dohhh. 

The result is that './configure' find each and every function that it
scans, so the HAVE_... macros are all defined (many of them erroneously).
At least IMHO there is a coherence...

  In that case, either use a different toolchain (seems gcc is available if
I believe http://www.bixby.org/mark/porting.html) or hardcode your config.h
and include/libxml/xmlversion.h for MPE/iX and skip the configure phase.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]