Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 10:24:41 -0400
From:      dob@naserver1.cb.lucent.com
To:        hackers@freebsd.org
Cc:        jdp@polstra.com
Subject:   CVSup Help! -- why did I get RCS files?
Message-ID:  <9609171424.AA08691@cbsky.cb.att.com>

next in thread | raw e-mail | index | archive | help
I'm using the new 13.4 version of CVSup to cvsup current. (I believe it supped
the wrong file; the RCS file instead of sending and making the update!)

The make world following the CVSup showed the following error:

cc -O2 -m486 -pipe -DLIBC_RCS -DSYSLIBC_RCS -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -I/var/usr/src/lib/libc/locale -DYP -c /var/usr/src/lib/libc/net/gethostbydns.c -o gethostbydns.o
/var/usr/src/lib/libc/net/gethostbydns.c: In function `gethostanswer':
/var/usr/src/lib/libc/net/gethostbydns.c:159: `res_hnok' undeclared (first use this function)
/var/usr/src/lib/libc/net/gethostbydns.c:159: (Each undeclared identifier is reported only once
/var/usr/src/lib/libc/net/gethostbydns.c:159: for each function it appears in.)
/var/usr/src/lib/libc/net/gethostbydns.c:162: `res_dnok' undeclared (first use this function)
/var/usr/src/lib/libc/net/gethostbydns.c:253: `res_hnok' used prior to declaration
/var/usr/src/lib/libc/net/gethostbydns.c:287: `res_hnok' used prior to declaration
/var/usr/src/lib/libc/net/gethostbydns.c:386: `RES_USE_INET6' undeclared (first use this function)
/var/usr/src/lib/libc/net/gethostbydns.c: In function `_gethostbydnsname':
/var/usr/src/lib/libc/net/gethostbydns.c:417: `IN6ADDRSZ' undeclared (first use this function)
/var/usr/src/lib/libc/net/gethostbydns.c:465: `RES_USE_INET6' undeclared (first use this function)
/var/usr/src/lib/libc/net/gethostbydns.c: In function `_gethostbydnsaddr':
/var/usr/src/lib/libc/net/gethostbydns.c:504: `IN6ADDRSZ' undeclared (first use this function)
/var/usr/src/lib/libc/net/gethostbydns.c:594: `RES_USE_INET6' undeclared (first use this function)
*** Error code 1

Stop.

I focussed on the missing IN6ADDRSZ define and found that it was in a file in 
/usr/src/include/arpa/nameser.h,v (an RCS file) but not in the nameser.h file 
itself.  

When I reviewed the CVSup log I found (when grepping for nameser.h):

Checkout src/contrib/bind/include/arpa/nameser.h
Create src/include/arpa/nameser.h,v

This is my CVSupfile line for includes:

src-include release=cvs host=cvsup.FreeBSD.org hostbase=/home base=/usr prefix=/usr compress delete old use-rel-suffix 

(I received ",v" files for many files in include, but none for anywhere else!)


What gives?  Why did I receive the RCS file and why didn't CVSup make the 
update?  


Thanks,

Dan O'Brien 
(dmobrien@lucent.com)




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