Subject: sparc64 kern.ldscript errors
To: current-users <current-users@netbsd.org>
From: leam <leam@reuel.net>
List: current-users
Date: 09/06/2003 14:19:11
And for my next error......

Trying to compile a unique named copy of GENERIC kernel with the newly 
installed gcc3. It seems like the files below don't "#include ip_id.c" 
which has the ip_randomid function. The same for the IPv6 versions and 
ip6_id.c.

Where would be the best place to include these files?

ciao!

leam

ld -n -T ../../../../arch/sparc64/conf/kern.ldscript -Ttext 01000000 
-Tdata 01800000 -e start -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
ip_mroute.o: In function `encap_send':
ip_mroute.o(.text+0x224c): undefined reference to `ip_randomid'
ip_output.o: In function `ip_output':
ip_output.o(.text+0xabc): undefined reference to `ip_randomid'
raw_ip.o: In function `rip_output':
raw_ip.o(.text+0x898): undefined reference to `ip_randomid'
tcp_subr.o: In function `tcp_template':
tcp_subr.o(.text+0x418): undefined reference to `ip6_randomflowlabel'
tcp_subr.o: In function `tcp_respond':
tcp_subr.o(.text+0xb90): undefined reference to `ip6_randomflowlabel'
in6_pcb.o: In function `in6_pcbconnect':
in6_pcb.o(.text+0x7dc): undefined reference to `ip6_randomflowlabel'
ip6_output.o: In function `ip6_output':
ip6_output.o(.text+0x83c): undefined reference to `ip6_randomid'
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/sparc64/compile/leamBSD