lkml.org 
[lkml]   [1999]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: toplevel Makefile bug and simple fix

[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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.018 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site