From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,541cc49682e60166 X-Google-Attributes: gid111c93,public From: Pierre Asselin Subject: Re: error comiling linux-2.4.0-test10 Date: 2000/11/04 Message-ID: <973372334.154200@rexx.com>#1/1 X-Deja-AN: 689710943 Cache-Post-Path: rexx.com!lpa@207.167.89.8 References: <3A02F929.44CAC1A@mac.com> X-Trace: petpeeve.ziplink.net 973372350 207.167.89.2 (Sat, 04 Nov 2000 16:12:30 EST) Organization: Rexx Electronic Communications X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.1.1-STABLE (i386)) NNTP-Posting-Date: Sat, 04 Nov 2000 16:12:30 EST Newsgroups: comp.os.linux.alpha Toshinao Ishii 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