Re: buildworld failure -- 5.4 pre-pre

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 28 Feb 2005 21:19:21 -0800 (PST)
On Mon, 28 Feb 2005, epilogue wrote:

>
> hello all,
>
> hoping to help test 5.4, but running into a bit of a problem with
> buildworld.
>
> * 5.3 compiles happily with the settings below.
> * didn't notice anything relevant in UPDATING.
>
> any suggestion (or castigation) would be muchly appreciated.

Works for me. I have rev 1.30.2.3 of src/lib/libc/gen/syslog.c.

> -----------------------------------
> the bits that i'm pulling down
> -----------------------------------
> src-base
> src-bin
> src-contrib
> src-crypto
> src-etc
> src-gnu
> src-include
> src-libexec
> src-lib
> src-sbin
> src-secure
> src-share
> src-sys
> src-sys-crypto
> src-tools
> src-usrbin
> src-usrsbin

Why not just grab src-all, which includes all of these? :)

> -----------------------------------
> finally, the error
> -----------------------------------
> /usr/bin/cc -O -pipe -march=pentium3 -I/usr/src/lib/libc/include
> -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DB
> INTERFACE_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/termios.c
>
> /usr/bin/cc -fpic -DPIC -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/s rc/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/termios.c -o termios.So
>
> /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.)

This implies your header files are broken; _PATH_LOG_PRIV is defiend in
src/sys/sys/syslog.h. I'd suggest re-cvsupping with "src-all" instead of
the list of src distributions and follow the instructions in UPDATING
and/or the Handbook on how to build world.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Tue Mar 01 2005 - 04:19:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC