[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: errors when using "make dep" for kernel compile
- From: Kevin Colby <kevinc grainsystems com>
- To: redhat-install-list redhat com
- Subject: Re: errors when using "make dep" for kernel compile
- Date: Wed, 11 Aug 1999 17:44:47 -0500
Well, I'm not sure why you need this "iproute2" at all.
Can't IPMasq do everything you need?
- Kevin Colby
kevinc grainsystems com
Jai wrote:
>
> Hi-
> I'm pretty new to Linux, and i'm trying to set it up as a firewall.
> Through the ipchains mailing list i've got the bits and pieces i need, but
> now i'm trying to assemble them. I got a utility for manipulating the
> routing tables so that it can do static network address translation,
> called iproute2. However, this needs compiled. Here i run into problems.
> I can't find any answers in the FAQs and the kernel HOWTO, so i thought I
> would ask for help...
>
> When i try to "make" the utility, i get a message saying:
> "please, compile the kernel first"
>
> I assumed that this was because my kernel (6.0, kernel 2.2.9) was not
> compiled with support for things like network address translation. So i
> tried to recompile the kernel and when i got to the "make dep step I got
> errors saying:
>
> [root pmeiw8 linux]# make dep
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
> scripts/mkdep.c
> scripts/mkdep.c:13: ctype.h: No such file or directory
> scripts/mkdep.c:14: stdio.h: No such file or directory
> scripts/mkdep.c:15: stdlib.h: No such file or directory
> scripts/mkdep.c:16: string.h: No such file or directory
> scripts/mkdep.c:17: unistd.h: No such file or directory
> scripts/mkdep.c:19: sys/fcntl.h: No such file or directory
> scripts/mkdep.c:20: sys/mman.h: No such file or directory
> scripts/mkdep.c:21: sys/stat.h: No such file or directory
> scripts/mkdep.c:22: sys/types.h: No such file or directory
> make: *** [scripts/mkdep] Error 1
> [root pmeiw8 linux]#
>
> I tried downloading the new 2.2.10 kernel, thinking that maybe i just had
> a kernel distribution that didn't contain this for some reason? I did the
> make config fine, as before, but got the same message as above when I
> tried make dep.
>
> Incidentally, now when i try to make the iproute2 tools, instead of the
> above "please, compile the kernel first" I get a new error message
> (although I have not yet compiled a new kernel, just run through the make
> config step only):
>
> [root pmeiw8 iproute2]# make
> make[1]: Entering directory `/etc/iproute2/lib'
> gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g
> -I/usr/src/linux/include -I../include -c ll_map.c -o ll_map.o
> ll_map.c:13: stdio.h: No such file or directory
> ll_map.c:14: stdlib.h: No such file or directory
> ll_map.c:15: unistd.h: No such file or directory
> ll_map.c:16: syslog.h: No such file or directory
> ll_map.c:17: fcntl.h: No such file or directory
> ll_map.c:18: sys/socket.h: No such file or directory
> ll_map.c:19: netinet/in.h: No such file or directory
> ll_map.c:20: string.h: No such file or directory
> make[1]: *** [ll_map.o] Error 1
> make[1]: Leaving directory `/etc/iproute2/lib'
> make: *** [all] Error 1
> [root pmeiw8 iproute2]#
>
>
> Does anyone know why it is that i am missing these files? I can't seem to
> find them anywhere on my system (using find). Where would i find them and
> where would i put them once i do find them?
>
> Btw, i am using gcc version:
>
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/specs
> gcc version pgcc-2.91.66 19990314 (egcs-1.1.2 release)
>
> Thanks very much for your help.
>
> Jai Nair
>
> jn pmei com
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]