make buildkernel currently broken in sys/pci/agp_intel.c
Lukas Ertl
l.ertl at univie.ac.at
Tue May 27 12:29:18 PDT 2003
cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL
-include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/pci/agp_intel.c
/usr/src/sys/pci/agp_intel.c: In function `agp_intel_attach':
/usr/src/sys/pci/agp_intel.c:173: `value' undeclared (first use in this
function)
/usr/src/sys/pci/agp_intel.c:173: (Each undeclared identifier is reported
only once
/usr/src/sys/pci/agp_intel.c:173: for each function it appears in.)
*** Error code 1
This is probably because of rev. 1.13, which jhb@ committed just about an
hour ago.
Fix:
---8<---
Index: sys/pci/agp_intel.c
===================================================================
RCS file: /u/cvs/cvs/src/sys/pci/agp_intel.c,v
retrieving revision 1.13
diff -u -r1.13 agp_intel.c
--- sys/pci/agp_intel.c 27 May 2003 18:23:56 -0000 1.13
+++ sys/pci/agp_intel.c 27 May 2003 19:28:38 -0000
@@ -131,6 +131,7 @@
struct agp_gatt *gatt;
u_int32_t type = pci_get_devid(dev);
int error;
+ u_long value;
error = agp_generic_attach(dev);
if (error)
---8<---
regards,
le
--
Lukas Ertl eMail: l.ertl at univie.ac.at
UNIX-Systemadministrator Tel.: (+43 1) 4277-14073
Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140
der Universität Wien http://mailbox.univie.ac.at/~le/
More information about the freebsd-current
mailing list