From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 03 Feb 2005 08:39:01 +0000 (GMT) Received: from mail.cybersmart.co.za ([IPv6:::ffff:196.15.138.20]:4106 "EHLO optical.cyberhost.co.za") by linux-mips.org with ESMTP id ; Thu, 3 Feb 2005 08:38:43 +0000 Received: from of0 (firewall.openfuel.com [196.15.138.55]) by optical.cyberhost.co.za (Postfix) with ESMTP id 16CE25B121 for ; Thu, 3 Feb 2005 10:38:43 +0200 (SAST) From: "Etienne Bauermeister" To: Subject: Kernel compile error - rtc.c Date: Thu, 3 Feb 2005 10:38:47 +0200 Message-ID: <000f01c509cb$c7420190$642aa8c0@of0> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0010_01C509DC.8ACAD190" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 7123 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: etienne@openfuel.com Precedence: bulk X-list: linux-mips This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C509DC.8ACAD190 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0010_01C509DC.8ACAD190 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
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-200501=
30]$
 
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

 

 
------=_NextPart_000_0010_01C509DC.8ACAD190-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from of0 (firewall.openfuel.com [196.15.138.55]) by optical.cyberhost.co.za (Postfix) with ESMTP id 16CE25B121 for ; Thu, 3 Feb 2005 10:38:43 +0200 (SAST) From: "Etienne Bauermeister" Subject: Kernel compile error - rtc.c Date: Thu, 3 Feb 2005 10:38:47 +0200 Message-ID: <000f01c509cb$c7420190$642aa8c0@of0> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0010_01C509DC.8ACAD190" Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Message-ID: <20050203083847.FgQOeTxUFypaaBbK9UR2VihnDDdsMvtopp8cDRQKGl4@z> This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C509DC.8ACAD190 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0010_01C509DC.8ACAD190 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
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-200501=
30]$
 
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

 

 
------=_NextPart_000_0010_01C509DC.8ACAD190--