home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / amiga / 2008 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.unix.amiga
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!stephe
  3. From: stephe@netcom.com (Stephen Moehle)
  4. Subject: Help linking X program
  5. Message-ID: <49+n7al.stephe@netcom.com>
  6. Date: Sun, 23 Aug 92 00:35:40 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Summary: Unresolved symbols
  9. Keywords: X linking
  10. Lines: 27
  11.  
  12. Hi, I am having problems linking an X program, and I am hoping someone can
  13. help me.  I had problems using the shared X libraries so I used the
  14. archieve versions instead.  But now I am having problems with the sockets
  15. or the networking or something.  (As you can probably guess, I am just
  16. starting out trying to do UNIX programming.  Any help much appreciated.)
  17. The program I am trying to link is xhello.c out of the "X Toolkit
  18. Intrinsics Programming Manual" from O'Reilly.  First, how do I get rid
  19. of my remaining link errors?  Also, I need to know exactly which of the
  20. shared X libraries is having problems and where I can find a corrected
  21. verion.  I have version 2.1 of Amix, if that is any help.
  22.  
  23. gcc x1.o /usr/lib/libXaw.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libX11.a -lm -lsocket
  24.  
  25. Undefined            first referenced
  26.  symbol                  in file
  27. getnetconfig                        /usr/lib/libsocket.so
  28. inet_ntoa                           /usr/lib/libsocket.so
  29. gethostname                         /usr/lib/libXt.a(Initialize.o)
  30. endnetconfig                        /usr/lib/libsocket.so
  31. setnetconfig                        /usr/lib/libsocket.so
  32.  
  33. On an unrelated topic, where can I obtain a copy of the patch disk for 2.1?
  34. My local dealers have been no help at all and have no idea of what I am
  35. talking about.  Thanks.
  36.  
  37. Stephe
  38. "You heard the weirdo, man.  What is truth?"
  39.