* Kernel compile error - rtc.c
@ 2005-02-03 8:38 Etienne Bauermeister
2005-02-03 8:38 ` Etienne Bauermeister
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Etienne Bauermeister @ 2005-02-03 8:38 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]
I am compiling the linux-2.6.11-rc2-mipscvs-20050130 kernel using a
toolchain I built myself from instructions on this mailing list. The
toolchain consists of binutils-2.13.90.0.10, glibc-2.2.5,
glibc-linuxthreads-2.2.5 and gcc-3.2-7.1 from H.J. Lu with all the
patches like glibc-2.2.5-mips-build-gmon etc. applied. I am compiling
the kernel for the AMD Au1100 (big endian) on an i686 host. When I do
this though I get the following error message a few minutes into the
compilation process:
CC drivers/char/rtc.o
drivers/char/rtc.c: In function `rtc_init':
drivers/char/rtc.c:955: `r' undeclared (first use in this function)
drivers/char/rtc.c:955: (Each undeclared identifier is reported only
once
drivers/char/rtc.c:955: for each function it appears in.)
make[2]: *** [drivers/char/rtc.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
drivers/char/rtc.ot:~/mips/kernel/linux-2.6.11-rc2-mipscvs-20050130]$
I understand that the variable 'r' is not declared and this causes the
error, but I don't know where to declare it or am I completely wrong and
something else is at fault? Please provide some help with this.
A second question relates to some warnings I got earlier in the
compilation process stating that some 'variables' (I assume) are
'deprecated'. Is this anything to be concerned about?
Thanks.
Etienne Bauermeister
Design Engineer
OpenFuel (Pty) Ltd
WWW: http://www.openfuel.com
[-- Attachment #2: Type: text/html, Size: 8551 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Kernel compile error - rtc.c
2005-02-03 8:38 Kernel compile error - rtc.c Etienne Bauermeister
@ 2005-02-03 8:38 ` Etienne Bauermeister
2005-02-03 9:24 ` Ulrich Eckhardt
2005-02-03 13:23 ` Ralf Baechle
2 siblings, 0 replies; 5+ messages in thread
From: Etienne Bauermeister @ 2005-02-03 8:38 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]
I am compiling the linux-2.6.11-rc2-mipscvs-20050130 kernel using a
toolchain I built myself from instructions on this mailing list. The
toolchain consists of binutils-2.13.90.0.10, glibc-2.2.5,
glibc-linuxthreads-2.2.5 and gcc-3.2-7.1 from H.J. Lu with all the
patches like glibc-2.2.5-mips-build-gmon etc. applied. I am compiling
the kernel for the AMD Au1100 (big endian) on an i686 host. When I do
this though I get the following error message a few minutes into the
compilation process:
CC drivers/char/rtc.o
drivers/char/rtc.c: In function `rtc_init':
drivers/char/rtc.c:955: `r' undeclared (first use in this function)
drivers/char/rtc.c:955: (Each undeclared identifier is reported only
once
drivers/char/rtc.c:955: for each function it appears in.)
make[2]: *** [drivers/char/rtc.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
drivers/char/rtc.ot:~/mips/kernel/linux-2.6.11-rc2-mipscvs-20050130]$
I understand that the variable 'r' is not declared and this causes the
error, but I don't know where to declare it or am I completely wrong and
something else is at fault? Please provide some help with this.
A second question relates to some warnings I got earlier in the
compilation process stating that some 'variables' (I assume) are
'deprecated'. Is this anything to be concerned about?
Thanks.
Etienne Bauermeister
Design Engineer
OpenFuel (Pty) Ltd
WWW: http://www.openfuel.com
[-- Attachment #2: Type: text/html, Size: 8551 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel compile error - rtc.c
2005-02-03 8:38 Kernel compile error - rtc.c Etienne Bauermeister
2005-02-03 8:38 ` Etienne Bauermeister
@ 2005-02-03 9:24 ` Ulrich Eckhardt
2005-02-03 13:29 ` Ralf Baechle
2005-02-03 13:23 ` Ralf Baechle
2 siblings, 1 reply; 5+ messages in thread
From: Ulrich Eckhardt @ 2005-02-03 9:24 UTC (permalink / raw)
To: linux-mips
Etienne Bauermeister wrote:
> CC drivers/char/rtc.o
> drivers/char/rtc.c: In function `rtc_init':
> drivers/char/rtc.c:955: `r' undeclared (first use in this function)
Just declare it at the top of the function, it was (accidentially) deleted
during some recent cleanups.
> A second question relates to some warnings I got earlier in the
> compilation process stating that some 'variables' (I assume) are
> 'deprecated'. Is this anything to be concerned about?
Maybe. Impossible to say without more info.
BTW: you're mailing plain text and HTML...
cheers
Uli
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel compile error - rtc.c
2005-02-03 8:38 Kernel compile error - rtc.c Etienne Bauermeister
2005-02-03 8:38 ` Etienne Bauermeister
2005-02-03 9:24 ` Ulrich Eckhardt
@ 2005-02-03 13:23 ` Ralf Baechle
2 siblings, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2005-02-03 13:23 UTC (permalink / raw)
To: Etienne Bauermeister; +Cc: linux-mips
On Thu, Feb 03, 2005 at 10:38:47AM +0200, Etienne Bauermeister wrote:
> CC drivers/char/rtc.o
> drivers/char/rtc.c: In function `rtc_init':
> drivers/char/rtc.c:955: `r' undeclared (first use in this function)
> drivers/char/rtc.c:955: (Each undeclared identifier is reported only
> once
> drivers/char/rtc.c:955: for each function it appears in.)
Know problem, sorry.
> I understand that the variable 'r' is not declared and this causes the
> error, but I don't know where to declare it or am I completely wrong and
> something else is at fault? Please provide some help with this.
>
> A second question relates to some warnings I got earlier in the
> compilation process stating that some 'variables' (I assume) are
> 'deprecated'. Is this anything to be concerned about?
It means it's team to update the code to use a newer API before the old,
deprecated one is going to be removed. Remember, you've been warned :-)
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel compile error - rtc.c
2005-02-03 9:24 ` Ulrich Eckhardt
@ 2005-02-03 13:29 ` Ralf Baechle
0 siblings, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2005-02-03 13:29 UTC (permalink / raw)
To: Ulrich Eckhardt; +Cc: linux-mips
On Thu, Feb 03, 2005 at 10:24:23AM +0100, Ulrich Eckhardt wrote:
> BTW: you're mailing plain text and HTML...
The list btw is setup to drop HTML-only email.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-02-03 13:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-03 8:38 Kernel compile error - rtc.c Etienne Bauermeister
2005-02-03 8:38 ` Etienne Bauermeister
2005-02-03 9:24 ` Ulrich Eckhardt
2005-02-03 13:29 ` Ralf Baechle
2005-02-03 13:23 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox