Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 08:50:40 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        jos@catnook.com
Cc:        current@FreeBSD.ORG
Subject:   Re: Is current 'safe' to play in again [post GCC changes/stability]
Message-ID:  <200205150650.g4F6oeA15964@zibbi.icomtek.csir.co.za>
In-Reply-To: <20020515055615.GC69395@lizzy.catnook.com> from Jos Backus at "May 14, 2002 10:55:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Fwiw, with tonight's -current I am seeing
> 
> cc -O -pipe -march=pentiumpro -ffreestanding -DCOMPORT=0x3f8 -DCOMSPEED=9600
> -DTERM_EMU -I/disk0/usr/src/sys/boot/i386/libi386/../../common
> -I/disk0/usr/src/sys/boot/i386/libi386/../btx/lib
> -I/disk0/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpica
> -I/disk0/usr/src/sys/boot/i386/libi386/../../.. -I.
> -I/disk0/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/
> -ffreestanding -mpreferred-stack-boundary=2  -c
> /disk0/usr/src/sys/boot/i386/libi386/bioscd.c -o bioscd.o
> /disk0/usr/src/sys/boot/i386/libi386/bioscd.c: In function `bc_strategy':
> /disk0/usr/src/sys/boot/i386/libi386/bioscd.c:237: `DEV_BSIZE' undeclared
> (first use in this function)
> /disk0/usr/src/sys/boot/i386/libi386/bioscd.c:237: (Each undeclared identifier
> is reported only once
> /disk0/usr/src/sys/boot/i386/libi386/bioscd.c:237: for each function it
> appears in.)
> *** Error code 1
> 
> Stop in /disk0/usr/src/sys/boot/i386/libi386.
> *** Error code 1
> 

I think changing '#include <machine/param.h>' to '#include <sys/param.h>'
should be enough. DEV_BSIZE moved to sys/param.h, but it looks like it
wasn't "make world" tested. :-(

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205150650.g4F6oeA15964>