From owner-cvs-all Sat May 26 20:31: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id CE5E037B422; Sat, 26 May 2001 20:31:01 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 422013E2F; Sat, 26 May 2001 20:31:01 -0700 (PDT) To: Mike Heffner Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/kbdcontrol kbdcontrol.1 kbdcontrol. In-Reply-To: ; from spock@techfour.net on "Sat, 26 May 2001 23:11:09 -0400 (EDT)" Date: Sat, 26 May 2001 20:31:01 -0700 From: Dima Dorfman Message-Id: <20010527033101.422013E2F@bazooka.unixfreak.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Heffner writes: > This message is in MIME format > --_=XFMail.1.4.7.FreeBSD:20010526231109:453=_ > Content-Type: text/plain; charset=us-ascii > > This is from a -DNOCLEAN buildworld with an empty usr/obj, building bootstrap > tools: > > cd /usr/src/usr.sbin/kbdcontrol; make _EXTRADEPEND > echo kbdcontrol: /usr/obj/usr/src/i386/usr/lib/libc.a > /usr/obj/usr/src/i386/usr/lib/libl.a >> .depend > cc -O2 -pipe -I/usr/src/usr.sbin/kbdcontrol > -I/usr/obj/usr/src/i386/usr/include -c > /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c > /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c: In function `clear_history': > /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:987: `CONS_CLRHIST' undeclared (firstuse in this function) > /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:987: (Each undeclared identifier isreported only once > /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:987: for each function it appears in.) > *** Error code 1 Well, the problem is obviously that it's using the installed version of consio.h (the one in /usr/include/sys) instead of the new one (the one in ../../sys/sys). You can fix the problem by either copying the new consio.h to /usr/include/sys, or adding "-I../../sys" to CFLAGS in src/usr.sbin/kbdcontrol/Makefile. Unfortunately, neither fix is correct. Furthermore, I didn't bother reading all those threads talking about how to properly get rid of "-I../../sys" in Makefiles, so I don't know what the proper fix it. I'll go read them to see if I can figure it out. Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message