Article View: gnu.gcc.help
Article #51524help with DOS version of GNU
From: Michael J. Findler
Date: Mon, 17 May 1993 01:53
Date: Mon, 17 May 1993 01:53
29 lines
1447 bytes
1447 bytes
I am getting a strange error using djgpp's gcc 2.3.3 compiler for the DOS
environment. I am using a makefile with the following compiler arguments:
-Wall -xc++ -w -DMSDOS -m486 -Wmissing-prototypes -Wstrict-prototypes -O
This should force the use of the g++ compiler, however, I also get the
following error
undefined symbol MyScreen(const char *, int) referenced from text segment
The prototype looks like:
void MyScreen( const char *picfile, int index = 0 ); // in type.h
The function Definition looks like:
void MyScreen( const char *picfile, int index ) // in shade.c
And the calls look like
MyScreen( "test.out", i ); // in sphere.c
I do not think that the problem is the extension of the file. Any other
suggestions?
thanks in advance,
mike
Technical Details
Message-ID:
<1993May17.015353.26978@ennews.eas.asu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!ennews!enuxha.eas.asu.edu!mfindlerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,91967dd421abcc6b,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-16 19:12:20 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!ennews!enuxha.eas.asu.edu!mfindler From: mfindler@enuxha.eas.asu.edu (Michael J. Findler) Subject: help with DOS version of GNU Message-ID: <1993May17.015353.26978@ennews.eas.asu.edu> Sender: news@ennews.eas.asu.edu (USENET News System) Organization: Arizona State University Date: Mon, 17 May 1993 01:53:53 GMT Lines: 32