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 0A32C30A65 for ; Thu, 2 Nov 2000 14:09:33 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA2J9Wd13630 for axp-list@listman.redhat.com; Thu, 2 Nov 2000 14:09:32 -0500 Received: from spawn.hockeyfiend.com (mail@adsl-61-8-131.mia.bellsouth.net [208.61.8.131]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA2J9WD13625 for ; Thu, 2 Nov 2000 14:09:32 -0500 Received: from localhost ([127.0.0.1] ident=chris) by spawn.hockeyfiend.com with esmtp (Exim 3.16 #1 (Debian)) id 13rPje-0001Iz-00; Thu, 02 Nov 2000 14:09:14 -0500 Date: Thu, 2 Nov 2000 14:09:09 -0500 (EST) From: "Christopher C. Chimelis" X-Sender: chris@spawn.hockeyfiend.com To: Nikolaos Margaritis Cc: axp-list@redhat.com Subject: Re: linux-2.4.0-test10 compiling errors In-Reply-To: <00110218490900.16149@iolkos> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Thu, 2 Nov 2000, Nikolaos Margaritis wrote: > 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: A patch has already been submitted for this (below). I applied the patch and got good results on my SX (running right now, in fact). > Where is the definition for alphas? > It seems that nobody bothered to check the kernel for our beloved > achitecture .... :-) ...and a few others. Most likely, ARM, MIPS, and a few others should notice this problem as well (haven't tested it on my Indy yet since it still runs IRIX). The patch that I have only addresses Alpha, but I'm sure that when the submitter pointed it out, a more thorough patch will be created. > 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.... IIRC, DP264 is the proper system type. I don't think you'll ever see it specifically mentioned on the list, though, since those are family names, not specific machine names. I'll see if I can work up a patch to the Configure.help file that fills out the help list more, though. I've got an extensive list of Alpha models and their family names already, so this shouldn't be too hard. Here's the patch: --- /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 1024 /* frequency at which times() counts */ +#endif + #endif /* _ASM_ALPHA_PARAM_H */