Date: Thu, 17 Feb 2005 17:30:35 GMT From: Tuure Laurinolli <tuure@laurinolli.net> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/77648: compiling syslog.c fails on 5-STABLE Message-ID: <200502171730.j1HHUZio080118@www.freebsd.org> Resent-Message-ID: <200502171740.j1HHeLQc073190@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77648 >Category: bin >Synopsis: compiling syslog.c fails on 5-STABLE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 17 17:40:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Tuure Laurinolli >Release: RELENG_5_3 >Organization: >Environment: FreeBSD vortex.home.lan 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #12: Wed Jan 12 03:50:31 EET 2005 root@vortex.home.lan:/usr/obj/usr/src/sys/VORTEX i386 >Description: When doing buildworld of RELENG_5, compiling fails in the following way: cc -g -O -pipe -march=pentium3 -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 /usr/src/lib/libc/gen/syslog.c: In function `connectlog': /usr/src/lib/libc/gen/syslog.c:365: error: `_PATH_LOG_PRIV' undeclared (first use in this function) /usr/src/lib/libc/gen/syslog.c:365: error: (Each undeclared identifier is reported only once /usr/src/lib/libc/gen/syslog.c:365: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/lib/libc. _PATH_LOG_PRIV is actually defined in /usr/src/sys/sys/syslog.h, but the file installed on the system (v 1.24) is used instead of the file to-be-installed in RELENG_5 (v 1.24.2.2). The old version does nto define _PATH_LOG_PRIV >How-To-Repeat: make buildworld on RELENG_5 sources on RELENG_5_3 >Fix: I could upgrade the header file in /usr/include/sys by hand, but that isn't a nice solution. Adding /usr/src/sys/sys to libc Makefile did not help, I guess it gets added to the search path after the include paths defined in environment. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502171730.j1HHUZio080118>