Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 1996 16:43:17 -0400 (EDT)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        jehamby@lightside.com (Jake Hamby)
Cc:        current@freebsd.org
Subject:   Re: Bug in ypxfer's Makefile
Message-ID:  <199606062043.QAA21710@skynet.ctr.columbia.edu>
In-Reply-To: <Pine.AUX.3.91.960606120503.28546A-100000@covina.lightside.com> from "Jake Hamby" at Jun 6, 96 12:12:39 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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.
=============================================================================



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