[xml] Building on Solaris 2.6



SunOS 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-Enterprise

Dies due to libz.

68) ~/libxml/libxml2-2.4.5 %ll /usr/local/lib/libz*
-rw-r--r--   1 root     other      70488 Jan 20  1999 /usr/local/lib/libz.a

No libz.so.  Is that the issue?


~/libxml/libxml2-2.4.5> make
make  all-recursive
Making all in include
Making all in libxml
Making all in .
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I./include -I./include  -I/include  -g -O2 -Wall -c SAX.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -I/include -g -O2
-Wall -c SAX.c  -fPIC -DPIC -o .libs/SAX.lo
...

encoding.c: In function `xmlIconvWrapper':
encoding.c:1902: warning: passing arg 2 of `iconv' from incompatible
pointer type

...
catalog.c: In function `xmlInitializeCatalog':
catalog.c:1991: warning: implicit declaration of function `getenv'
catalog.c:1994: warning: assignment makes pointer from integer without a cast


gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -I/include -g -O2
-Wall -c catalog.c -o catalog.o >/dev/null 2>&1
mv -f .libs/catalog.lo catalog.lo
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -o libxml2.la -rpath
/usr/local/lib -version-info 6:5:4 SAX.lo entities.lo  encoding.lo error.lo
parserInternals.lo  parser.lo tree.lo hash.lo list.lo xmlIO.lo
xmlmemory.lo uri.lo valid.lo xlink.lo  HTMLparser.lo HTMLtree.lo
debugXML.lo xpath.lo  xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo
DOCBparser.lo catalog.lo -lz -L/lib -lm -lsocket -lnsl
rm -fr .libs/libxml2.la .libs/libxml2.* .libs/libxml2.*
/usr/ccs/bin/ld -G -h libxml2.so.2 -o .libs/libxml2.so.2.4.5  SAX.lo
entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo
hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo
HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo
nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo  -lz -L/lib -lm -lsocket
-lnsl -lc 
ld: fatal: library -lz: not found
ld: fatal: File processing errors. No output written to .libs/libxml2.so.2.4.5
*** Error code 1
make: Fatal error: Command failed for target `libxml2.la'
Current working directory /data/_g/lii/libxml/libxml2-2.4.5
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /data/_g/lii/libxml/libxml2-2.4.5
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'

I Will need help with VMS next.




Bill Moseley
mailto:moseley hank org




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