Re: toplevel Makefile bug and simple fix

Peter Samuelson (peter@wire.cadcamlab.org)
Fri, 5 Nov 1999 03:46:21 -0600 (CST)


[paulsch@us.ibm.com]
> Here's a small fix which prevented a kernel from building in its own
> contained directory in cases where there is no /usr/src/linux
> directory.. Specifically it would die when building split-include.c
> because it couldn't find the necessary includes...

Strange. Which of

#include <sys/stat.h>
#include <sys/types.h>

#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

needed the "-I$(HPATH)"?

I suspect what you had was a dangling symlink "/usr/include/linux". If
so, this is a bug in your /usr/include hierarchy, not in the kernel
source. This is one good reason Linus and the glibc2 maintainers
believe in losing those symlinks.

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/