[xml] Compilation problems



Hello,

I'm using libxml on compaq (ex-digital) machine.
  <etf121> /home/in/odwe/libxml2-2.3.6 > uname -srvm
  OSF1 V4.0 1229 alpha

Libxml2-2.3.5 is working well, almost out of the box except for the
XPath problem (null division).
But I tried the 2.3.6 and it doesn't compile. If you are interested,
here are the traces (config.h attached)

-- Olivier Dwelshauvers





<etf121> /home/in/odwe/libxml2-2.3.6 > make
make  all-recursive
Making all in .

(...)

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.
-I./include -I./include       -g -c encoding.c
rm -f .libs/encoding.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -c encoding.c
-DPIC -o .libs/encoding.lo
cc: Warning: encoding.c, line 1665: In this statement, the referenced
type of the pointer value "&icv_in" is "pointer to const signed char",
which is not compatible with "pointer to signed char". (ptrmismatch)
        ret = iconv(cd, &icv_in, &icv_inlen, &icv_out, &icv_outlen);
------------------------^
mv -f .libs/encoding.lo encoding.o
(cd . && ln -s encoding.o encoding.lo)

(...)

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.
-I./include -I./include       -g -c trio.c
rm -f .libs/trio.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -c trio.c
-DPIC -o .libs/trio.lo
cc: Info: trio.c, line 500: In this declaration, type long double has
the same representation as type double on this platform and is treated
as a synonym for type double in this compilation mode. (longdoubleny1)
    long double longdoubleNumber;
----^
cc: Error: trio.c, line 2172: In this statement, "0" and "(args)" cannot
be compared for equality or inequality. (noequality)
  assert(VALID(args));
--^
cc: Error: trio.c, line 2680: In this statement, "0" and "(args)" cannot
be compared for equality or inequality. (noequality)
  assert(VALID(args));
--^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

/* config.h.  Generated automatically by configure.  */
/* config.h.in.  Generated automatically from configure.in by autoheader.  */

/* Define if you have the strftime function.  */
#define HAVE_STRFTIME 1

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

#define PACKAGE "libxml2"
#define VERSION "2.3.6"
/* #undef HAVE_LIBZ */
/* #undef HAVE_LIBM */
/* #undef HAVE_ISINF */
#define HAVE_ISNAN 1
/* #undef HAVE_LIBHISTORY */
/* #undef HAVE_LIBREADLINE */
#define SOCKLEN_T size_t

/* Define if you have the _stat function.  */
/* #undef HAVE__STAT */

/* Define if you have the class function.  */
/* #undef HAVE_CLASS */

/* Define if you have the finite function.  */
/* #undef HAVE_FINITE */

/* Define if you have the fp_class function.  */
/* #undef HAVE_FP_CLASS */

/* Define if you have the fpclass function.  */
/* #undef HAVE_FPCLASS */

/* Define if you have the fprintf function.  */
#define HAVE_FPRINTF 1

/* Define if you have the isnand function.  */
/* #undef HAVE_ISNAND */

/* Define if you have the localtime function.  */
#define HAVE_LOCALTIME 1

/* Define if you have the printf function.  */
#define HAVE_PRINTF 1

/* Define if you have the snprintf function.  */
/* #undef HAVE_SNPRINTF */

/* Define if you have the sprintf function.  */
#define HAVE_SPRINTF 1

/* Define if you have the sscanf function.  */
#define HAVE_SSCANF 1

/* Define if you have the stat function.  */
#define HAVE_STAT 1

/* Define if you have the strdup function.  */
#define HAVE_STRDUP 1

/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the strftime function.  */
#define HAVE_STRFTIME 1

/* Define if you have the strndup function.  */
/* #undef HAVE_STRNDUP */

/* Define if you have the vfprintf function.  */
#define HAVE_VFPRINTF 1

/* Define if you have the vsnprintf function.  */
/* #undef HAVE_VSNPRINTF */

/* Define if you have the vsprintf function.  */
#define HAVE_VSPRINTF 1

/* Define if you have the <arpa/inet.h> header file.  */
#define HAVE_ARPA_INET_H 1

/* Define if you have the <ctype.h> header file.  */
#define HAVE_CTYPE_H 1

/* Define if you have the <dirent.h> header file.  */
#define HAVE_DIRENT_H 1

/* Define if you have the <errno.h> header file.  */
#define HAVE_ERRNO_H 1

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <float.h> header file.  */
#define HAVE_FLOAT_H 1

/* Define if you have the <fp_class.h> header file.  */
#define HAVE_FP_CLASS_H 1

/* Define if you have the <ieeefp.h> header file.  */
/* #undef HAVE_IEEEFP_H */

/* Define if you have the <malloc.h> header file.  */
#define HAVE_MALLOC_H 1

/* Define if you have the <math.h> header file.  */
#define HAVE_MATH_H 1

/* Define if you have the <nan.h> header file.  */
#define HAVE_NAN_H 1

/* Define if you have the <ndir.h> header file.  */
/* #undef HAVE_NDIR_H */

/* Define if you have the <netdb.h> header file.  */
#define HAVE_NETDB_H 1

/* Define if you have the <netinet/in.h> header file.  */
#define HAVE_NETINET_IN_H 1

/* Define if you have the <stdarg.h> header file.  */
#define HAVE_STDARG_H 1

/* Define if you have the <stdlib.h> header file.  */
#define HAVE_STDLIB_H 1

/* Define if you have the <string.h> header file.  */
/* #undef HAVE_STRING_H */

/* Define if you have the <sys/dir.h> header file.  */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the <sys/mman.h> header file.  */
#define HAVE_SYS_MMAN_H 1

/* Define if you have the <sys/ndir.h> header file.  */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the <sys/select.h> header file.  */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/socket.h> header file.  */
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the <sys/stat.h> header file.  */
#define HAVE_SYS_STAT_H 1

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/types.h> header file.  */
#define HAVE_SYS_TYPES_H 1

/* Define if you have the <time.h> header file.  */
#define HAVE_TIME_H 1

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the <zlib.h> header file.  */
/* #undef HAVE_ZLIB_H */

/* Define if you have the iconv library (-liconv).  */
#define HAVE_LIBICONV 1

/* Define if you have the inet library (-linet).  */
/* #undef HAVE_LIBINET */

/* Define if you have the nsl library (-lnsl).  */
/* #undef HAVE_LIBNSL */

/* Define if you have the socket library (-lsocket).  */
/* #undef HAVE_LIBSOCKET */

/* Name of package */
#define PACKAGE "libxml2"

/* Version number of package */
#define VERSION "2.3.6"

/* Define if compiler has function prototypes */
#define PROTOTYPES 1



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