syslog problem

David Malone dwmalone at maths.tcd.ie
Sat Jan 8 08:06:03 PST 2005


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.


More information about the freebsd-stable mailing list