Axp-List Archive
linux-2.4.0-test10 compiling errors

Subject: linux-2.4.0-test10 compiling errors
From: Nikolaos Margaritis (nmargar@mail.demokritos.gr)
Date: Thu Nov 2 08:36:03 2000


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



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.