Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933139Ab2K3PTY (ORCPT ); Fri, 30 Nov 2012 10:19:24 -0500 Received: from mail-qc0-f174.google.com ([209.85.216.174]:44184 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030643Ab2K3PTV (ORCPT ); Fri, 30 Nov 2012 10:19:21 -0500 From: Paul Moore To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "netdev@vger.kernel.org" Subject: Re: linux-next: Tree for Nov 29 (netlabel) Date: Fri, 30 Nov 2012 10:19:16 -0500 Message-ID: <3694027.VYznNcdp7C@sifl> User-Agent: KMail/4.9.3 (Linux/3.6.6-gentoo; KDE/4.9.3; x86_64; ; ) In-Reply-To: <50B7F846.70202@infradead.org> References: <20121129174057.99da02b15426c76054d05592@canb.auug.org.au> <50B7F846.70202@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4779 Lines: 95 On Thursday, November 29, 2012 04:05:26 PM Randy Dunlap wrote: > On 11/28/2012 10:40 PM, Stephen Rothwell wrote: > > Hi all, > > > Changes since 20121128: > (on i386:) If I had to guess it looks like CONFIG_NETLABEL needs to be dependent on CONFIG_INET. While the net/ Kconfig only pulls in the net/netlabel Kconfig if CONFIG_INET is defined, I'm guessing that without the explicit dependency there is nothing preventing someone from arriving at a bad configuration as we see here. Let me test this out to make sure my reasoning is right and if it is I'll post a patch to netdev later today. Thanks for catching this. > net/built-in.o: In function `netlbl_cfg_cipsov4_add': > (.text+0x61757): undefined reference to `cipso_v4_doi_add' > net/built-in.o: In function `netlbl_cfg_cipsov4_del': > (.text+0x6177d): undefined reference to `cipso_v4_doi_remove' > net/built-in.o: In function `netlbl_cfg_cipsov4_map_add': > (.text+0x617ae): undefined reference to `cipso_v4_doi_getdef' > net/built-in.o: In function `netlbl_cfg_cipsov4_map_add': > (.text+0x61a49): undefined reference to `cipso_v4_doi_putdef' > net/built-in.o: In function `netlbl_sock_setattr': > (.text+0x6218c): undefined reference to `cipso_v4_sock_setattr' > net/built-in.o: In function `netlbl_sock_delattr': > (.text+0x6220b): undefined reference to `cipso_v4_sock_delattr' > net/built-in.o: In function `netlbl_sock_getattr': > (.text+0x62238): undefined reference to `cipso_v4_sock_getattr' > net/built-in.o: In function `netlbl_conn_setattr': > (.text+0x622de): undefined reference to `cipso_v4_sock_setattr' > net/built-in.o: In function `netlbl_conn_setattr': > (.text+0x62303): undefined reference to `cipso_v4_sock_delattr' > net/built-in.o: In function `netlbl_req_setattr': > (.text+0x62429): undefined reference to `cipso_v4_req_setattr' > net/built-in.o: In function `netlbl_req_setattr': > (.text+0x6244e): undefined reference to `cipso_v4_req_delattr' > net/built-in.o: In function `netlbl_req_delattr': > (.text+0x624ba): undefined reference to `cipso_v4_req_delattr' > net/built-in.o: In function `netlbl_skbuff_setattr': > (.text+0x62551): undefined reference to `cipso_v4_skbuff_setattr' > net/built-in.o: In function `netlbl_skbuff_setattr': > (.text+0x62576): undefined reference to `cipso_v4_skbuff_delattr' > net/built-in.o: In function `netlbl_skbuff_getattr': > (.text+0x62619): undefined reference to `cipso_v4_skbuff_getattr' > net/built-in.o: In function `netlbl_skbuff_err': > (.text+0x62685): undefined reference to `cipso_v4_error' > net/built-in.o: In function `netlbl_cache_invalidate': > (.text+0x626ab): undefined reference to `cipso_v4_cache_invalidate' > net/built-in.o: In function `netlbl_cache_add': > (.text+0x626ec): undefined reference to `cipso_v4_cache_add' > net/built-in.o: In function `netlbl_domhsh_remove_entry': > (.text+0x63294): undefined reference to `cipso_v4_doi_putdef' > net/built-in.o: In function `netlbl_domhsh_remove_entry': > (.text+0x632eb): undefined reference to `cipso_v4_doi_putdef' > net/built-in.o: In function `netlbl_domhsh_remove_af4': > (.text+0x6349b): undefined reference to `cipso_v4_doi_putdef' > net/built-in.o: In function `netlbl_mgmt_add_common.clone.1': > netlabel_mgmt.c:(.text+0x64a87): undefined reference to > `cipso_v4_doi_getdef' netlabel_mgmt.c:(.text+0x64c83): undefined reference > to `cipso_v4_doi_putdef' net/built-in.o: In function > `netlbl_cipsov4_listall': > netlabel_cipso_v4.c:(.text+0x66e52): undefined reference to > `cipso_v4_doi_walk' net/built-in.o: In function `netlbl_cipsov4_list': > netlabel_cipso_v4.c:(.text+0x67199): undefined reference to > `cipso_v4_doi_getdef' net/built-in.o: In function `netlbl_cipsov4_remove': > netlabel_cipso_v4.c:(.text+0x6771b): undefined reference to > `cipso_v4_doi_remove' net/built-in.o: In function > `netlbl_cipsov4_add_pass': > netlabel_cipso_v4.c:(.text+0x67a4b): undefined reference to > `cipso_v4_doi_add' netlabel_cipso_v4.c:(.text+0x67a76): undefined reference > to `cipso_v4_doi_free' net/built-in.o: In function > `netlbl_cipsov4_add_local': > netlabel_cipso_v4.c:(.text+0x67b9a): undefined reference to > `cipso_v4_doi_add' netlabel_cipso_v4.c:(.text+0x67bc5): undefined reference > to `cipso_v4_doi_free' net/built-in.o: In function > `netlbl_cipsov4_add_std': > netlabel_cipso_v4.c:(.text+0x68535): undefined reference to > `cipso_v4_doi_add' netlabel_cipso_v4.c:(.text+0x68575): undefined reference > to `cipso_v4_doi_free' > > > Full randconfig file is attached. -- paul moore www.paul-moore.com -- 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/