🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49789

GCC 2.5.5 compile errors.

#49789
From: Jon Robinson
Date: Thu, 09 Dec 1993 18:19
26 lines
1606 bytes
When I build programs with GCC 2.5.5, that were successfully built with 
version 2.5.2 before with my make files; 
I get the following error message.

robinson@forest% make
gcc -c -ggdb -I/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.5.5/include  
-I/usr/local/leda/incl test2.C
ld.so: Undefined symbol: ___main
*** Error code 1
make: Fatal error: Command failed for target
 `/home/robinson/models/drivers/test/test2.o'
robinson@forest% 

Where does it get the idea there should be a triple underline - main symbol?

This happens with all of my make files, whether they generated
good executables or gave strings of error messages.  This is
all they do now!  Any help appreciated -- 2.5.5 was just installed
by our system people yesterday.  Could there be a failure of the
installation?  

send E-mail replys to:

robinson@ltpsun.gsfc.nasa.gov

Thanks in advance.
Technical Details
Message-ID: <2e7q6l$qed@skates.gsfc.nasa.gov>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!ames!skates.gsfc.nasa.gov!ltpsun.gsfc.nasa.gov!robinson

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,22d5758fdb2c368f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-10 09:03:43 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!ames!skates.gsfc.nasa.gov!ltpsun.gsfc.nasa.gov!robinson
From: robinson@ltpsun.gsfc.nasa.gov (Jon Robinson)
Newsgroups: gnu.gcc.help
Subject: GCC 2.5.5 compile errors.
Date: 9 Dec 1993 18:19:00 GMT
Organization: NASA/GSFC Laboratory for Terrestrial Physics
Lines: 26
Distribution: world
Message-ID: <2e7q6l$qed@skates.gsfc.nasa.gov>
NNTP-Posting-Host: ltpsun.gsfc.nasa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit