Subject: -current build failure (bootparamprog_1_freeresult)
To: None <current-users@netbsd.org>
From: David Barr <barr@visi.com>
List: current-users
Date: 03/29/2001 08:39:31
I started seeing this a few days ago on my -current SPARC box:
dependall ===> usr.sbin/rpc.bootparamd
rm -f bootparam_prot.x
ln -s /usr/include/rpcsvc/bootparam_prot.x bootparam_prot.x
rm -f bootparam_prot.h
ln -s /usr/include/rpcsvc/bootparam_prot.h bootparam_prot.h
rpcgen -C -L -m -o bootparam_prot_svc.c bootparam_prot.x
mkdep -a -DYP bootparamd.c bootparam_prot_svc.c
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-uninitialized -DYP -c bootparamd.c
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-uninitialized -DYP -c bootparam_prot_svc.c
bootparam_prot_svc.c: In function `bootparamprog_1':
bootparam_prot_svc.c:95: warning: implicit declaration of function
bootparamprog_1_freeresult'
cc -o rpc.bootparamd bootparamd.o bootparam_prot_svc.o -lrpcsvc -lutil
bootparam_prot_svc.o: In function `bootparamprog_1':
bootparam_prot_svc.o(.text+0x148): undefined reference to
`bootparamprog_1_freeresult'
collect2: ld returned 1 exit status
*** Error code 1
Stop.
I tried to see if this was isolated to rpc.bootparamd, but similar
build problems happen to other usr.sbin programs.
--Dave