Greetings,

I am trying to compile htDig 3.1.1 on Digital Unix using
gcc-2.8.1 and libstdc++2.8.1.1

Everything is fine until the link of htdig :

make[1]: Entering directory `/usr1/local/src/WEB/htdig-3.1.1/htdig'
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 
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
__inet_addr(char const *)
gethostbyname(char const *)
getservbyname(char const *, char const *)
gethostbyaddr(char const *, int, int)
make[1]: *** [htdig] Error 1
make[1]: Leaving directory `/usr1/local/src/WEB/htdig-3.1.1/htdig'
make: *** [all] Error 1


gethostbyname etc are in the standard C library, so I do not understand what
the problem is. I have also used gcc to install BIND 8.1.2 on this same
machine, so I do not believe that there is a problem with gcc.

I have checked my paths, reinstalled gcc/libstdc and still to no avail.
Any pointers would be greatly appreciated

Regards,

Andrew Kemp

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to