From: mds@paradyne.com (Mark D. Studebaker)
To: lm-sensors@vger.kernel.org
Subject: Can't compile.
Date: Thu, 19 May 2005 06:23:25 +0000 [thread overview]
Message-ID: <3BEF33F5.52C13A08@paradyne.com> (raw)
In-Reply-To: <1004795203.3be3f5436c8d7@imp3-1.free.fr>
Haven't seen this before.
What kernel are you compiling against?
I don't see this in include/linux/modversions.h in
kernel 2.4.14.
mds
Boris de Laage wrote:
>
> I can't compile the I2C modules:
>
> gcc -I/usr/src/linux/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE
> -fomit-frame-pointer -DEXPORT_SYMTAB -c kernel/i2c-core.c -o kernel/i2c-core.o
> In file included from /usr/src/linux/include/linux/module.h:21,
> from kernel/i2c-core.c:25:
> /usr/include/linux/modversions.h:1:2: #error Modules should never use
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but rather headers from an
> appropriate kernel-source package.
> /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or
> similar) to
> /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
> -r)/build/include
> /usr/include/linux/modversions.h:5:2: #error to build against the
> currently-running kernel.
next prev parent reply other threads:[~2005-05-19 6:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:23 Can't compile Boris de Laage
2005-05-19 6:23 ` phil
2005-05-19 6:23 ` Mark D. Studebaker [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-01 10:50 can't compile zhiyi6
2003-02-24 21:06 Michal Semler
[not found] <1032676882.752.116.camel@zen8100a>
2002-09-22 23:00 ` Zenaan Harkness
2002-09-23 13:10 ` Frans Ketelaars
2002-09-23 23:43 ` Zenaan Harkness
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=3BEF33F5.52C13A08@paradyne.com \
--to=mds@paradyne.com \
--cc=lm-sensors@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 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.