home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.amiga
- Path: sparky!uunet!sybus.sybus.com!myrddin!tct!ckctpa!crash
- From: crash@ckctpa.UUCP (Frank "Crash" Edwards)
- Subject: Re: Help with Xlib port for the amiga
- Message-ID: <1992Dec20.044804.3610@ckctpa.UUCP>
- Date: Sun, 20 Dec 1992 04:48:04 GMT
- Reply-To: crash%ckctpa@myrddin.sybus.com (Frank "Crash" Edwards)
- References: <1992Dec18.125856.591@fwi.uva.nl> <1992Dec19.094031.22744@lobo.rmhs.colorado.edu>
- Organization: Edwards & Edwards Consulting
- Lines: 24
-
- seanr@lobo.rmhs.colorado.edu (Sean Reifschneider) writes:
- >I too have had this problem. You need to include the -lnls and -lsocket
- >libraries I believe. BUT! When I included them, I was still gettin the
- >undefined symbol for a few things includeing 'setnetconfig()' and that
- >family, 'inet_ntoa()' and 'gethostname()'. I think that somehow my libraries
- >got a bit corrupted. But I have no idea how... I ended up having to write
- >versions of these functions to get this program to link.
- >
- >Anyone have any suggestions as to why these functions don't seem to be on my
- >machine? I used 'nm' to check ALL the libraries on the system and there
- >wasn't a 'setnetconfig' anywhere to be seen. I also tried to LINK IN EVERY
- >LIBRARY on the system. Still gave the unresolved message.
-
- But did you run "nm"? If I run "nm /usr/lib/libnsl.so | fgrep netconfig",
- one of the lines of output is "setnetconfig". Looks to me like you
- included the libraries on the link command line in the wrong order.
- Try "-lsocket -lnsl".
-
- >Sean
- --
- Frank "Crash" Edwards Edwards & Edwards Consulting
- Fax: 813/786-6526 crash%ckctpa@myrddin.sybus.com, but please
- Home: 813/786-3675 don't ask UUNET to route it -- it's sloooow.
- The earth is like a tiny grain of sand, only much, much heavier.
-