From owner-freebsd-current Tue Dec 19 0:23:13 2000 From owner-freebsd-current@FreeBSD.ORG Tue Dec 19 00:23:10 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from assaris.sics.se (h122n4fls32o892.telia.com [213.64.47.122]) by hub.freebsd.org (Postfix) with ESMTP id 3937D37B402 for ; Tue, 19 Dec 2000 00:23:09 -0800 (PST) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id JAA80087; Tue, 19 Dec 2000 09:22:58 +0100 (CET) (envelope-from assar) Sender: assar@assaris.sics.se From: assar@FreeBSD.ORG To: John Indra Cc: freebsd-current@FreeBSD.ORG Subject: Re: Recent -CURRENT kernel build problem... References: <20001219143553.B525@naver.co.id> Date: 19 Dec 2000 09:22:57 +0100 In-Reply-To: John Indra's message of "Tue, 19 Dec 2000 14:35:54 +0700" Message-ID: <5lk88wes66.fsf@assaris.sics.se> Lines: 36 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Indra 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