home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mips / 929 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.1 KB  |  38 lines

  1. Newsgroups: comp.sys.mips
  2. Path: sparky!uunet!utcsri!geac!torsqnt!snitor!iron.sni.ca!ash
  3. From: ash@iron.sni.ca (Ashwin Palekar)
  4. Subject: Problem faced in R4000 -svr4-
  5. Message-ID: <1992Sep14.175455.4568@sni.ca>
  6. Sender: usenet@sni.ca (snitor.SNI.CA usenet)
  7. Nntp-Posting-Host: iron.sni.ca
  8. Organization: Siemens Nixdorf, Sietec Open Systems, Toronto, Canada
  9. Date: Mon, 14 Sep 1992 17:54:55 GMT
  10. Lines: 26
  11.  
  12. I am using -systype svr4 for compilation on R4000.
  13. I am getting Warnings like UnResolved bcopy , bzero , bcmp .
  14.  
  15. Hence I included /svr4/usr/ucblib/libucb.a in all our programs.
  16. (libucb.a defines bcopy,bzero,bcmp.)
  17.  
  18. The problem is that after including /svr4/usr/ucblib/libucb.a
  19. function gethostbyname returns NULL even for localhost.
  20. Without including libucb.a  gethostbyname() works.
  21.  
  22. I tried using -non_shared and used normal archives with the same 
  23. observations.
  24.  
  25. The software has already compiled on other svr4 machines with the
  26. same code.
  27.  
  28. Any Suggestions ?
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. -- 
  36. ---------------------------------------------------------------------------
  37. Ashwin Palekar : ash@sni.ca
  38.