www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/11/08:37:09

Date: Tue, 11 Sep 2001 14:35:08 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Orlando P. Hevia" <heviaop AT ciudad DOT com DOT ar>
cc: djgpp AT delorie DOT com
Subject: Re: link error with gpc
In-Reply-To: <200109111130.f8BBUTV25979@postino5.prima.com.ar>
Message-ID: <Pine.SUN.3.91.1010911143348.4452C-100000@is>
MIME-Version: 1.0
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

On Tue, 11 Sep 2001, Orlando P. Hevia wrote:

> g:/usr/lib/gcc-
> lib/djgpp/2.953/libgpc.a(rts.o)(.text+0x19c4):rts.c: 
> undefined reference to `tcsetpgrp'
> g:/usr/lib/gcc-
> lib/djgpp/2.953/libgpc.a(rts.o)(.text+0x19f0):rts.c: 
> undefined reference to `tcgetpgrp'
> collect2: ld returned 1 exit status
> make.exe: *** [tpbigp.exe] Error 1

These functions are in libc.a, so I'm guessing that the order of the 
libraries on the link command line was wrong.  Link with -v and look at 
the command used to invoke the linker; if that doesn't give a clue, post 
everything the compiler printed here.

- Raw text -


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