From: Randy Dunlap <randy.dunlap@oracle.com>
To: linux-next@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Cc: gregkh <greg@kroah.com>, samr <sam@ravnborg.org>
Subject: next-20080509 build fails with CONFIG_SYSFS=n
Date: Fri, 9 May 2008 10:28:17 -0700 [thread overview]
Message-ID: <20080509102817.3a885147.randy.dunlap@oracle.com> (raw)
I can't get 20080509 to build with SYSFS=n.
(on x86_64 or i386)
Problem is building asm-offsets.c.
GEN /local/linsrc/next-20080509/X64/Makefile
scripts/kconfig/conf -s arch/x86/Kconfig
Using /local/linsrc/next-20080509 as source for kernel
GEN /local/linsrc/next-20080509/X64/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
In file included from /local/linsrc/next-20080509/include/linux/kobject.h:21,
from /local/linsrc/next-20080509/include/linux/module.h:16,
from /local/linsrc/next-20080509/include/linux/crypto.h:21,
from /local/linsrc/next-20080509/arch/x86/kernel/asm-offsets_64.c:7,
from /local/linsrc/next-20080509/arch/x86/kernel/asm-offsets.c:4:
/local/linsrc/next-20080509/include/linux/sysfs.h: In function 'sysfs_rename_dir':
/local/linsrc/next-20080509/include/linux/sysfs.h:142: error: implicit declaration of function 'kobject_set_name'
In file included from /local/linsrc/next-20080509/include/linux/module.h:16,
from /local/linsrc/next-20080509/include/linux/crypto.h:21,
from /local/linsrc/next-20080509/arch/x86/kernel/asm-offsets_64.c:7,
from /local/linsrc/next-20080509/arch/x86/kernel/asm-offsets.c:4:
/local/linsrc/next-20080509/include/linux/kobject.h: At top level:
/local/linsrc/next-20080509/include/linux/kobject.h:74: error: conflicting types for 'kobject_set_name'
/local/linsrc/next-20080509/include/linux/kobject.h:74: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
/local/linsrc/next-20080509/include/linux/sysfs.h:142: error: previous implicit declaration of 'kobject_set_name' was here
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2
---
~Randy
reply other threads:[~2008-05-09 17:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080509102817.3a885147.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sam@ravnborg.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
all inboxes | Powered by JetHome®