delorie.com/archives/browse.cgi | search |
Date: | Sat, 27 Jan 2001 09:49:45 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | "Donald Stevens" <dstevens6 AT qwest DOT net> |
Message-Id: | <9003-Sat27Jan2001094945+0200-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 |
CC: | djgpp AT delorie DOT com |
In-reply-to: | <Keoc6.1353$gQ5.406075@news.uswest.net> (dstevens6@qwest.net) |
Subject: | Re: Undefined reference compiling modetest.c |
References: | <Keoc6.1353$gQ5 DOT 406075 AT news DOT uswest DOT net> |
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: "Donald Stevens" <dstevens6 AT qwest DOT net> > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 26 Jan 2001 16:59:50 -0700 > > I have used unzip32 and put the following in c:\djgpp: > djdev203, bnu2951b. gcc2952b. ,al3791b., txi40b., grx23., grx23fnt. > I put the various set= lines into autoexec.bat and rebooted. > Now when I give the command: > gcc -o modetest.exe modetest.c > I get a lot of: > undefined reference to GrColorInfo and > undefined reference to GrHLine > what is missing? You need to tell GCC to look into libgrx20.a library. It doesn't know that by default. The correct command is: gcc -o modetest.exe modetest.c -lgrx20
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |