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