Subject: problems with building current - crt0.o
To: None <current-users@netbsd.org>
From: Paul Newhouse <newhouse@totalarchive.com>
List: current-users
Date: 04/05/2001 10:48:50
I can get crt0.o to build and install, but it's apparently not right:

cc   -o lint1 -nostdlib -Wl,-rpath-link,//usr/lib //usr/lib/crt0.o  cgram.o scan.o mem1.o mem.o err.o main1.o decl.o tree.o func.o init.o emit.o emit1.o -ll -L//usr/lib -lgcc -lc -lgcc 
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08048d50
//usr/lib/crt0.o(.text+0x2): undefined reference to `___ps_strings'
//usr/lib/crt0.o(.text+0x15): undefined reference to `___start'
//usr/lib/crt0.o: In function `__start':
//usr/lib/crt0.o(.text+0x538): undefined reference to `_callmain'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.

Where am I going wrong here?

TIA,
Paul