Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 1996 21:38:59 +0200 (MET DST)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        freebsd-current@freebsd.org (FreeBSD Current Users' list)
Cc:        wpaul@freebsd.org
Subject:   Bogon in rpc.yppasswdd/Makefile
Message-ID:  <199606061939.VAA14619@keltia.freenix.fr>

next 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.

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



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