Date: 19 Dec 2000 09:22:57 +0100 From: assar@FreeBSD.ORG To: John Indra <john@naver.co.id> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Recent -CURRENT kernel build problem... Message-ID: <5lk88wes66.fsf@assaris.sics.se> In-Reply-To: John Indra's message of "Tue, 19 Dec 2000 14:35:54 %2B0700" References: <20001219143553.B525@naver.co.id>
next in thread | previous in thread | raw e-mail | index | archive | help
John Indra <john@naver.co.id> writes: > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../dev > -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL > -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c > linking kernel > agp_amd.o: In function `agp_amd_alloc_gatt': > agp_amd.o(.text+0x67): undefined reference to `M_AGP' > agp_amd.o(.text+0x89): undefined reference to `M_AGP' > agp_amd.o(.text+0xd5): undefined reference to `M_AGP' > agp_amd.o(.text+0x105): undefined reference to `M_AGP' > agp_amd.o(.text+0x112): undefined reference to `M_AGP' > agp_amd.o(.text+0x234): more undefined references to `M_AGP' follow > *** Error code 1 Can you try the appended patch and tell us how it goes? /assar Index: agp.c =================================================================== RCS file: /home/ncvs/src/sys/pci/agp.c,v retrieving revision 1.9 diff -u -w -u -w -r1.9 agp.c --- agp.c 2000/12/12 20:24:36 1.9 +++ agp.c 2000/12/19 08:22:01 @@ -59,7 +59,7 @@ MODULE_VERSION(agp, 1); -static MALLOC_DEFINE(M_AGP, "agp", "AGP data structures"); +MALLOC_DEFINE(M_AGP, "agp", "AGP data structures"); #define CDEV_MAJOR 148 /* agp_drv.c */ 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?5lk88wes66.fsf>