Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 21:19:21 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        epilogue <epilogue@allstream.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildworld failure -- 5.4 pre-pre
Message-ID:  <20050228211521.R62607@carver.gumbysoft.com>
In-Reply-To: <20050228130725.5848438c@localhost>
References:  <20050228130725.5848438c@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050228211521.R62607>