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 */
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
This archive was generated by hypermail version 2a22 on Fri Dec 1 08:00:05 2000 PST
Send any problems or questions about this archive to webmaster@alphalinux.org.