Subject: exit() undefined in bootloader build
To: None <port-i386@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: port-i386
Date: 06/01/2002 14:53:57
where can we find prototype decl for exit() in bootloader build
environment? (libsa)
itojun
/usr/tool/bin/i386--netbsdelf-gcc -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main -Os -mcpu=i386 -ffreestanding -Werror -I/usr/home/itojun/NetBSD/src/sys/arch/i386/stand/lib/../../../..//lib/libsa -DCOMPAT_386BSD_MBRPART -DSUPPORT_PS2 -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL -DSUPPORT_USTARFS -DPASS_BIOSGEOM -DPASS_MEMMAP -nostdinc -I/home/itojun/NetBSD/src/sys/arch/i386/stand/biosboot/obj.i386 -I/home/itojun/NetBSD/src/sys/arch/i386/stand/biosboot/../../../../ -I/home/itojun/NetBSD/src/sys/arch/i386/stand/biosboot/../../../..//arch/i386/stand/lib -I/home/itojun/NetBSD/src/sys/arch/i386/stand/biosboot/../../../..//lib/libsa -D_STANDALONE -nostdinc -isystem /usr/include -c /usr/home/itojun/NetBSD/src/sys/arch/i386/stand/lib/panic.c
cc1: warnings being treated as errors
/usr/home/itojun/NetBSD/src/sys/arch/i386/stand/lib/panic.c: In function `panic':
/usr/home/itojun/NetBSD/src/sys/arch/i386/stand/lib/panic.c:53: warning: implicit declaration of function `exit'
/usr/home/itojun/NetBSD/src/sys/arch/i386/stand/lib/panic.c:54: warning: `noreturn' function does return
*** Error code 1
Stop.
make: stopped in /usr/home/itojun/NetBSD/src/sys/arch/i386/stand/lib
*** Error code 1