Subject: port-sun3/8471: build error in sun3/stand/netboot
To: None <gnats-bugs@gnats.netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 09/22/1999 11:05:43
>Number:         8471
>Category:       port-sun3
>Synopsis:       build error in sun3/stand/netboot
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sun3-maintainer (NetBSD/sun3 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 22 11:05:00 1999
>Last-Modified:
>Originator:     Izumi Tsutsui
>Organization:
Izumi Tsutsui	Himeji City, Japan
>Release:        NetBSD-current 19990918
>Environment:
System: NetBSD 1.4K , sun3/80

>Description:
make build fails in /sys/arch/sun3/stand/netboot
with the following error message.

ld -N -Ttext 240000 -e start -o netboot \
 /usr/src/sys/arch/sun3/stand/libsa/obj.sun3/SRT0.o \
/usr/src/sys/arch/sun3/stand/libsa/obj.sun3/SRT1.o \
boot.o conf.o dev_net.o bootparam.o globals.o nfs.o rpc.o  \
/usr/src/sys/arch/sun3/stand/libsa/obj.sun3/libsa.a
dev_net.o: Undefined symbol `_intoa' referenced from text segment
dev_net.o: Undefined symbol `_inet_addr' referenced from text segment
arp.o: Undefined symbol `_intoa' referenced from text segment
*** Error code 1

>How-To-Repeat:
make all in /sys/arch/sun3/stand/netboot.

>Fix:
intoa() and inet_addr() functions are moved from libsa
to libkern in current. libsa now depends libkern so
netboot should link libkern, too.

>Audit-Trail:
>Unformatted: