RE: FW: Error compiling SSL library

Hi Angelo,

From the output it looks like Xml parser is missing some of its files or
libraries it depends on. Try to delete -lxmlparse from the link directives in
makefile or ask mailing list how to build it properly (I do not know about XML
Parser).

For HTBufferConverter_new: I do not have it in my version of the wwwlib (you
probably do not have it too(?). It is defined in HTBufWrt.c in current version
of the library). Maybe you need to update the library.

Olga.    

On 23-Aug-99 Angelo Nardone wrote:
> 
> 
> -----Original Message-----
> From: www-lib-request@w3.org [mailto:www-lib-request@w3.org] On Behalf Of
> Angelo Nardone
> Sent: Monday, August 23, 1999 6:11 PM
> To:   www-lib@w3.org
> Subject:      Error compiling SSL library
> Importance:   High
> 
> I have this ERROR result when I tried to compile the SSL lib.
> I am using FreeBSD 3.2
> I compiled libwww-5.2.6
> And also I have openssl-0.9.4
> Could somebody help me with this ?
> 
> Thanks
> Angelo
> 
> 
> 
> 
> gmake  all-recursive
> gmake[1]: Entering directory '/usr/local/w3c-libwww-ssl-1.0.1'
> Making all in config
> gmake[2]: Entering directory '/usr/local/w3c-libwww-ssl-1.0.1/config'
> gmake[2]: Nothing to be done for 'all'.
> gmake[2]: Leaving directory '/usr/local/w3c-libwww-ssl-1.0.1/config'
> Making all in windows
> gmake[2]: Entering directory '/usr/local/w3c-libwww-ssl-1.0.1/windows'
> gmake[2]: Nothing to be done for 'all'.
> gmake[2]: Leaving directory '/usr/local/w3c-libwww-ssl-1.0.1/windows'
> gmake[2]: Entering directory '/usr/local/w3c-libwww-ssl-1.0.1'
> /bin/sh ./libtool-mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include    -g -O2 -c -o HTSSL.lo HTSSL.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c  -fPIC -DPIC HTSSL.c -o
> .libs/HTSSL.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c HTSSL.c -o HTSSL.o >/dev/null 2>&1
> mv -f .libs/HTSSL.lo HTSSL.lo
> /bin/sh ./libtool-mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include    -g -O2 -c -o HTSSLReader.lo HTSSLReader.c
> rm -f .libs/HTSSLReader.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c  -fPIC -DPIC HTSSLReader.c -o
> .libs/HTSSLReader.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c HTSSLReader.c -o HTSSLReader.o
>>/dev/null 2>&1
> mv -f .libs/HTSSLReader.lo HTSSLReader.lo
> /bin/sh ./libtool-mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include    -g -O2 -c -o HTSSLWriter.lo HTSSLWriter.c
> rm -f .libs/HTSSLWriter.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c  -fPIC -DPIC HTSSLWriter.c -o
> .libs/HTSSLWriter.lo HTSSLWriter.c: In function 'HTSSLWriter_new':
> HTSSLWriter.c:283: warning: return makes pointer from integer without a cast
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c HTSSLWriter.c -o HTSSLWriter.o
>>/dev/null 2>&1
> mv -f .libs/HTSSLWriter.lo HTSSLWriter.lo
> /bin/sh ./libtool-mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include    -g -O2 -c -o HTSSLhttps.lo HTSSLhttps.c
> rm -f .libs/HTSSLhttps.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c  -fPIC -DPIC HTSSLhttps.c -o
> .libs/HTSSLhttps.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include -g -O2 -c HTSSLhttps.c -o HTSSLhttps.o
>>/dev/null 2>&1
> mv -f .libs/HTSSLhttps.lo HTSSLhttps.lo
> /bin/sh ./libtool-mode=link gcc  -g -O2  -version-info "1:0:1" -o
> libwwwssl.la -rpath /usr/local/lib  HTSSL.lo HTSSLReader.lo HTSSLWriter.lo
> HTSSLhttps.lo  -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local/lib -lmd5 -l
> xmltok -lxmlparse -lwww rm -fr .libs/libwwwssl.la .libs/libwwwssl.*
> .libs/libwwwssl.* *** Warning: This library needs some functionality
> provided by -lssl.  *** I have the capability to make that library
> automatically link in when *** you link to this library.  But I can only do
> this if you have a *** shared version of the library, which you do not
> appear to have.
> *** Warning: This library needs some functionality provided by -lcrypto.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a ***
> shared version of the library, which you do not appear to have.  *** The
> inter-library dependencies that have been dropped here will be ***
> automatically added whenever a program is linked with this library *** or is
> declared to -dlopen it.  gcc -shared  HTSSL.lo HTSSLReader.lo HTSSLWriter.lo
> TSSLhttps.lo  -L/usr/local/ssl/lib -L/usr/local/lib -lmd5 -lxmltok -lxmlpars
> e -lwww -lc  -Wl,-soname -Wl,libwwwssl.so.1 -o .libs/libwwwssl.so.1 (cd
> .libs && rm -f libwwwssl.so && ln -s libwwwssl.so.1 libwwwssl.so) (cd .libs
> && rm -f libwwwssl.so && ln -s libwwwssl.so.1 libwwwssl.so)
> ar cru .libs/libwwwssl.a  HTSSL.o HTSSLReader.o HTSSLWriter.o HTSSLhttps.o
> ranlib .libs/libwwwssl.a
> creating libwwwssl.la
> (cd .libs && rm -f libwwwssl.la && ln -s ../libwwwssl.la libwwwssl.la)
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/w3c-libwww -DHAVE_CONFI
> G_H -I/usr/local/ssl/include    -g -O2 -c wwwssl.c
> /bin/sh ./libtool-mode=link gcc  -g -O2  -version-info "1:0:1" -o wwwssl
> wwwssl.o
> libwwwssl.la -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local/lib -lmd5 -lxm
> ltok -lxmlparse -lwww
> libtool: link: warning: '-version-info' is ignored for programs
> gcc -g -O2 -o .libs/wwwssl wwwssl.o
> .libs/libwwwssl.so -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local/lib -lmd
> 5 -lxmltok -lxmlparse -lwww -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local
> /lib -lmd5 -lxmltok -lxmlparse -lwww -Wl,--rpath -Wl,/usr/local/lib
> 
> /usr/local/lib/libxmlparse.a(xmlparse.o): In function 'XML_ParserCreate':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:316: undefined
> reference to 'XmlPrologStateInit'
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:366: undefined
> reference to 'XmlInitEncoding' /usr/local/lib/libxmlparse.a(xmlparse.o): In
> function 'doContent':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0xa66):
> undefined reference to 'XmlGetUtf8InternalEncoding'
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x11d7):
> undefined reference to 'XmlUtf8Encode'
> /usr/local/lib/libxmlparse.a(xmlparse.o): In function 'initializeEncoding':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x19ce):
> undefined reference to 'XmlInitEncoding'
> /usr/local/lib/libxmlparse.a(xmlparse.o): In function 'processXmlDecl':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x1a37):
> undefined reference to 'XmlParseXmlDecl'
> /usr/local/lib/libxmlparse.a(xmlparse.o): In function
> 'handleUnknownEncoding':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1466:
> undefined reference to 'XmlSizeOfUnknownEncoding'
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1472:
> undefined reference to 'XmlInitUnknownEncoding'
> /usr/local/lib/libxmlparse.a(xmlparse.o): In function
> 'appendAttributeValue':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x261f):
> undefined reference to 'XmlGetUtf8InternalEncoding'
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x27a1):
> undefined reference to 'XmlUtf8Encode'
> /usr/local/lib/libxmlparse.a(xmlparse.o): In function 'storeEntityValue':
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x2a15):
> undefined reference to 'XmlGetUtf8InternalEncoding'
> /usr/local/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c(.text+0x2ba0):
> undefined reference to 'XmlUtf8Encode'
> .libs/libwwwssl.so: undefined reference to 'HTBufferConverter_new'
> gmake[2]: *** [wwwssl] Error 1
> gmake[2]: Leaving directory '/usr/local/w3c-libwww-ssl-1.0.1'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory '/usr/local/w3c-libwww-ssl-1.0.1'
> gmake: *** [all-recursive-am] Error 2

Received on Tuesday, 24 August 1999 10:02:55 UTC