Date: Sat, 26 May 2001 20:31:01 -0700 From: Dima Dorfman <dima@unixfreak.org> To: Mike Heffner <mheffner@vt.edu> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/kbdcontrol kbdcontrol.1 kbdcontrol. Message-ID: <20010527033101.422013E2F@bazooka.unixfreak.org> In-Reply-To: <XFMail.20010526231109.spock@techfour.net>; from spock@techfour.net on "Sat, 26 May 2001 23:11:09 -0400 (EDT)"
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Heffner <spock@techfour.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010527033101.422013E2F>