From owner-freebsd-current Thu Jun 6 13:45:03 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05143 for current-outgoing; Thu, 6 Jun 1996 13:45:03 -0700 (PDT) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA05115 for ; Thu, 6 Jun 1996 13:44:56 -0700 (PDT) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id QAA21710; Thu, 6 Jun 1996 16:43:19 -0400 From: Bill Paul Message-Id: <199606062043.QAA21710@skynet.ctr.columbia.edu> Subject: Re: Bug in ypxfer's Makefile To: jehamby@lightside.com (Jake Hamby) Date: Thu, 6 Jun 1996 16:43:17 -0400 (EDT) Cc: current@freebsd.org In-Reply-To: from "Jake Hamby" at Jun 6, 96 12:12:39 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Of all the gin joints in all the world, Jake Hamby had to walk into mine and say: > On Thu, 6 Jun 1996, Bill Paul wrote: > > Of all the gin joints in all the world, Bruce Evans had to walk into > > mine and say: > > > > > > make depend fails too. rpc.yppasswdd, rpc.ypxfrd and yp_mkdb are also > > > broken. > > > > In what way? Details please. I need details before I can do anything. > > > > -Bill > > Hmm, I thought you could just SUP and run it yourself. I posted a note to bugs a while aso saying that I can't get FreeBSD-current installed on my test machine at work since I use an NFS-mounted /usr and NFS doesn't seem to want to work on my 386DX/33. If I could somehow scrounge up a larger IDE disk I could work around this problem, but I can't. This means I have to try bootstrapping from 2.1.0-RELEASE, which, even it it works, would take more free time that I have right now. So I've settled from slapping together a cut-down NIS build tree on my 2.1.0 machine at home and keeping my fingers crossed. > here's what I get: > > # make depend > cc -O2 -m486 -pipe -I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/vipw > -I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/ypserv > -I/usr/src/usr.sbin/rpc.yppasswdd/../../libexec/ypxfr > -I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.bin/chpass > -I/usr/src/usr.sbin/rpc.yppasswdd -I. > /usr/src/usr.sbin/rpc.yppasswdd/../../libexec/ypxfr/yp_dbwrite.c -o > yp_dbwrite > /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment > /var/tmp/cc0021471.o: Undefined symbol `_yp_errno' referenced from text > segment [chop] Fixed. This is a weird one. If you just to a 'make' to build this thing, it works. Only make depend fails. The reason was that somehow the '.c' got chopped off the 'yp_dbwrite.c' entry in the SRCS line of the Makefile. Why a normal 'make' didn't fail because of this I have no idea. I'm fixing this now. > Stop. > # cd ../yp_mkdb > # make depend > rm -f .depend > mkdep -f .depend -a -Dyp_error=warnx > -I/usr/src/usr.sbin/yp_mkdb/../../usr.sbin/ypserv > /usr/src/usr.sbin/yp_mkdb/yp_mkdb.c > /usr/src/usr.sbin/yp_mkdb/../ypserv/yp_dblookup.c > /usr/src/usr.sbin/yp_mkdb/../../libexec/ypxfr/yp_dbwrite.c > /usr/src/usr.sbin/yp_mkdb/yp_mkdb.c:50: ypxfr_extern.h: No such file or > directory > mkdep: compile failed. > *** Error code 1 Already fixed. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= License error: The license for this .sig file has expired. You must obtain a new license key before any more witty phrases will appear in this space. =============================================================================