Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 03:05:58 +0000 (GMT)
From:      attila! <attila@hun.org>
To:        FreeBSD 5.0-CURRENT <current@freebsd.org>
Subject:   CURRENT buildworld failure: include errors for libc, etc
Message-ID:  <20020927030558.x9MK24300@hun.org>

next in thread | raw e-mail | index | archive | help
    For the last 7-10 days, I have been getting the same
    error set which appears to be related to include files
    for libstdc+, libc, libc_r, and libobj (see partial
    listings below). other than

	libc, lc,
	fdisk, pwd_mkdb, kdump, devinfo
	gperf and the rest of the collection

    the rest of the compile is complete including
    the kernel

	date of system files: 	16 Sep 2002 1800 UCT
	date of kernel:		26 Sep 2002 0000 UCT

    both
	date of /usr/src	26 Sep 2002 0000 UCT
	date of /usr/src	27 Sep 2002 0000 UCT

    the last being less than 3 hours old.

    according to current list, there was a gcc update in the
    interim and the fact no-one is reporting these errors
    often means the system include files and/or libs are out
    of sync which I usually solve by raiding snapshot.

    However, I also notice that snapshots.jp.freebsd.org has
    not had a successful compile since the same 16 Sep 2002
    1800 UCT slice which I have on the system.

    should I overlay the 27 Sep include files over the 16 Sep
    files? I can't add a new libc as that is the principal
    error --and I can't get a copy from snapshot... ?

    comments?


    ---- partial error listing ----

    ===> gnu/lib/libstdc++
    In file included from /usr/src/lib/libc/net/res_send.c:100:
    /usr/src/include/unistd.h:104:1: warning: "_POSIX_THREAD_ATTR_STACKADDR" redefined
    In file included from /usr/src/include/unistd.h:42,
		     from /usr/src/lib/libc/net/res_send.c:100:
    /usr/include/sys/unistd.h:72:1: warning: this is the location of the previous declaration

	.... repeated for each file....

    mkdep: compile failed
    *** Error code 1
    `depend' not remade because of errors.
    ===> lib/libc_r
    In file included from /usr/src/lib/libc_r/uthread/uthread_accept.c:35:
    /usr/src/include/unistd.h:104:1: warning: "_POSIX_THREAD_ATTR_STACKADDR" redefin
    In file included from /usr/src/include/unistd.h:42,
		     from /usr/src/lib/libc_r/uthread/uthread_accept.c:35:
    /usr/include/sys/unistd.h:72:1: warning: this is the location of the previous de

	.... repeated for each file....

    ===> gnu/lib/libobjc
    In file included from /usr/src/lib/libc/db/btree/bt_close.c:50:
    /usr/src/include/unistd.h:104:1: warning: "_POSIX_THREAD_ATTR_STACKADDR" redefin
    In file included from /usr/src/include/unistd.h:42,
		     from /usr/src/lib/libc/db/btree/bt_close.c:50:
    /usr/include/sys/unistd.h:72:1: warning: this is the location of the previous de

	.... repeated for each file....

    /usr/src/lib/libc/gen/sysconf.c: In function `sysconf':
    /usr/src/lib/libc/gen/sysconf.c:118: syntax error before ')' token
    /usr/src/lib/libc/gen/sysconf.c:185: `_POSIX_MEMLOCK' undeclared (first use in t
    /usr/src/lib/libc/gen/sysconf.c:185: (Each undeclared identifier is reported onl

	    ... etc



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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