home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3344 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: mail2news.demon.co.uk!iceberg.demon.co.uk
  2. From: John Shardlow <john@iceberg.demon.co.uk>
  3. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.networking
  4. Subject: Re: Network Programming with AmiTCP
  5. Date: Wed, 7 Feb 96 22:55:01 GMT
  6. Organization: Special Circumstances
  7. Message-ID: <9602072255.AA001xo@iceberg.demon.co.uk>
  8. X-NNTP-Posting-Host: iceberg.demon.co.uk
  9. X-MailViewer: Mail 1.15
  10. X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!iceberg.demon.co.uk
  11.  
  12. Since I first posted I have now obtained the AmiTCP SDK and with it
  13. the in.h include file that I needed. I now get:
  14.  
  15. 5.Workbench3.0:AmiTCP/usr/john/code> gcc whois.c -o whois
  16. ram:cc1120721.o: Undefined symbol _gethostbyname referenced from text segment
  17. ram:cc1120721.o: Undefined symbol _herror referenced from text segment
  18. ram:cc1120721.o: Undefined symbol _socket referenced from text segment
  19. ram:cc1120721.o: Undefined symbol _bind referenced from text segment
  20. ram:cc1120721.o: Undefined symbol _getservbyname referenced from text segment
  21. ram:cc1120721.o: Undefined symbol _connect referenced from text segment
  22.  
  23. Presumably these functions are in the libraries supplied in the SDK but they
  24. are in .lib format and gcc needs them in .a format.
  25.  
  26. Is there an easy way to convert net.lib to libnet.a and so on...
  27.  
  28. TIA, John
  29.  
  30.  
  31.  
  32. --
  33. +============================================+
  34. |  John Shardlow - john@iceberg.demon.co.uk  | 
  35. +============================================+
  36.