Subject: port-vax/8790: IPv6 for VAX
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yesu@rb3.so-net.ne.jp>
List: netbsd-bugs
Date: 11/13/1999 06:36:42
>Number:         8790
>Category:       port-vax
>Synopsis:       cannot make GENERIC.v6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-vax-maintainer (NetBSD/vax Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 13 06:36:00 1999
>Last-Modified:
>Originator:     Shinmyoh Koji
>Organization:
>Release:        Nov 12, 1999
>Environment:
	
System: NetBSD fishbed 1.4M NetBSD 1.4M (FISHBED) #10: Sat Nov 13 22:33:13 JST 1999 yesu@fishbed:/usr/src/sys/arch/vax/compile/FISHBED vax


>Description:
	While compiling GENERIC.v6, I got this.

	> ld -N -Ttext 80000000 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
	> intvec.o: Undefined symbol `NETISR_IPV6' referenced from text segment
	> zlib.o: Undefined symbol `_memset' referenced from text segment
	> zlib.o: Undefined symbol `_memset' referenced from text segment
	> *** Error code 1
	>
	> Stop.
>How-To-Repeat:
	Try to build GENERIC.v6
>Fix:
	
*** sys/arch/vax/vax/intvec.s.orig	Tue Jun 29 09:04:10 1999
--- sys/arch/vax/vax/intvec.s	Sat Nov 13 22:36:28 1999
***************
*** 40,45 ****
--- 40,47 ----
  #include "arp.h"
  #include "ppp.h"
  
+ #include <net/netisr.h>
+ 
  #define ENTRY(name) \
  	.text			; \
  	.align 2		; \
*** sys/lib/libkern/arch/vax/Makefile.inc.orig	Sat Jan 16 21:21:40 1999
--- sys/lib/libkern/arch/vax/Makefile.inc	Sat Nov 13 22:39:01 1999
***************
*** 3,5 ****
--- 3,7 ----
  #	The rest of the lib routines are in machine/macros.h
  #
  SRCS+=	__main.c __assert.c random.S strncmp.c bswap64.S
+ # need for IPv6
+ SRCS+=	memset.c
>Audit-Trail:
>Unformatted: