From: Bartlomiej Zolnierkiewicz <dake@staszic.waw.pl>
To: Eric Reischer <emr@engr.de.psu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Re: 2.4 test10 bug
Date: Sat, 11 Nov 2000 23:36:50 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.21.0011112335210.11176-100000@tricky> (raw)
In-Reply-To: <4.2.0.58.20001108233713.00a678d0@engr.de.psu.edu>
On Wed, 8 Nov 2000, Eric Reischer wrote:
> When cross compiling a PowerPC kernel on an i386 machine, got the following
> error:
>
> binfmt_elf.c: In function 'create_elf_tables':
> binfmt_elf.c:166: 'CLOCKS_PER_SEC' undeclared (first use in this function)
> binfmt_elf.c:166: (Each undeclared identifier is reported only once
> binfmt_elf.c:166: for each function it appears in.)
> make[2]: *** [binfmt_elf.o] Error 1
This quick fix should help you:
--- linux-240t10/include/asm-ppc/param.h Sat Nov 25 18:49:06 1995
+++ linux/include/asm-ppc/param.h Sat Nov 11 17:18:50 2000
@@ -17,4 +17,8 @@
#define MAXHOSTNAMELEN 64 /* max length of hostname */
+#ifdef __KERNEL__
+# define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
+#endif
+
#endif
--
Bartlomiej Zolnierkiewicz
<bkz@linux-ide.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2000-11-11 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-09 4:44 2.4 test10 bug Eric Reischer
2000-11-11 22:36 ` Bartlomiej Zolnierkiewicz [this message]
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=Pine.LNX.4.21.0011112335210.11176-100000@tricky \
--to=dake@staszic.waw.pl \
--cc=emr@engr.de.psu.edu \
--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;
as well as URLs for NNTP newsgroup(s).