From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 21 Jan 1997 17:51:44 +0000 (GMT) From: Jonathan Nicholson Subject: Kernel compiling... I've got some way thanks to Jim Nance, however I'm still having some problems with the kernel compile, in that it just plain doesn't work! I've installed RedHat 4, and I've followed the instructions on the AXP port FAQ : kernel building (from http://www.eleves.ens.fr:8080/home/quatrava/AXP-port-FAQ/kernel-build.html.en) But it still refuses to compile! Any help appreciated! Here are the errors from 'make dep' gcc -I/usr/src/linux/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c In file included from /usr/include/_G_config.h:9, from /usr/include/libio.h:30, from /usr/include/stdio.h:29, from scripts/mkdep.c:1: /usr/include/gnu/types.h:64: parse error before `__key_t' /usr/include/gnu/types.h:64: warning: data definition has no type or storage class In file included from scripts/mkdep.c:6: /usr/include/sys/stat.h:119: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:119: warning: its scope is only this definition or declaration, /usr/include/sys/stat.h:119: warning: which is probably not what you want. /usr/include/sys/stat.h:120: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:124: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:125: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:129: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:131: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:199: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:201: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:203: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:210: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:211: conflicting types for `__stat' /usr/include/sys/stat.h:119: previous declaration of `__stat' /usr/include/sys/stat.h: In function `__stat': /usr/include/sys/stat.h:211: warning: passing arg 3 of `__xstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:212: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:213: conflicting types for `stat' /usr/include/sys/stat.h:120: previous declaration of `stat' /usr/include/sys/stat.h: In function `stat': /usr/include/sys/stat.h:213: warning: passing arg 3 of `__xstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:215: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:216: conflicting types for `__lstat' /usr/include/sys/stat.h:129: previous declaration of `__lstat' /usr/include/sys/stat.h: In function `__lstat': /usr/include/sys/stat.h:216: warning: passing arg 3 of `__lxstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:217: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:218: conflicting types for `lstat' /usr/include/sys/stat.h:131: previous declaration of `lstat' /usr/include/sys/stat.h: In function `lstat': /usr/include/sys/stat.h:218: warning: passing arg 3 of `__lxstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:220: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:221: conflicting types for `__fstat' /usr/include/sys/stat.h:124: previous declaration of `__fstat' /usr/include/sys/stat.h: In function `__fstat': /usr/include/sys/stat.h:221: warning: passing arg 3 of `__fxstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:222: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:223: conflicting types for `fstat' /usr/include/sys/stat.h:125: previous declaration of `fstat' /usr/include/sys/stat.h: In function `fstat': /usr/include/sys/stat.h:223: warning: passing arg 3 of `__fxstat' from incompatible pointer type scripts/mkdep.c: In function `do_depend': scripts/mkdep.c:231: storage size of `st' isn't known make: *** [scripts/mkdep] Error 1 ---------------------------------------------------------------------------- = Jonathan Nicholson - System Administrator +44 1223 494987 (internal 4987) = = The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA = = Email: jjn@sanger.ac.uk (Work) jono@acme.demon.co.uk (Home) = ---------------------------------------------------------------------------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com