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 43FD32FEBF for ; Thu, 2 Nov 2000 14:24:28 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA2JOSD16828 for axp-list@listman.redhat.com; Thu, 2 Nov 2000 14:24:28 -0500 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA2JORD16817 for ; Thu, 2 Nov 2000 14:24:27 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Thu, 02 Nov 2000 13:32:18 -0600 Received: by paralleldata.com from paralleldata.com (65.3.53.39::mail daemon; unverified,SLMail V2.5); Thu, 02 Nov 2000 13:32:17 -0600 Message-ID: <3A01CF30.780DA4B9@paralleldata.com> Date: Thu, 02 Nov 2000 14:31:44 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: linux-2.4.0-test10 compiling errors References: <00110218490900.16149@iolkos> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Look at /usr/include/time.h and /usr/include/bits/time.h Wes Nikolaos Margaritis wrote: > > 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 > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list