hi all:
    when i complie hitdig under an alpha server with tru64 unix 4.0f,
i get the following error message after i type "make -i"
 
/bin/ld:
Unresolved:
__inet_addr(char const *)
gethostbyname(char const *)
getservbyname(char const *, char const *)
gethostbyaddr(char const *, int, int)
collect2: ld returned 1 exit status
*** Exit 1
Stop.
*** Exit 1 
 
actually,i even can't compile this following little program a.cc with
g++ a.cc:
 
#include <netdb.h>
void main(){
gethostbyname("www.htdig.org");
}
 
the error message is the same as above.
 
although i did find some artiles in the mailing-list archive related to this topic,but i never find one which can really resolve my problem,thanks.
 
hardware
  compaq alpha server ds20 with 256M ram
software
  tru64 unix 4.0f, freeware installed(which gcc version 2.9-gnupro-98r2)
       

Reply via email to