delorie.com/archives/browse.cgi | search |
Date: | Tue, 19 Dec 2000 19:49:44 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-Id: | <2593-Tue19Dec2000194944+0200-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 |
In-reply-to: | <91nvvr$vh1$1@nnrp1.deja.com> (unuroboros@my-deja.com) |
Subject: | Re: WATT-32 library compile for djgpp |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1001218095400 DOT 15310P-100000 AT is> <91nvvr$vh1$1 AT nnrp1 DOT deja DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: unuroboros AT my-deja DOT com > Newsgroups: comp.os.msdos.djgpp > Date: Tue, 19 Dec 2000 15:48:15 GMT > > Here you are: when compiling, in the ld stage, I get numerous (too many > to even fit on the screen) errors; some examples: > > gcc tcpinfo.c > > d:/djgpp/tmp\ccIoowkk.o(.text+0xabb):tcpinfo.c: undefined reference to > `_inet_ntoa' This will never work: you didn't tell the linker to scan the WATT-32 library, so it doesn't find the functions from there. At the very least, you need to say this: gcc tcpinfo.c -lsocket
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |