🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51510

help with DOS version of gcc

#51510
From: Michael J. Findler
Date: Thu, 13 May 1993 13:52
33 lines
2048 bytes
Hi,
        I am having a problem using djgpp GCC 2.2.2 (?) on my 486 under 
Desqview/X.  I have to use this compiler, since Borland has not decided 
to support a 32 bit compiler yet on the DOS side.  It is also recommended 
by Quarterdeck.  Unfortunately, the documentation and error codes are not
always that meaningful.  I am getting the following error code, could you 
help me?

        undefined symbol MyScreen(char *, int) referenced from text segment

        This happens even though MyScreen is apparently properly prototyped
and there are is only the one call to this function.
        The call looks like:

                MyScreen( "test1.out", i ); // i is an integer
                                                // #includes "type.h"

        The prototype looks like:

                void MyScreen( char *picfile, int index = 0 ); // in type.h

        And the function Definition looks like:

                void MyScreen( char *picfile, int index )  // in shade.c
                {
                }

tia

mike

                                                                                                                                                                                                                                                                                                                                                                                                
Technical Details
Message-ID: <1993May13.135200.13948@ennews.eas.asu.edu>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!gatech!asuvax!ennews!enuxha.eas.asu.edu!mfindler

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1854bd47c6fe32e6,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-13 07:12:48 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!gatech!asuvax!ennews!enuxha.eas.asu.edu!mfindler
From: mfindler@enuxha.eas.asu.edu (Michael J. Findler)
Subject: help with DOS version of gcc
Message-ID: <1993May13.135200.13948@ennews.eas.asu.edu>
Sender: news@ennews.eas.asu.edu (USENET News System)
Organization: Arizona State University
Date: Thu, 13 May 1993 13:52:00 GMT
Lines: 33