🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52626

GNU Library 1.03 with GCC 2.2.1

#52626
From: Christopher D Carothers
Date: Tue, 16 Jun 1992 22:42
31 lines
1575 bytes
	I have gotten and built gcc 2.2.1 and glibc-1.03 ( which
requires the GNU ld, ar, make...) on a Sun Sparc2. (I need the library
to compile some ANSI code which is not support the SUN library....) 
When I tried to compile the following simple program....

	void main()
           {
           int i;
           i = i + 1;
           }

I get the following error message from the GNU ld..

fsp2:/disk2/usr/chrisc> gcc test.c
ld: error: Entry symbol `start' never defined.
collect: /usr/bin/ld returned 1 exit status

	I have used "nm" to check the object (like crt0.o )  and library 
files for the "start" symbol, but I can`t find it (Not really sure what 
it does). Does anybody have any suggestions as to what I`m doing wrong???

	Any help would be most appreciated...
		Thanks,
		Chris Carothers
		chrisc@cc.gatech.edu

Christopher D Carothers
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!cc!chrisc
Internet: chrisc@cc.gatech.edu
Technical Details
Message-ID: <chrisc.708734548@cc.gatech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!swrinde!gatech!cc.gatech.edu!virgo!chrisc

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d872bff7a713b5a6,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-16 10:28:48 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!swrinde!gatech!cc.gatech.edu!virgo!chrisc
From: chrisc@virgo.gatech.edu (Christopher D Carothers)
Newsgroups: gnu.gcc.help
Subject: GNU Library 1.03 with GCC 2.2.1
Message-ID: <chrisc.708734548@cc.gatech.edu>
Date: 16 Jun 92 22:42:28 GMT
Sender: news@cc.gatech.edu
Organization: Georgia Tech College of Computing
Lines: 31