Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262730AbUKERTd (ORCPT ); Fri, 5 Nov 2004 12:19:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262729AbUKERTd (ORCPT ); Fri, 5 Nov 2004 12:19:33 -0500 Received: from holly.csn.ul.ie ([136.201.105.4]:13735 "EHLO holly.csn.ul.ie") by vger.kernel.org with ESMTP id S262728AbUKERTM (ORCPT ); Fri, 5 Nov 2004 12:19:12 -0500 Date: Fri, 5 Nov 2004 17:19:11 +0000 (GMT) From: Dave Airlie X-X-Sender: airlied@skynet To: Adrian Bunk Cc: Andrew Morton , Jon Smirl , linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net Subject: Re: 2.6.10-rc1-mm3: drm_ati_pcigart_{init,cleanup} multiple definition In-Reply-To: <20041105165220.GD1295@stusta.de> Message-ID: References: <20041105001328.3ba97e08.akpm@osdl.org> <20041105165220.GD1295@stusta.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1074 Lines: 30 > ... > LD drivers/char/drm/built-in.o > drivers/char/drm/radeon.o(.text+0x120): In function `drm_ati_pcigart_init': > : multiple definition of `drm_ati_pcigart_init' > drivers/char/drm/r128.o(.text+0x120): first defined here > drivers/char/drm/radeon.o(.text+0x350): In function `drm_ati_pcigart_cleanup': > : multiple definition of `drm_ati_pcigart_cleanup' > drivers/char/drm/r128.o(.text+0x350): first defined here > make[3]: *** [drivers/char/drm/built-in.o] Error 1 The latest drm-2.6 tree avoids this I'm working with Jon to see if this solution is suitable.. It is a leftover from the templated tree, building into the kernel wasn't noticed until my merge.... Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie pam_smb / Linux DECstation / Linux VAX / ILUG person - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/