Subject: Re: port-macppc/7891: macppc lacks definition of _insque
To: Chris G. Demetriou <cgd@netbsd.org>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: netbsd-bugs
Date: 07/02/1999 07:43:28
On Thu, Jul 01, 1999 at 09:29:02PM -0700, Chris G. Demetriou wrote:
> erik@mediator.uni-c.dk writes:
> > 	While trying to build a kernel based on today's supped sources
> > 	with options INET6, the link phase was aborted because the macppc
> > 	port lacks the definitions of _insque and _remque and these
> > 	functions are used by some of itojun's new code.
> 
> It's ... not at all clear that new code should be using insque/remque.
> 
> 
> 
> cgd

If this is the case, I'd better tell more about the exact message to help
locate the insque/remque calls:

sh ../../../../conf/newvers.sh
cc  -O2 -pipe -Werror -Wreturn-type -Wpointer-arith -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DTRAP_PANICWAIT -DINET6 -DIPSEC -DMAXUSERS=32 -D_KERNEL -Dmacppc  -c vers.c
rm -f netbsd
ld -N -Ttext 100000 -e __start -x -o netbsd ${SYSTEM_OBJ} vers.o
in6_pcb.o: In function `in6_pcballoc':
in6_pcb.o(.text+0x6c): undefined reference to `_insque'
in6_pcb.o: In function `in6_pcbdetach':
in6_pcb.o(.text+0xdf0): undefined reference to `_remque'
*** Error code 1


- Erik