delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/19/11:42:01

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: WATT-32 library compile for djgpp
Date: 19 Dec 2000 16:33:37 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <91o2l1$j2s$1@nets3.rz.RWTH-Aachen.DE>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001218095400 DOT 15310P-100000 AT is> <91nvvr$vh1$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 977243617 19548 137.226.32.75 (19 Dec 2000 16:33:37 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 19 Dec 2000 16:33:37 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

unuroboros AT my-deja DOT com wrote:

> gcc tcpinfo.c

That command is incomplete, and that's exactly your problem.

[...]
> Or do I need to feed some extra parameter to gcc to tell it where to
> find some of these external functions? (I got the impression
> libsocket.a would handle that?)

It would, if only you had told gcc to use it, for this program. Something
as simple as

	gcc tcpinfo.c -lsocket

might already be enough.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019