NetBSD Problem Report #8906

Received: (qmail 11919 invoked from network); 28 Nov 1999 20:23:51 -0000
Message-Id: <199911282023.VAA07713@armandeche.lip6.fr>
Date: Sun, 28 Nov 1999 21:23:48 +0100 (MET)
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
Reply-To: bouyer@antioche.lip6.fr
To: gnats-bugs@gnats.netbsd.org
Subject: 'make build' fails
X-Send-Pr-Version: 3.95

>Number:         8906
>Category:       port-sun3
>Synopsis:       'make build' fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sun3-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 12:24:01 +0000 1999
>Closed-Date:    Fri Dec 17 12:05:23 +0000 1999
>Last-Modified:  Fri Dec 17 12:06:07 +0000 1999
>Originator:     
>Release:        -current as just supped
>Organization:

Mine

>Environment:

System: NetBSD lisard.antioche.eu.org 1.4P NetBSD 1.4P (SUN3_60) #2: Mon Nov 22 06:11:06 MET 1999     bouyer@lisard.antioche.eu.org:/home/sources/src/sys/arch/sun3/compile/SUN3_60 sun3


>Description:

	A 'make build' dies in stand/netboot as follow:
--- dependall-sys ---
ld -N -Ttext 240000 -e start -o netboot  /home/sources/src/sys/arch/sun3/stand/l
ibsa/SRT0.o /home/sources/src/sys/arch/sun3/stand/libsa/SRT1.o boot.o conf.o dev
_net.o bootparam.o globals.o nfs.o rpc.o  /home/sources/src/sys/arch/sun3/stand/
libsa/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

>How-To-Repeat:
	'make build', or 'make' in sys/sun3/stand
>Fix:
	Don't know. Where did these functions go ?
>Release-Note:
>Audit-Trail:

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: bouyer@antioche.lip6.fr
Cc: gnats-bugs@gnats.netbsd.org, tsutsui@ceres.dti.ne.jp
Subject: port-sun3/8906: 'make build' fails
Date: Mon, 29 Nov 1999 09:30:36 +0900 (JST)

 In <199911282023.VAA07713@armandeche.lip6.fr>
 bouyer@antioche.lip6.fr wrote:

 > >Description:
 > 	
 > 	A 'make build' dies in stand/netboot as follow:

 Please take a look port-sun3/8471.
 ---
 tsutsui@ceres.dti.ne.jp

From: Todd Whitesel <toddpw@best.com>
To: bouyer@antioche.lip6.fr
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-sun3/8906: 'make build' fails
Date: Tue, 7 Dec 1999 01:45:54 -0800 (PST)

 > 	A 'make build' dies in stand/netboot as follow:
 > --- dependall-sys ---
 > ld -N -Ttext 240000 -e start -o netboot  /home/sources/src/sys/arch/sun3/stand/l
 > ibsa/SRT0.o /home/sources/src/sys/arch/sun3/stand/libsa/SRT1.o boot.o conf.o dev
 > _net.o bootparam.o globals.o nfs.o rpc.o  /home/sources/src/sys/arch/sun3/stand/
 > libsa/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

 Index: Makefile
 ===================================================================
 RCS file: /data/anoncvs/main/syssrc/sys/arch/sun3/stand/libsa/Makefile,v
 retrieving revision 1.21
 diff -u -r1.21 Makefile
 --- Makefile	1999/03/04 08:19:38	1.21
 +++ Makefile	1999/12/06 22:32:04
 @@ -27,7 +27,8 @@
  SRC_sa = alloc.c bcopy.c close.c getfile.c memcpy.c open.c \
  	 printf.c read.c sprintf.c strerror.c subr_prf.c twiddle.c

 -SRC_kern= ashrdi3.c bcmp.c bzero.c strcmp.c strlen.c strncmp.c
 +SRC_kern= ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
 +	strcmp.c strlen.c strncmp.c

  SRC_here= clock.c dev_disk.c devopen.c exec_sun.c \
  	 gets.c idprom.c netif_sun.c panic.c \

 # eof

 This is the fix that works for me. I doubt the functions "went" anywhere,
 but rather someone added calls to them in a library routine shared between
 multiple ports. I suspect this is evidence of MD stuff that should be MI ...

 Todd Whitesel
 toddpw @ best.com
State-Changed-From-To: open->closed 
State-Changed-By: jeremy 
State-Changed-When: Fri Dec 17 04:05:23 PST 1999 
State-Changed-Why:  
Duplicate of same issue in 8471. 
Fixed in recent commit. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.