[xml] Compile error libxml2-2.1.1/Solaris

Date view Thread view Subject view Author view

From: Paul Barnfather (plb@clanger9.demon.co.uk)
Date: Mon Jul 03 2000 - 14:55:51 EDT


Compilation fails with:

/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -O2 -msupersparc -c
nanohttp.c -fPIC -DPIC -o .libs/nanohttp.lo
nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:659: `socklen_t' undeclared (first use in this function)
nanohttp.c:659: (Each undeclared identifier is reported only once
nanohttp.c:659: for each function it appears in.)
nanohttp.c:659: parse error before `len'
nanohttp.c:660: `len' undeclared (first use in this function)
nanohttp.c:661: warning: passing arg 4 of `getsockopt' from incompatible pointer
type
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/src/build/libxml2-2.1.1'

Using gcc-2.95.2/Solaris 2.6.
Did autoconf miss a library out?

-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~ Paul Barnfather ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
|  plb@clanger9.demon.co.uk  paul.barnfather@northern-electric.co.uk |
|      __           http://www.clanger9.demon.co.uk    .             |
     o--o-... 75TS                                    o'~o... 750SS
----
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:19 EDT