Re: [htdig] ht://dig compile problem under Solaris 2.5.1

Gilles Detillieux (
Wed, 17 Feb 1999 13:09:01 -0600 (CST)

According to Peter Karlsson:
> I am trying to compile ht://dig, but ran into trouble:
> make stops with this:
> c++ -o htdig -L../htlib -L../htcommon -L../db/dist -L../rx/rx -L/usr/lib Document.o HTML.o Images.o Parsable.o Plaintext.o Postscript.o Retriever.o SGMLEntities.o Server.o URLRef.o main.o ExternalParser.o PDF.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a ../rx/rx/librx.a -lz -lnsl -lsocket
> Undefined first referenced
> symbol in file
> DocHead__11DocumentRefPc Retriever.o
> DocHead__11DocumentRef ../htcommon/libcommon.a(DocumentDB.o)
> ld: fatal: Symbol referencing errors. No output written to htdig
> *** Error code 1
> make: Fatal error: Command failed for target tdig'
> Current working directory /usr/forcetmp/dat95pkn/htdig-3.1.0/htdig
> *** Error code 1
> make: Fatal error: Command failed for target ll'
> The OS is Solaris 2.5.1 on a SPARC. libstdc++ is installed AFAICT.

I suspect that this is the problem that happens when compiling htdig 3.1.0
on a system without zlib.h. It will be fixed in 3.1.1, to be release very
soon, but you can fix it yourself in the 3.1.0 source, by removing the
word "inline" from lines 123 and 127 of htcommon/

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Mon Feb 22 1999 - 07:08:23 PST