atom feed2 messages in org.freebsd.freebsd-stablesyslog problem
FromSent OnAttachments
RJ45Jan 8, 2005 6:48 am 
David MaloneJan 8, 2005 8:05 am 
Subject:syslog problem
From:David Malone (dwma@maths.tcd.ie)
Date:Jan 8, 2005 8:05:46 am
List:org.freebsd.freebsd-stable

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' undeclared

I 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.