Subject: crt0.c(.text+0xd4): undefined reference to `_fini'
To: None <>
From: Ted Spradley <>
List: current-users
Date: 10/17/1998 20:34:59
'make buildworld' on my AlphaStation 200 fails with this:

all ===> regress/lib/libc/arch/alpha
all ===> regress/sys
all ===> regress/sys/kern
all ===> regress/sys/kern/execve
cc  -static -o doexec -nostdlib -L/scratch/netbsd/test/usr/lib 
/scratch/netbsd/test/usr/lib/crt0.o /scratch/netbsd/test/usr/lib/crtbegin.
o doexec.o  -lgcc -lc -lgcc /scratch/netbsd/test/usr/lib/crtend.o
cc -O  -Werror   -nostdinc -idirafter /scratch/netbsd/test/usr/include  
-nostdlib -L/scratch/netbsd/test/usr/lib -static -o goodaout 
/scratch/netbsd/test/usr/lib/crt0.o -lgcc -lc
/scratch/netbsd/test/usr/lib/crt0.o: In function `__start':
crt0.c(.text+0xd4): undefined reference to `_fini'
crt0.c(.text+0xe8): undefined reference to `_init'
crt0.c(.text+0xec): undefined reference to `_init'
collect2: ld returned 1 exit status
*** Error code 1



I suspect that there's something that I need to build and install before 
this will work, but I don't know what it is.

I'm running the June 28 snapshot.  I've built and installed egcs, config, 
and a new kernel.

Advice would be appreciated.