From owner-freebsd-stable Fri Sep 14 3:52:41 2001 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 78D4E37B40C for ; Fri, 14 Sep 2001 03:52:30 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8EAoh513255; Fri, 14 Sep 2001 13:50:43 +0300 (EEST) (envelope-from ru) Date: Fri, 14 Sep 2001 13:50:43 +0300 From: Ruslan Ermilov To: Sheldon Hearn Cc: stable@FreeBSD.ORG Subject: Re: Cross-building and read-only src both broken Message-ID: <20010914135043.A12915@sunbay.com> References: <26311.1000459295@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <26311.1000459295@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Fri, Sep 14, 2001 at 11:21:35AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 14, 2001 at 11:21:35AM +0200, Sheldon Hearn wrote: > > Hi folks, > > Two problems: > > 1) Cross-building RELENG_4 on a -CURRENT box is broken. > > cc -o make_hash -O -pipe -I. -I/usr/src.RELENG_4/lib/libncurses -I/usr/src.RELENG_4/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src.RELENG_4/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -DMAIN_PROGRAM > /usr/src.RELENG_4/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c > In file included from curses.h:77, > from > /usr/src.RELENG_4/lib/libncurses/../../contrib/ncurses/ncurses/curses.priv.h:234, > from > /usr/src.RELENG_4/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:41: > /usr/include/unctrl.h:57: syntax error before `unctrl' > /usr/include/unctrl.h:57: warning: data definition has no type or storage class > *** Error code 1 > OK, so far the following patches are required to pass up to the cross-tool stage. The patch for libncurses should also be committed to -CURRENT. unctrl.h was not generated, but instead the incompatible version in /usr/include was used. Index: lib/libncurses/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libncurses/Makefile,v retrieving revision 1.39.2.9 diff -u -r1.39.2.9 Makefile --- lib/libncurses/Makefile 2001/06/14 10:56:09 1.39.2.9 +++ lib/libncurses/Makefile 2001/09/14 10:49:31 @@ -326,10 +326,10 @@ # Build tools build-tools: make_hash make_keys -make_keys: make_keys.c names.c curses.h ncurses_def.h +make_keys: make_keys.c names.c ncurses_def.h ${HEADERS} ${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c -make_hash: comp_hash.c hashsize.h curses.h ncurses_def.h +make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS} ${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \ ${NCURSES}/ncurses/tinfo/comp_hash.c Index: share/syscons/scrnmaps/mkscrfil.c =================================================================== RCS file: /home/ncvs/src/share/syscons/scrnmaps/mkscrfil.c,v retrieving revision 1.1 diff -u -r1.1 mkscrfil.c --- share/syscons/scrnmaps/mkscrfil.c 1994/09/25 03:41:43 1.1 +++ share/syscons/scrnmaps/mkscrfil.c 2001/09/14 10:49:31 @@ -25,7 +25,7 @@ */ #include -#include +#include #include #include FIL -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message