Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756628AbYHAR4i (ORCPT ); Fri, 1 Aug 2008 13:56:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751964AbYHAR4a (ORCPT ); Fri, 1 Aug 2008 13:56:30 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:10531 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbYHAR43 (ORCPT ); Fri, 1 Aug 2008 13:56:29 -0400 Date: Fri, 1 Aug 2008 10:50:28 -0700 From: Randy Dunlap To: Dean Nelson Cc: Linus Torvalds , Stephen Rothwell , Jack Steiner , linux-next@vger.kernel.org, LKML Subject: Re: [PATCH] add reverse dependency of CONFIG_SGI_XP upon CONFIG_SGI_GRU Message-Id: <20080801105028.3411f703.randy.dunlap@oracle.com> In-Reply-To: <20080801145526.GA29354@sgi.com> References: <20080731175854.09ea35c8.sfr@canb.auug.org.au> <20080731223758.b5985dd7.randy.dunlap@oracle.com> <20080801145526.GA29354@sgi.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2778 Lines: 61 On Fri, 1 Aug 2008 09:55:26 -0500 Dean Nelson wrote: > Add a reverse dependency of CONFIG_SGI_XP upon CONFIG_SGI_GRU to Kconfig. > > Signed-off-by: Dean Nelson Yes, this helps, but there is another problem. When CONFIG_NET=n, these build errors happen: drivers/built-in.o: In function `xpnet_connection_activity': xpnet.c:(.text+0x114442): undefined reference to `netif_carrier_on' xpnet.c:(.text+0x114458): undefined reference to `dev_alloc_skb' xpnet.c:(.text+0x1144b0): undefined reference to `skb_put' xpnet.c:(.text+0x11451b): undefined reference to `eth_type_trans' xpnet.c:(.text+0x11455f): undefined reference to `netif_rx_ni' xpnet.c:(.text+0x11457f): undefined reference to `netif_carrier_off' drivers/built-in.o: In function `xpnet_send_completed': xpnet.c:(.text+0x114614): undefined reference to `dev_kfree_skb_any' drivers/built-in.o: In function `xpnet_dev_hard_start_xmit': xpnet.c:(.text+0x1147c4): undefined reference to `kfree_skb' xpnet.c:(.text+0x114871): undefined reference to `kfree_skb' drivers/built-in.o: In function `xpnet_init': xpnet.c:(.init.text+0xa818): undefined reference to `ether_setup' xpnet.c:(.init.text+0xa829): undefined reference to `alloc_netdev_mq' xpnet.c:(.init.text+0xa841): undefined reference to `netif_carrier_off' xpnet.c:(.init.text+0xa930): undefined reference to `register_netdev' xpnet.c:(.init.text+0xa946): undefined reference to `free_netdev' drivers/built-in.o: In function `xpnet_exit': xpnet.c:(.exit.text+0xcbd): undefined reference to `unregister_netdev' xpnet.c:(.exit.text+0xcc9): undefined reference to `free_netdev' make[1]: *** [.tmp_vmlinux1] Error 1 > --- > > drivers/misc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > Index: linux/drivers/misc/Kconfig > =================================================================== > --- linux.orig/drivers/misc/Kconfig 2008-07-31 12:34:08.000000000 -0500 > +++ linux/drivers/misc/Kconfig 2008-08-01 09:16:53.000000000 -0500 > @@ -429,6 +429,7 @@ config SGI_XP > depends on IA64_GENERIC || IA64_SGI_SN2 || IA64_SGI_UV || (X86_64 && SMP) > select IA64_UNCACHED_ALLOCATOR if IA64_GENERIC || IA64_SGI_SN2 > select GENERIC_ALLOCATOR if IA64_GENERIC || IA64_SGI_SN2 > + select SGI_GRU if IA64_GENERIC || IA64_SGI_UV || (X86_64 && SMP) > ---help--- > An SGI machine can be divided into multiple Single System > Images which act independently of each other and have --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ -- 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/