Building stable I have this problem ===> lib/libc cc -pg -O -pipe -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 -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/gen/syslog.c -o syslog.po /usr/src/lib/libc/gen/syslog.c: In function `connectlog': /usr/src/lib/libc/gen/syslog.c:336: error: `_PATH_LOG_PRIV' undeclared (first use in this function) /usr/src/lib/libc/gen/syslog.c:336: error: (Each undeclared identifier is reported only once /usr/src/lib/libc/gen/syslog.c:336: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/lib/libc. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. this doing make buildworld anyone has some ideas? thanks Rick
On Sat, Jan 08, 2005 at 07:49:10AM -0700, RJ45 wrote:> Building stable I have this problem > /usr/src/lib/libc/gen/syslog.c:336: error: `_PATH_LOG_PRIV' undeclaredI guess that you are building RELENG_5, rather than RELENG_4? The error suggests that either /usr/src/sys/sys/syslog.h is out of date (it should define _PATH_LOG_PRIV) or that you accidently did a "make" rather than "make buildworld" (in which case it is picking up the old syslog.h header in /usr/include). If you're trying to compile RELENG_4, then you probably have a mix of FreeBSD 4 and 5 sourcecode. David.