Date: Tue, 27 May 2003 21:29:06 +0200 (CEST) From: Lukas Ertl <l.ertl@univie.ac.at> To: current@freebsd.org Subject: make buildkernel currently broken in sys/pci/agp_intel.c Message-ID: <20030527211854.U667@leelou.in.tern>
index | next in thread | raw e-mail
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@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/help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527211854.U667>
