Re: [xml] Need help in compiling to HP-UX

Date view Thread view Subject view Author view

From: Juan José Rodríguez (jrodrisa@gobierno.jalisco.gob.mx)
Date: Fri Jun 02 2000 - 21:02:42 EDT


I think. The library hasn't been tested with a c++ compiler. and you
have detected at least one C++ related error.
----begin error -----
/bin/sh ./libtool --mode=compile aCC -I. -c SAX.c
aCC -I -c SAX.c -o SAX.o

Error 19:"./libxml/xlink.h", line 180 # Unexpected '}'.
-----end error----
this is because in the file there is this code:
----- begin xlink.h line 18 -----
#ifdef __cplusplus
#define extern "C" {
#endif
------- end xlink.h line 18 ------
and that must be
----- begin corrected xlink.h line 18 -----
#ifdef __cplusplus
extern "C" {
#endif
-------end correct xlink.h line 18 ------
and the SAX.h has the same error.

    You should try to install the GNU C compiler to build the library.

Greetings
Juan José Rodríguez

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:14 EDT