🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #63171

glibc-1.09 on sun4 ld cannot find start

#63171
From: Lietenant Scatter
Date: Fri, 10 Mar 1995 21:53
22 lines
1341 bytes
I've just compiled glibc-1.09, I made the tests, they seem to work fine.

My problem arises when I use the following make file:

gcc -nostdlib -nostdinc -g -I/home/medievia/include -Xlinker -e -Xlinker\ 
start -o blah blah.c /home/medievia/lib/libc.a -lgcc\ 
/home/medievia/lib/libc.a

this appears to be similar to the configuration that is run on the tests, 
but it generates the following error during link:

/home/medievia/bin/ld: warning: cannot find entry symbol start; 
defaulting to 00002020


00002020 is not the correct place to link in.. 

I did an nm -s libc.a | grep start

and the symbol start appears in the archive....  what am I doing wrong?

Thanks for your time.
Technical Details
Message-ID: <3jqhpe$k4f@gandalf.pic.net>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!cs.utexas.edu!uwm.edu!news.alpha.net!news.mathworks.com!solaris.cc.vt.edu!swiss.ans.net!news.pic.net!usenet

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,90a4a9b23f0db998,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1995-03-10 14:24:03 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!cs.utexas.edu!uwm.edu!news.alpha.net!news.mathworks.com!solaris.cc.vt.edu!swiss.ans.net!news.pic.net!usenet
From: scatter@onramp.net (Lietenant Scatter)
Newsgroups: gnu.misc.discuss
Subject: glibc-1.09 on sun4 ld cannot find start
Date: 10 Mar 1995 21:53:50 GMT
Organization: Skidrow
Lines: 23
Message-ID: <3jqhpe$k4f@gandalf.pic.net>
NNTP-Posting-Host: scatter.pic.net
Mime-Version: 1.0
X-Newsreader: WinVN 0.93.11