Greg Haerr writes:
>
> :
> : >
> : > I tried to make a 0.0.78 kernel than and got this error:
> : >
> : > make[2]: Leaving directory `/usr/local/src/elks/arch/i86/drivers/block'
> : > bcc -D__KERNEL__ -O -i \
> : > 2 -nostdinc -Iinclude -c -o boot/crt1.o boot/crt1.c
> : > boot/crt1.c:5.25: error: cannot find include file arch/segment.h
> : > make[1]: Leaving directory `/usr/local/src/elks/arch/i86'
> : > make[1]: *** [boot/crt1.o] Error 1
> : > make: *** [Image] Error 2
> : >
> :
> : I don't understand why you get this error. WHat version of dev86 are you
> : using?
> :
>
> Likely the problem is the link -s is missing in the /usr/bcc/include for the
> arch and linuxmt dirs.
>
This should be totally irrelevant when compiling the kernel. The -nostdinc
option means that bcc should no look in /usr/bcc/include for header files.
Al