W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

MD5 library support broken in v5.3.1

From: Graham Leggett <minfrin@sharp.fm>
Date: Fri, 15 Sep 2000 11:26:58 +0200
Message-ID: <39C1EB62.84CD9AB2@sharp.fm>
To: www-lib@w3.org
Hi all,

When trying to build libwww v5.3.1 on a Solaris v2.6 machine, it bombs
out like below when it tries to compile MD5 support.

Some investigation reveals that the md5 library that it is trying to
link against is an md5.h provided by the Cyrus SASL library, instead of
the md5 library in ./modules/md5/md5.h.

Can this be fixed?

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include
-I../../modules/md5 -I../../modules/expat/xmlparse
-DW3C_ICONS=\"/usr/local/share/w3c-libwww\" -g -O2 -c HTAABrow.c  -fPIC
-DPIC -o .libs/HTAABrow.lo
In file included from HTDigest.h:42,
                 from HTAABrow.c:70:
/usr/local/include/md5.h:27: parse error before `UINT4'
/usr/local/include/md5.h:27: warning: no semicolon at end of struct or
union
/usr/local/include/md5.h:28: warning: data definition has no type or
storage class
/usr/local/include/md5.h:30: parse error before `}'
/usr/local/include/md5.h:30: warning: data definition has no type or
storage class
/usr/local/include/md5.h:32: parse error before `PROTO_LIST'
/usr/local/include/md5.h:33: parse error before `PROTO_LIST'
/usr/local/include/md5.h:35: parse error before `PROTO_LIST'
/usr/local/include/md5.h:37: parse error before `PROTO_LIST'
In file included from HTAABrow.c:70:
HTDigest.h:63: parse error before `MD5_CTX'
HTDigest.h:63: warning: no semicolon at end of struct or union
HTDigest.h:63: warning: no semicolon at end of struct or union
HTDigest.h:64: warning: data definition has no type or storage class
HTDigest.h:65: parse error before `}'
HTDigest.h:65: warning: data definition has no type or storage class
HTDigest.h:72: parse error before `*'
HTDigest.h:73: parse error before `*'
HTDigest.h:74: parse error before `HTDigestContext'
HTAABrow.c: In function `DigestCalcHA1':
HTAABrow.c:642: `HTDigestContext' undeclared (first use in this
function)
HTAABrow.c:642: (Each undeclared identifier is reported only once
HTAABrow.c:642: for each function it appears in.)
HTAABrow.c:642: parse error before `MdCtx'
HTAABrow.c:645: `MdCtx' undeclared (first use in this function)
HTAABrow.c: In function `DigestCalcResponse':
HTAABrow.c:678: `HTDigestContext' undeclared (first use in this
function)
HTAABrow.c:678: parse error before `MdCtx'
HTAABrow.c:685: `MdCtx' undeclared (first use in this function)
make[4]: *** [HTAABrow.lo] Error 1
make[4]: Leaving directory
`/home/dsnstar3/dsngrle/gnome/w3c-libwww-5.3.1/Library/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/dsnstar3/dsngrle/gnome/w3c-libwww-5.3.1/Library/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dsnstar3/dsngrle/gnome/w3c-libwww-5.3.1/Library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/dsnstar3/dsngrle/gnome/w3c-libwww-5.3.1'
make: *** [all-recursive-am] Error 2
7.34u 0.99s 0:09.12 91.3%
Exit 2

Regards,
Graham
--
Received on Friday, 15 September 2000 05:29:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT