Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot compile vanilla-kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sun Jun 16, 2002 6:40 am    Post subject: cannot compile vanilla-kernel Reply with quote

hi all!

made my kernel config as usual with make menuconfig, but after typing "make dep" i immediately get the following:

>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o >scripts/mkdep scripts/mkdep.c
>In file included from /usr/include/bits/posix1_lim.h:126,
> from /usr/include/limits.h:144,
> from >/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/limits.h:117,
> from >/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/syslimits.h:7,
> from >/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/limits.h:11,
> from scripts/mkdep.c:35:
>/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or >directory
>make: *** [scripts/mkdep] Error 1

any hint will make me happy and excited :)

greetings from germany,
schmolch
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Sun Jun 16, 2002 8:53 am    Post subject: Reply with quote

Quote:
>/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or >directory
>make: *** [scripts/mkdep] Error 1


file its missing...try emerge vanilla again
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sun Jun 16, 2002 10:01 am    Post subject: Reply with quote

i get the same error even if i download the kernel-2.4.18.tar.gz from kernel.org.
Back to top
View user's profile Send private message
yogin
n00b
n00b


Joined: 15 Jun 2002
Posts: 6
Location: Bydgoszcz, Poland

PostPosted: Mon Jun 17, 2002 7:06 pm    Post subject: Reply with quote

read the Linux-Kernel HOWTO. You have to do some symlinks in /usr/include pointing to some dirs in the kernel source tree.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum