From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 6B500313BE for ; Thu, 2 Nov 2000 12:00:46 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA2H0kv17248 for axp-list@listman.redhat.com; Thu, 2 Nov 2000 12:00:46 -0500 Received: from demokritos.gr (ns1.demokritos.gr [143.233.7.10]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA2H0iD17242 for ; Thu, 2 Nov 2000 12:00:45 -0500 Received: from mail.demokritos.gr (mail.demokritos.gr [143.233.11.10]) by demokritos.gr (8.9.2/8.9.2) with ESMTP id SAA23566 for ; Thu, 2 Nov 2000 18:57:15 +0200 (EET) Received: from iolkos (iolkos.chem.demokritos.gr [143.233.244.90]) by mail.demokritos.gr (8.8.5/8.8.5) with SMTP id TAA03294 for ; Thu, 2 Nov 2000 19:00:31 +0200 (EET) From: Nikolaos Margaritis Organization: NCSR "Demokritos" To: axp-list@redhat.com Subject: linux-2.4.0-test10 compiling errors Date: Thu, 2 Nov 2000 18:36:03 +0200 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00110218490900.16149@iolkos> Content-Transfer-Encoding: 8bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Hi all, Trying to compile the new linux-2.4.0-test10 kernel on RH6.2 dual UP2000 using the egcs compiler I got the following errors: 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=ev6 -Wa,-mev6 -c -o binfmt_elf.o binfmt_elf.c 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 make[2]: Leaving directory `/usr/src/linux-2.4.0/fs' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.0/fs' make: *** [_dir_fs] Error 2 This is what I got running the following command: [root@iolkos][linux]# grep -ir CLOCKS_PER_SEC * fs/binfmt_elf.c: NEW_AUX_ENT(2, AT_CLKTCK, CLOCKS_PER_SEC); include/asm-i386/param.h:# define CLOCKS_PER_SEC 100 /* frequency at which times() counts */ include/asm-sparc/param.h:# define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ include/asm-sparc64/param.h:# define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ include/asm-ia64/param.h:# define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ Where is the definition for alphas? It seems that nobody bothered to check the kernel for our beloved achitecture .... :-) Furthermore, I still can not find UP2000 as an option in the systems list. Is it DP264 compatible or not? I believe that, since UP2000 becomes more and more popular, it deserves some more attention.... Cheers, Nikos -- Dr. Nikolaos A. Margaritis Molecular Modelling of Materials Laboratory Department of Physical Chemistry National Centre for Scientific Research "Demokritos" Ag. Paraskevi, Athens 15310, Greece. Tel.: +30(0)1 650 3960, +30(0)944 773242 (mobile) Fax.: +30(0)1 651 1766 URL: http://mmml.chem.demokritos.gr/~nmargar --------------------------------------------------------- So, if anybody wants to have hardware sent to them; don't call me, but instead write your own operating system. It has worked every time for me. Linus Torvalds