Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 1996 09:24:27 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        roberto@keltia.freenix.fr (Ollivier Robert)
Cc:        freebsd-current@freebsd.org, wpaul@freebsd.org
Subject:   Re: Bogon in rpc.yppasswdd/Makefile
Message-ID:  <199606070724.JAA18486@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199606061939.VAA14619@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
> ===> usr.sbin/rpc.yppasswdd
> cc -O -m486 -pipe -I/src/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/vipw -I/src/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/ypserv  -I/src/src/usr.sbin/rpc.yppasswdd/../../libexec/ypxfr -I/src/src/usr.sbin/rpc.yppasswdd/../../usr.bin/chpass  -I/src/src/usr.sbin/rpc.yppasswdd -I.    /src/src/usr.sbin/rpc.yppasswdd/../../libexec/ypxfr/yp_dbwrite.c  -o yp_dbwrite
> 
> [1]    Done                          makeworld
> /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_yp_errno' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_yp_errno' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_yp_dir' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_openinfo' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_yp_errno' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_yp_errno' referenced from text segment
> /tmp/cc0141891.o: Undefined symbol `_yp_errno' referenced from text segment
> *** Error code 1
> 
> Stop.



I had these too during last make world and after another sup plus
make includes I'm getting:

r.sbin/rpc.yppasswdd -I.   -c /usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c
/usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c: In function `update_inplace':
/usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c:389: too many arguments to function `yp_open_db_rw'
/usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c:398: too many arguments to function `yp_put_record'
/usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c:410: too many arguments to function `yp_put_record'
*** Error code 1

Stop.

Is my sup still not up to date enough?

> 
> Index: Makefile
> ===================================================================
> RCS file: /spare/FreeBSD-current/src/usr.sbin/rpc.yppasswdd/Makefile,v
> retrieving revision 1.3
> diff -u -2 -r1.3 Makefile
> --- Makefile	1996/06/05 06:13:02	1.3
> +++ Makefile	1996/06/06 19:28:20
> @@ -3,5 +3,5 @@
>  PROG=	rpc.yppasswdd
>  SRCS=	pw_copy.c pw_util.c util.c yppasswd_svc.c yp_error.c ypxfr_misc.c \
> -	yp_dblookup.c yp_dbwrite yp_access.c yppasswd_private_xdr.c \
> +	yp_dblookup.c yp_dbwrite.c yp_access.c yppasswd_private_xdr.c \
>  	yp_clnt.c yppasswdd_server.c yppasswd_comm.c yppasswdd_main.c
>  
> There is also another bogon in yp_mkdb:
> 
> 235 [21:33] root@keltia:usr.sbin/yp_mkdb# make
> cc -O -m486 -pipe -Dyp_error=warnx -I/usr/src/usr.sbin/yp_mkdb/../../usr.sbin/ypserv   -c /usr/src/usr.sbin/yp_mkdb/yp_mkdb.c
> /usr/src/usr.sbin/yp_mkdb/yp_mkdb.c:50: ypxfr_extern.h: No such file or directory
> *** Error code 1
> 
> Stop.
> 
> Maybe this ? 
> 
> Index: Makefile
> ===================================================================
> RCS file: /spare/FreeBSD-current/src/usr.sbin/yp_mkdb/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -2 -r1.1.1.1 Makefile
> --- Makefile    1996/04/28 04:16:05     1.1.1.1
> +++ Makefile    1996/06/06 19:37:12
> @@ -9,5 +9,5 @@
>  
>  CFLAGS+= -Dyp_error=warnx
> -CFLAGS+= -I${.CURDIR}/../../usr.sbin/ypserv
> +CFLAGS+= -I${.CURDIR}/../../usr.sbin/ypserv -I${.CURDIR}/../../libexec/ypxfr
>  
>  .include <bsd.prog.mk>
> 
> -- 
> Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
> FreeBSD keltia.freenix.fr 2.2-CURRENT #7: Thu Jun  6 20:43:22 MET DST 1996
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606070724.JAA18486>