From: Joshua P. Weage (ai900@yfn.ysu.edu)
Date: 07/07/93


From: ai900@yfn.ysu.edu (Joshua P. Weage)
Subject: Problem Compiling Kernal
Date: 7 Jul 1993 13:35:16 GMT


        After reading the FAQ and README a couple
of times, and trying to compile the kernal a few times with
no success, I decided to post.
        Here is what the conditions are, I have just installed
the newest SLS release from tsx, gotten the p10 version of the
kernal and installed it. I followed the instructions (change
Makefile, make config, make dep, make) and it doesn't work.
The problem occurs when I make the .depend file.
        The following is what happens

-- Start Here --

You have a bad or nonexistent .depend : running 'make depend'

make depend
touch tools/version.h
for i in init/*.c;do echo -n "init/";gcc -D__KERNEL__ -E -M $i;
done > .depend~

for i in tools/*.c;do echo -n "tools/";gcc -D__KERNEL__ -E -M $i;
done >> .depend~

tools/build.c:23: stdio.h: No such file or directory
tools/build.c:24: string.h: No such file or directory
tools/build.c:25: stdlib.h: No such file or directory
tools/build.c:26: sys/types.h: No such file or directory
tools/build.c:27: sys/stat.h: No such file or directory
tools/build.c:28: sys/sysmacros.h: No such file or directory
tools/build.c:29: unistd.h: No such file or directory
tools/build.c:30: fcntl.h: No such file or directory
for i in kernel mm fs net ipc ibcs lib; do (cd $i && make dep) ||
exit; done

gcc -D__KERNEL__ -E -M *.c > .depend
for i in chr_drv blk_drv FPU-emu; do (cd $i && make dep) || exit;
done

gcc -D__KERNEL__ -E -M *.c > .depend
for i in sound; do (cd $i && make dep) || exit; done
gcc -D__KERNEL__ -E -M *.c > .depend
for i in scsi; do (cd $i && make dep); done
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c *.S > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
for i in minix ext ext2 msdos proc isofs nfs xiafs; do [ ! -d $i ]
|| (cd $i && make dep) || exit; done

gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
gcc -D__KERNEL__ -E -M *.c > .depend
drv
> .depend
unix
gcc -D__KERNEL__ -E -M *.c > .depend
proc.c:30: sys/param.h: No such file or directory
make[3]: *** [dep] Error 1
make[2]: *** [dep] Error 1
make[1]: *** [depend] Error 1
make: *** [..depend] Error 1

---- End Here ----

This happens when I run 'make' (look at the first line), everything else###
is the same for 'make dep'. What is wrong? Did something not
get installed that needs to be there?

Josh

-- 
##