From owner-freebsd-alpha Tue Jan 12 09:14:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13403 for freebsd-alpha-outgoing; Tue, 12 Jan 1999 09:14:54 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from feral-gw.feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13398 for ; Tue, 12 Jan 1999 09:14:52 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral-gw.feral.com (8.8.7/8.8.7) with ESMTP id JAA24213; Tue, 12 Jan 1999 09:14:03 -0800 Date: Tue, 12 Jan 1999 09:14:03 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@feral-gw Reply-To: mjacob@feral.com To: Kazutaka YOKOTA cc: alpha@FreeBSD.ORG Subject: Re: broken builds? In-Reply-To: <199901121700.CAA03040@zodiac.mech.utsunomiya-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for the quick response, here's the results: farrago.feral.com > cd /usr/src/usr.sbin/vidcontrol/ farrago.feral.com > make Warning: Object directory not changed from original /usr/src/usr.sbin/vidcontrol cc -O -pipe -Wall -c vidcontrol.c vidcontrol.c: In function `video_mode': vidcontrol.c:292: warning: `mode' might be used uninitialized in this function vidcontrol.c: In function `set_console': vidcontrol.c:376: warning: cast to pointer from integer of different size vidcontrol.c: In function `show_mode_info': vidcontrol.c:494: warning: int format, different type arg (arg 3) vidcontrol.c:494: warning: int format, different type arg (arg 4) vidcontrol.c:496: warning: int format, different type arg (arg 3) cc -O -pipe -Wall -c decode.c cc -O -pipe -Wall -o vidcontrol vidcontrol.o decode.o gzip -cn vidcontrol.1 > vidcontrol.1.gz farrago.feral.com > make Warning: Object directory not changed from original /usr/src/usr.sbin/kbdcontrol cc -O -pipe -c kbdcontrol.c lex -t lex.l > lex.c cc -O -pipe -c lex.c cc -O -pipe -o kbdcontrol kbdcontrol.o lex.o -ll gzip -cn kbdcontrol.1 > kbdcontrol.1.gz I fixed a couple of the vidcontrol errors (don't you you want address of n, not n?), but the printf format warnings are not fixable because size_t is a long on alpha, not an int. *** vidcontrol.c.save Tue Jan 12 09:02:27 1999 --- vidcontrol.c Tue Jan 12 09:11:11 1999 *************** *** 289,295 **** { "VESA_800x600", SW_VESA_800x600 }, { NULL }, }; ! unsigned long mode; int size[3]; int i; --- 289,295 ---- { "VESA_800x600", SW_VESA_800x600 }, { NULL }, }; ! unsigned long mode = 0; int size[3]; int i; *************** *** 373,379 **** n = atoi(arg); if (n < 1 || n > 12) { warnx("console number out of range"); ! } else if (ioctl(0,VT_ACTIVATE,(char *)n) == -1) warn("ioctl(VT_ACTIVATE)"); } --- 373,379 ---- n = atoi(arg); if (n < 1 || n > 12) { warnx("console number out of range"); ! } else if (ioctl(0, VT_ACTIVATE, (caddr_t) &n) == -1) warn("ioctl(VT_ACTIVATE)"); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message