From owner-freebsd-current Fri Sep 28 1:35:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 71EC437B427; Fri, 28 Sep 2001 01:35:37 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA14220; Fri, 28 Sep 2001 18:35:16 +1000 Date: Fri, 28 Sep 2001 18:34:42 +1000 (EST) From: Bruce Evans X-X-Sender: To: Luigi Rizzo Cc: , Subject: Re: problem building libncurses... In-Reply-To: <200109272249.f8RMnUU69713@iguana.aciri.org> Message-ID: <20010928182852.D52421-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 27 Sep 2001, Luigi Rizzo wrote: > With a freshly downloaded source tree, today I am encountering > the following problem while building libraries: > > cc -o make_keys -nostdinc -I. -I/home/iguana/u0/rizzo/H/src/lib/libncurses -I/home/iguana/u0/rizzo/H/src/lib/libncurses/../../contrib/ncurses/ncurses -I/home/iguana/u0/rizzo/H/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -I/home/iguana/u0/rizzo/H/src/usr/include /home/iguana/u0/rizzo/H/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c > /tmp/ccqoEyz3.o: In function `main': > /tmp/ccqoEyz3.o(.text+0x243): undefined reference to `__stdoutp' > /tmp/ccqoEyz3.o(.text+0x29c): undefined reference to `__stdoutp' > /tmp/ccqoEyz3.o(.text+0x2cc): undefined reference to `__stdoutp' > /tmp/ccqoEyz3.o(.text+0x2d2): undefined reference to `__stdinp' > /tmp/ccqoEyz3.o(.text+0x2e8): undefined reference to `__stdoutp' > *** Error code 1 > > Apparently, this has to do with the fact that make_keys is being > built using new headers, but old libraries (and we cannot use > the new ones, we are building them). make_keys is apparently being _re_built with new headers and old libraries due to dependency bugs. It should have been built earlier with old headers and old libraries, and not rebuilt. Rebuilding build-tools like make_keys would cause many other problems (e.g., mixing new alpha headers with old i386 libraries). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message