Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 17:07:08 +0100
From:      Doug Rabson <dfr@rabson.org>
To:        Dave Uhring <duhring@charter.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Buildworld Fails RELENG_7
Message-ID:  <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org>
In-Reply-To: <20080519151739.GA50653@charter.net>
References:  <20080519151739.GA50653@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This symbol has been added to fcntl.h recently. It appears as if your  
build is picking up the installed header rather than the one from the  
source tree. Are you using 'make buildworld'?

On 19 May 2008, at 16:17, Dave Uhring wrote:

> Sources checked out yesterday, updated this morning using cvsup and
> repository at cvsup12.freebsd.org.  The build fails in /usr/src/lib/ 
> libc
>
> /usr/bin/gcc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -I/ 
> usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/ 
> src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../ 
> contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/ 
> libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES - 
> DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING - 
> DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno- 
> uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/sys/fcntl.c
> /usr/src/lib/libc/sys/fcntl.c: In function 'fcntl':
> /usr/src/lib/libc/sys/fcntl.c:42: error: storage size of 'ofl' isn't  
> known
> /usr/src/lib/libc/sys/fcntl.c:67: error: 'F_OGETLK' undeclared  
> (first use in this function)
> /usr/src/lib/libc/sys/fcntl.c:67: error: (Each undeclared identifier  
> is reported only once
> /usr/src/lib/libc/sys/fcntl.c:67: error: for each function it  
> appears in.)
> /usr/src/lib/libc/sys/fcntl.c:74: error: 'struct flock' has no  
> member named 'l_sysid'
> /usr/src/lib/libc/sys/fcntl.c:79: error: 'F_OSETLK' undeclared  
> (first use in this function)
> /usr/src/lib/libc/sys/fcntl.c:82: error: 'F_OSETLKW' undeclared  
> (first use in this function)
> /usr/src/lib/libc/sys/fcntl.c:42: warning: unused variable 'ofl'
> *** Error code 1
>
> Stop in /usr/src/lib/libc.
> *** Error code 1
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org 
> "




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB77C7C-55F7-4CC3-B842-E684F6C899E3>