linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Samuel Ortiz <samuel@sortiz.org>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: linux-next: Tree for Dec 19 (nfc)
Date: Wed, 21 Dec 2011 12:20:52 -0800	[thread overview]
Message-ID: <4EF23FA4.7080507@xenotime.net> (raw)
In-Reply-To: <20111221190211.GE11842@tuxdriver.com>

On 12/21/2011 11:02 AM, John W. Linville wrote:
> On Wed, Dec 21, 2011 at 11:57:19AM -0800, Randy Dunlap wrote:
>> On 12/20/2011 08:39 AM, Samuel Ortiz wrote:
>>> Hi Randy,
>>>
>>> On Mon, 2011-12-19 at 12:44 -0800, Randy Dunlap wrote:
>>>> On 12/18/2011 11:55 PM, Stephen Rothwell wrote:
>>>>> Hi all,
>>>>>
>>>>> Changes since 20111216:
>>>>
>>>>
>>>> (not new today, just not reported earlier)
>>> John applied my fix for this one. It should be fixed now.
>>
>> Hi Samuel,
>>
>> Is this supposed to be fixed in linux-next?
>> It still fails today (linux-next 20111221).
>>
>>
>> data.c:(.text+0x3e0): multiple definition of `nfc_llcp_mac_is_down'
>> data.c:(.text+0x400): multiple definition of `nfc_llcp_mac_is_up'
>> ntf.c:(.text+0xb60): multiple definition of `nfc_llcp_mac_is_down'
>> ntf.c:(.text+0xb80): multiple definition of `nfc_llcp_mac_is_up'
>> rsp.c:(.text+0x750): multiple definition of `nfc_llcp_mac_is_down'
>> rsp.c:(.text+0x770): multiple definition of `nfc_llcp_mac_is_up'
>> netlink.c:(.text+0x14e0): multiple definition of `nfc_llcp_mac_is_down'
>> netlink.c:(.text+0x1500): multiple definition of `nfc_llcp_mac_is_up'
>> af_nfc.c:(.text+0xe0): multiple definition of `nfc_llcp_mac_is_down'
>> af_nfc.c:(.text+0x100): multiple definition of `nfc_llcp_mac_is_up'
>> rawsock.c:(.text+0x1000): multiple definition of `nfc_llcp_mac_is_down'
>> rawsock.c:(.text+0x1020): multiple definition of `nfc_llcp_mac_is_up'
> 
> I have this commit in wireless-next, been there a couple of days:

Apparently this patch is not sufficient.  There is still a build problem.


> commit 645d35902c8f05a1b12fa838aa9052d8eeaf161e
> Author: Samuel Ortiz <sameo@linux.intel.com>
> Date:   Fri Dec 16 15:03:36 2011 +0100
> 
>     NFC: Fix LLCP related build failure
>     
>     llcp_mac routines should be static and inlined or build will fail with NFC
>     selected without LLCP.
>     
>     This patch fixes:
>     
>     LD [M]  net/nfc/nfc.o
>     net/nfc/netlink.o: In function `nfc_llcp_mac_is_down':
>     netlink.c:(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
>     net/nfc/core.o:(.text+0x0): first defined here
>     net/nfc/netlink.o: In function `nfc_llcp_mac_is_up':
>     netlink.c:(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
>     net/nfc/core.o:(.text+0x10): first defined here
>     net/nfc/af_nfc.o: In function `nfc_llcp_mac_is_down':
>     (.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
>     net/nfc/core.o:(.text+0x0): first defined here
>     net/nfc/af_nfc.o: In function `nfc_llcp_mac_is_up':
>     (.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
>     net/nfc/core.o:(.text+0x10): first defined here
>     net/nfc/rawsock.o: In function `nfc_llcp_mac_is_down':
>     rawsock.c:(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
>     net/nfc/core.o:(.text+0x0): first defined here
>     net/nfc/rawsock.o: In function `nfc_llcp_mac_is_up':
>     rawsock.c:(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
>     net/nfc/core.o:(.text+0x10): first defined here
>     
>     Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
>     Signed-off-by: John W. Linville <linville@tuxdriver.com>
> 


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

  reply	other threads:[~2011-12-21 19:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-19  7:55 linux-next: Tree for Dec 19 Stephen Rothwell
2011-12-19 20:32 ` linux-next: Tree for Dec 19 (xen) Randy Dunlap
2011-12-19 20:47   ` [Xen-devel] " Konrad Rzeszutek Wilk
2011-12-19 20:38 ` linux-next: Tree for Dec 19 (staging/media/go7007) Randy Dunlap
2011-12-19 20:44 ` linux-next: Tree for Dec 19 (nfc) Randy Dunlap
2011-12-20 16:39   ` Samuel Ortiz
2011-12-20 20:14     ` Randy Dunlap
2011-12-21 19:57     ` Randy Dunlap
2011-12-21 19:02       ` John W. Linville
2011-12-21 20:20         ` Randy Dunlap [this message]
2011-12-21 20:42       ` Samuel Ortiz
2011-12-21 21:58         ` Randy Dunlap
2011-12-21 23:35           ` Samuel Ortiz
2011-12-22  1:52             ` Randy Dunlap
2011-12-22  1:03               ` Stephen Rothwell
2011-12-20  1:52 ` linux-next: Tree for Dec 19 Mark Brown
2011-12-20  3:20   ` Stephen Rothwell
2011-12-20  6:39     ` Stephen Rothwell
2011-12-20 11:54     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EF23FA4.7080507@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=samuel@sortiz.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).