Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 1997 17:11:22 -0500
From:      "Joshua J. Ellis" <ellis@kcc.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   stat_flags.c blowing make world (not finding SF_NOUNLINK)
Message-ID:  <01BC8BC1.F66A1E70.ellis@kcc.com>

next in thread | raw e-mail | index | archive | help
No huge rush, I have a stable system, so I'm not going to cry if I can't 'make 
world' this weekend.  But I've run into some problems that have me stumped.

Currently running FreeBSD 2.2.2-RELEASE.  Did a CVSup to get cvs-source for 
the 2_2_RELENG distribution (my impression was that 2_2_RELENG should retrieve 
the latest stable release of the 2.2.x family -- is this correct???).  CVSup 
went fine.  Ran a 'make world' and it blew on /usr/src/bin/ls/stat_flags.c 
because it SF_NOUNLINK and UF_NOUNLINK aren't in my copy of
<sys/stat.h> ... I've included the compile errors below, but they are pretty 
self-evident.

Here's where I am confused: Even after the CVSup, my stat_flags.c matches 
neither the ftp.cdrom.com source for FreeBSD-stable or FreeBSD-current.  My 
<sys/stat.h> has neither SF_NOUNLINK nor UF_NOUNLINK defined, but they 
obviously are defined in a copy somewhere, because FreeBSD-current uses them. 
 I'm also bewildered how I ended up with a stats_flags.c that has a lower 
version number, but later date, than -current.

Me
----
stat_flags.c v 1.2.8.1 1997/06/29 08:48:48 julian
<sys/stat.h> v 1.8 1996/09/19 18:21:17 nate

FreeBSD-stable
--------------
stat_flags.c v 1.2 1994/09/24 02:55:57 davidg
<sys/stat.h> ???

FreeBSD-current
---------------
stat_flags.c v 1.6 1997/06/02 06:24:50 julian
<sys/stat.h> ???


Here's my cvsup file... maybe I missed a tag?

---------------------
*default host=cvsup.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_2_2
*default delete use-rel-suffix
# *default compress
cvs-all
cvs-crypto
----------------------


End output from 'make world -DNOGAMES'
(moderately cleaned up for line breaks)
--------------------------------------
mkdep -f .depend -a  /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c
	/usr/src/usr.bin/xinstall/xinstall.c

cc -O2 -m486 -pipe -c /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c

/usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:
	In function `flags_to_string':

/usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:72:
	`UF_NOUNLINK' undeclared (first use this function)
	(Each undeclared identifier is reported only once
	for each function it appears in.)

/usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:82:
	`SF_NOUNLINK' undeclared (first use this function)

/usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:
	In function `string_to_flags':

/usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:141:
	`SF_NOUNLINK' undeclared (first use this function)

/usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:150:
	`UF_NOUNLINK' undeclared (first use this function)

*** Error code 1

Stop.


-joshua
--
****[ S-D-G ]***************************************[-0.8090169943749]***
Joshua Ellis, IS Consultant - Omni Resources, Green Bay, WI (800)236-2332
ellis@kcc.com                               http://www.kimberly-clark.com
joshe@elltech.com                           http://www.joshua.elltech.com
 > poet-apostate-philosopher-musician-pinhead-hwarang-webmaestro-japh <
*************************************************************************





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BC8BC1.F66A1E70.ellis>