From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753361AbaAQSuM (ORCPT ); Fri, 17 Jan 2014 13:50:12 -0500 Received: from merlin.infradead.org ([205.233.59.134]:43253 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752819AbaAQSuJ (ORCPT ); Fri, 17 Jan 2014 13:50:09 -0500 Message-ID: <52D97B57.9000000@infradead.org> Date: Fri, 17 Jan 2014 10:49:59 -0800 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Dmitry Eremin-Solenikov , "David S. Miller" , Marcel Holtmann CC: Stephen Rothwell , linux-next@vger.kernel.org, kernel list , linux-zigbee-devel , Alexander Smirnov , "netdev@vger.kernel.org" , Jukka Rissanen Subject: Re: linux-next: Tree for Jan 14 (lowpan, 802.15.4) References: <20140114165128.0dd51f362e0f34a2ef4dc92f@canb.auug.org.au> <52D578A7.8020000@infradead.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/14/2014 02:54 PM, Dmitry Eremin-Solenikov wrote: > Hello, > > > On Tue, Jan 14, 2014 at 9:49 PM, Randy Dunlap wrote: >> >> On 01/13/2014 09:51 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> This tree fails (more than usual) the powerpc allyesconfig build. >>> >>> Changes since 20140113: >>> >> >> >> on i386: >> >> net/built-in.o: In function `header_create': >> 6lowpan.c:(.text+0x166149): undefined reference to `lowpan_header_compress' >> net/built-in.o: In function `bt_6lowpan_recv': >> (.text+0x166b3c): undefined reference to `lowpan_process_data' > > Ah, nice Makefile hack there. > David, Marcel, could you please consider the attached patch. > > Hi, I guess that the Makefile hack is still causing problems. With today's linux-next (20140117), I see these build errors (or warnings in the case of loadable modules): when 802.15.4 and Bluetooth are built as loadable modules: WARNING: net/ieee802154/6lowpan_iphc: 'lowpan_header_compress' exported twice. Previous export was in net/bluetooth/bluetooth.ko WARNING: net/ieee802154/6lowpan_iphc: 'lowpan_process_data' exported twice. Previous export was in net/bluetooth/bluetooth.ko when they are builtin to the kernel image: net/ieee802154/built-in.o: In function `lowpan_header_compress': (.text+0x3d00): multiple definition of `lowpan_header_compress' net/bluetooth/built-in.o:(.text+0x2e8f0): first defined here net/ieee802154/built-in.o: In function `lowpan_process_data': (.text+0x3230): multiple definition of `lowpan_process_data' net/bluetooth/built-in.o:(.text+0x2de20): first defined here -- ~Randy