#1  
Old 12th February 2009, 06:45
zigga150 zigga150 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Arrow Compile error for kernel

Hello,

I am trying to compile another version of the kernel with a non-standard compiler (its custom). I basically changed the hard coding of the makefile and changed/exported CC and CXX to be safe. I am on linux ubuntu8

Anyway I have the same problem as the person at the end of the comment list here: http://www.howtoforge.com/kernel_com...2#comment-7326

Basically it says:

scripts/mod/sumversion.c: In function get_src_version:
scripts/mod/sumversion.c:384: error: PATH_MAX undeclared (first use in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once

I am building on a virtual machine - any ideas? thanks.

Dan
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2009, 13:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Not sure what that means - maybe you have to disable a module during make menuconfig...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th February 2009, 23:35
zigga150 zigga150 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hey Falko,

Sorry for the late reply.

I think you may be right. As I am building a different version kernel to the one I am building on, would there be a version problem?

Is there a simple way to disable modules in menuconfig? or will I have to hack everything up?

Thanks,

~ Dan
Reply With Quote
  #4  
Old 16th February 2009, 06:29
zigga150 zigga150 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
 
Smile

To anyone following the thread,

I solved this quite simply by adding
Code:
#include <limits.h>
to the sumversion.c file. Once I did it worked perfectly. If anyone knows the people who maintain it, they should probably be alerted . Please Mark as Solved.

Thanks for the Help,

~ Dan
Reply With Quote
The Following User Says Thank You to zigga150 For This Useful Post:
falko (16th February 2009)
Reply

Bookmarks

Thread Tools
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
kernel compile error/ndiswrapper error Droogie Kernel Questions 1 28th April 2008 21:38
compile php alja Installation/Configuration 3 22nd July 2007 13:59
Upgrade causes the removal of /root/ispconfig due to compile failure lawrenceong Feature Requests 3 24th April 2007 13:25
How to compile kernel for PowerPC Fedora? tomhammond Kernel Questions 1 7th March 2007 18:10
I seek to compile these modules for apache 1.3.37 misterm Server Operation 0 14th January 2007 19:46


All times are GMT +2. The time now is 07:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.