Old 12th February 2009, 07: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


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.

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

Not sure what that means - maybe you have to disable a module during make menuconfig...
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
Old 16th February 2009, 00:35
zigga150 zigga150 is offline
Junior Member
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post

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?


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

To anyone following the thread,

I solved this quite simply by adding
#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)


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

All times are GMT +2. The time now is 03:46.

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