From: Pierre Asselin <lpa@rexx.com>
Subject: Re: error comiling linux-2.4.0-test10
Date: 2000/11/04 [thread overview]
Message-ID: <973372334.154200@rexx.com> (raw)
In-Reply-To: 3A02F929.44CAC1A@mac.com
Toshinao Ishii <jsbach@mac.com> wrote:
> make[2]: Entering directory `/usr/src/linux-2.4.0-test10/fs'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
> -mcpu=ev5 -Wa,-mev6 -c -o binfmt_elf.o binfmt_elf.c
> binfmt_elf.c: In function `create_elf_tables':
> binfmt_elf.c:167: `CLOCKS_PER_SEC' undeclared (first use in this
> function)
> binfmt_elf.c:167: (Each undeclared identifier is reported only once
> binfmt_elf.c:167: for each function it appears in.)
> make[2]: *** [binfmt_elf.o] Error 1
Luca Giuzzi posted a patch on the linux-kernel list:
--- /usr/src/linux/include/asm-alpha/param.h.orig Wed Nov 1 12:31:56
2000
+++ /usr/src/linux/include/asm-alpha/param.h Wed Nov 1 12:33:22 2000
@@ -27,4 +27,8 @@
#define MAXHOSTNAMELEN 64 /* max length of hostname */
+#ifdef __KERNEL__
+# define CLOCKS_PER_SEC HZ
+#endif
+
#endif /* _ASM_ALPHA_PARAM_H */
--
Pierre Asselin
Westminster, Colorado
prev parent reply other threads:[~2000-11-04 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-03 17:43 error comiling linux-2.4.0-test10 Toshinao Ishii
2000-11-04 5:00 ` Pierre Asselin [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox