OK -- this should be trivial, but I'm getting lost in all the makefile
variables.  A friend was trying to build a new kernel to include 
masquerading for VPN.  He had problems and asked me to help.

He said he:
 Did the patches for the VPN (there were two of them)
 Made configuration file
 Did "make dep"
 Did "make clean"
 Did "make"

------------------------------
He got the following error message immediately from "make":
------------------------------
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
In file included from /usr/include/errno.h:36,
                 from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1
------------------------------

The line in /usr/include/bits/errno.h said "#include <linux/errno.h>"
and there exist the following:
----------
[root@scrappy linux]# locate errno.h|grep linux
/usr/lib/bcc/include/linux/errno.h
/usr/lib/bcc/include/linuxmt/errno.h
/usr/src/linux-2.2.16/include/asm-i386/errno.h
/usr/src/linux-2.2.16/include/linux/errno.h
----------
also: /usr/src/linux is a symlink to /usr/src/linux-2.2.16

I would have expected the include-path  to include /usr/src/linux/include,
so why didn't it find the "linux/errno.h" that's in the list above.

This has gottab be real simple -- It's been a year or so since I last
messed with any kernels, but I remember it being straightforward and 
working fine.

What obvious point am I missing here?


        pete peterson
        GenRad, Inc.
        7 Technology Park Drive
        Westford, MA 01886-0033

        [EMAIL PROTECTED] or [EMAIL PROTECTED]
        +1-978-589-7478 (GenRad);  +1-978-256-5829 (Home: Chelmsford, MA)
        +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to