From: Marco Roeland <marco.roeland@xs4all.nl>
To: Alan Cox <alan@redhat.com>, Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.5.65-ac2 (drivers/char/genrtc.c compile failure on i386)
Date: Sat, 22 Mar 2003 21:22:01 +0100 [thread overview]
Message-ID: <20030322202201.GA32386@localhost> (raw)
In-Reply-To: <200303211741.h2LHfPn00366@devserv.devel.redhat.com>
On Friday March 21st 2003 at 12:41 Alan Cox wrote:
> Linux 2.5.65-ac2
> ...
> o M68K rtc updates (Geert Uytterhoeven)
The file drivers/char/genrtc.c was updated, but include/arch-generic/rtc.h
which is used on i386 wasn't (yet?), leading to compile failures on i386:
(the missing define is only the first symptom)
gcc -Wp,-MD,drivers/char/.genrtc.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=genrtc -DKBUILD_MODNAME=genrtc -c -o drivers/char/genrtc.o drivers/char/genrtc.c
drivers/char/genrtc.c:100: warning: static declaration for `gen_rtc_interrupt' follows non-static
drivers/char/genrtc.c: In function `gen_rtc_timer':
drivers/char/genrtc.c:135: warning: comparison of distinct pointer types lacks a cast
drivers/char/genrtc.c: In function `gen_rtc_open':
drivers/char/genrtc.c:358: warning: `_MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:456)
drivers/char/genrtc.c: In function `gen_rtc_release':
drivers/char/genrtc.c:377: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:431)
drivers/char/genrtc.c: In function `gen_rtc_proc_output':
drivers/char/genrtc.c:453: void value not ignored as it ought to be
drivers/char/genrtc.c:498: `RTC_BATT_BAD' undeclared (first use in this function)
drivers/char/genrtc.c:498: (Each undeclared identifier is reported only once
drivers/char/genrtc.c:498: for each function it appears in.)
make[2]: *** [drivers/char/genrtc.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
Marco Roeland
next prev parent reply other threads:[~2003-03-22 20:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 17:41 Linux 2.5.65-ac2 Alan Cox
2003-03-21 18:03 ` Christoph Hellwig
2003-03-21 18:10 ` Alan Cox
2003-03-21 21:03 ` Steven Cole
2003-03-22 20:22 ` Marco Roeland [this message]
2003-03-23 10:58 ` Linux 2.5.65-ac2 (drivers/char/genrtc.c compile failure on i386) Geert Uytterhoeven
2003-03-23 11:57 ` Marco Roeland
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=20030322202201.GA32386@localhost \
--to=marco.roeland@xs4all.nl \
--cc=alan@redhat.com \
--cc=geert@linux-m68k.org \
--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