Fedora Linux Support Community & Resources Center
  #1  
Old 7th April 2010, 09:25 PM
ssb Offline
Registered User
 
Join Date: Jun 2007
Posts: 106
linuxfedorafirefox
error compiling linux 2.6.33.2

Hello,

I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :

# make
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:157,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i686-redhat-linux/4.4.3/include/limits.h:122,
from /usr/lib/gcc/i686-redhat-linux/4.4.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-redhat-linux/4.4.3/include/limits.h:11,
from scripts/basic/fixdep.c:114:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:40,
from /usr/include/netinet/in.h:25,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:116:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:204: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:204: error: for each function it appears in.)
scripts/basic/fixdep.c:204: warning: unused variable ‘s’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:304: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/basic/fixdep.c:304: warning: unused variable ‘s’
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.


what is that? problems about headers? directories?

thank you
Reply With Quote
  #2  
Old 7th April 2010, 10:32 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,870
linuxfedorafirefox
Re: error compiling linux 2.6.33.2

Have you installed the kernel-devel and/or kernel-headers package?
That appears to be the one that installs /usr/include/linux/limits and asm/socket.h.

These are for your existing system, as various limits and definitions get used by
the configure tools.
Reply With Quote
  #3  
Old 8th April 2010, 08:52 AM
ssb Offline
Registered User
 
Join Date: Jun 2007
Posts: 106
windows_xp_2003ie
Re: error compiling linux 2.6.33.2

Hello,

Sorry, i forget the info ... my system is a fc 12 using a 2.6.33.1 kernel from kernel.org ... i've prefer compile by myself to get a minimal kernel ( i got a old p4 a 1,6ghz 2gb ram) but i got fedora kernels from updates too ...

I am trying to compile a kernel from www.kernel.org, linux-2.6.33.2 full .. i made the same with 2.6.33.1 and all ok

I got kernels from fedora distro (kernel-devel and kernel-headers installed) and kernel.org

I dont know why about directory paths and files ... why make finds it? ... i think that linux-2.6.33.2.bz2 include all needed ...

how to configure the install path ? ... if i am using /usr/src/kernels/linux-2.6.33.2 and all bzip2 extracted into it ... i can't see "configure" tool ....

thank you
Reply With Quote
Reply

Tags
compiling, error, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling for a mac with linux daniel_I_l Programming & Packaging 1 20th August 2009 11:03 AM
error when compiling app bowens44 Using Fedora 3 20th June 2007 12:06 PM
help with error on compiling golpemortal Using Fedora 8 23rd December 2006 09:38 AM
error compiling with gcc zomgitszan Using Fedora 2 18th July 2006 01:13 AM
getting error when compiling using gcc? asif2k Programming & Packaging 2 25th March 2006 11:18 AM


Current GMT-time: 08:28 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Dorval Instagram Photos - Wauwatosa Instagram Photos - Mangotsfield Photos