All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: linux kbuild list <linux-kbuild@vger.kernel.org>
Subject: Re: strange build failure when kconfig symbol is bool but not when tristate
Date: Sat, 15 Oct 2011 00:54:48 +0200	[thread overview]
Message-ID: <4E98BDB8.2080403@suse.cz> (raw)
In-Reply-To: <4E98B845.8050009@xenotime.net>

On 15.10.2011 00:31, Randy Dunlap wrote:
> (my turn)
> 
> I have seen this randconfig build error 2-3 times in the past 3 months:
> (this one is from linux-next of 20111014.)
> 
> net/built-in.o: In function `unregister_8022_client':
> (.text+0x26157): undefined reference to `llc_sap_close'
> net/built-in.o: In function `register_8022_client':
> (.text+0x261b6): undefined reference to `llc_sap_open'
> net/built-in.o: In function `p8022_request':
> p8022.c:(.text+0x261e5): undefined reference to `llc_build_and_send_ui_pkt'
> net/built-in.o: In function `snap_request':
> psnap.c:(.text+0x26487): undefined reference to `llc_build_and_send_ui_pkt'
> net/built-in.o: In function `snap_init':
> psnap.c:(.init.text+0xb22): undefined reference to `llc_sap_open'
> net/built-in.o: In function `snap_exit':
> psnap.c:(.exit.text+0x16): undefined reference to `llc_sap_close'
> 
> I finally found that if I change drivers/net/tokenring/Kconfig
> symbol TR from bool to tristate, the build completes successfully,
> but I don't understand why this is happening.

It seems that you have TR built-in, but LLC modular, i.e. the 'select
LLC' is not doing what it should. Can you attach the whole config?

Michal

  reply	other threads:[~2011-10-14 22:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14 22:31 strange build failure when kconfig symbol is bool but not when tristate Randy Dunlap
2011-10-14 22:54 ` Michal Marek [this message]
2011-10-15  0:20   ` Randy Dunlap
2011-10-15  5:39 ` Arnaud Lacombe
2011-10-15  5:52   ` Randy Dunlap
2011-10-15  6:08     ` Arnaud Lacombe
2011-11-11 16:55       ` Randy Dunlap
2011-11-20 13:59         ` Michal Marek
2011-11-20 17:39           ` Randy Dunlap
2011-11-20 18:02             ` Arnaud Lacombe

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=4E98BDB8.2080403@suse.cz \
    --to=mmarek@suse.cz \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.