🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53293

gcc compilation problem on 386sx

#53293
From: cornwell
Date: Tue, 25 Feb 1992 10:41
16 lines
983 bytes
I can't seem to compile any programs which include header files such
as graphics.h and reference functions in the latter.  When doing so
I get the following error message

<filename>.o : undefined symbol _<function_name> referenced from text
segment.

I've added -lgr to the command line and GCCLIB seems to be set correctly
in my autoexec.bat file.  What simple mistake am I making?

   Thanks(in advance),

   Pete Cornwell.

   (cornwell@minster.york.ac.uk)  
Technical Details
Message-ID: <699014507.24073@minster.york.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!yorkohm!minster!cornwell

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5419e74b35601635,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-02-25 22:27:33 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!yorkohm!minster!cornwell
From: cornwell@minster.york.ac.uk
Newsgroups: gnu.gcc.help
Subject: gcc compilation problem on 386sx
Message-ID: <699014507.24073@minster.york.ac.uk>
Date: 25 Feb 92 10:41:47 GMT
Organization: Department of Computer Science, University of York, England
Lines: 16