public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "D. Hazelton" <dhazelton@enter.net>
To: Jesper Juhl <jesper.juhl@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.16-rc3-git7 build failure if sysfs disabled
Date: Thu, 16 Feb 2006 20:38:54 -0500	[thread overview]
Message-ID: <200602162038.54871.dhazelton@enter.net> (raw)
In-Reply-To: <9a8748490602161542k1b282097ub754e6f0287780d2@mail.gmail.com>

On Thursday 16 February 2006 18:42, Jesper Juhl wrote:
> 2.6.16-rc3-git7 fails to build when sysfs is disabled with the
> attached .config .
>
> Without sysfs enabled :
>
>   LD      vmlinux
>
> lib/lib.a(kobject_uevent.o)(.text+0x1d5): In function `kobject_uevent':
> : undefined reference to `uevent_seqnum'
>
> lib/lib.a(kobject_uevent.o)(.text+0x1db): In function `kobject_uevent':
> : undefined reference to `uevent_seqnum'
>
> lib/lib.a(kobject_uevent.o)(.text+0x1e7): In function `kobject_uevent':
> : undefined reference to `uevent_seqnum'
>
> lib/lib.a(kobject_uevent.o)(.text+0x1ed): In function `kobject_uevent':
> : undefined reference to `uevent_seqnum'
>
> lib/lib.a(kobject_uevent.o)(.text+0x22c): In function `kobject_uevent':
> : undefined reference to `uevent_helper'
>
> lib/lib.a(kobject_uevent.o)(.text+0x2c0): In function `kobject_uevent':
> : undefined reference to `uevent_helper'
>
> lib/lib.a(kobject_uevent.o)(.text+0x2d3): In function `kobject_uevent':
> : undefined reference to `uevent_helper'
>
> make: *** [vmlinux] Error 1
>
> If sysfs is switched on the same config builds just fine.
>
> The .config is attached.

I've been looking at this for a few minutes now and wondering - since sysfs is 
an integrated part of the new module system there isn't an easy solution in 
the KConfig system. Perhaps providing a stub function that does nothing for 
builds that have sysfs turned off would be better...

Either that, or leave the function in and have its function depend, in some 
function, on whether sysfs was loaded as a module or isn't present at all. 
Truthfully, though, I don't know if that's possible.

DRH

      parent reply	other threads:[~2006-02-17  1:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 23:42 2.6.16-rc3-git7 build failure if sysfs disabled Jesper Juhl
2006-02-17  0:44 ` Greg KH
2006-02-17  9:17   ` Jesper Juhl
2006-02-17  1:38 ` D. Hazelton [this message]

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=200602162038.54871.dhazelton@enter.net \
    --to=dhazelton@enter.net \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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