From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,541cc49682e60166,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-11-03 10:04:10 PST From: Toshinao Ishii Newsgroups: comp.os.linux.alpha Subject: error comiling linux-2.4.0-test10 Date: Sat, 04 Nov 2000 02:43:05 +0900 Organization: KISweb Message-ID: <3A02F929.44CAC1A@mac.com> Reply-To: jsbach@mac.com NNTP-Posting-Host: ppp12063.kisweb.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: webs005f.kisweb.ne.jp 973272928 2752 210.141.142.63 (3 Nov 2000 17:35:28 GMT) X-Complaints-To: usenet@news.kisweb.ne.jp NNTP-Posting-Date: 3 Nov 2000 17:35:28 GMT X-Mailer: Mozilla 4.72C-ja [ja/Vine] (X11; I; Linux 2.2.16ici4 i686) X-Accept-Language: ja Path: supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!stueberl.r-kom.de!newsfeed00.sul.t-online.de!t-online.de!grolier!codeine.org!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!news.omp.ne.jp!news.kisweb.ne.jp!not-for-mail Xref: supernews.google.com comp.os.linux.alpha:1096 Hi. I tried to compile linux-2.4.0-test10 on a 164SX machine running Debian-2.2 and get the following error. 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 I compared binfmt_elf.c with one in version 2.4.0-test9. It is changed from test9. CLOCKS_PER_SEC is newly appeared, I guess. Can I just copy a line of CLOCKS_PER_SEC definition from /usr/include/bits/time.h and get it work correctly ? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Toshinao Ishii mailto: jsbach@mac.com