« Return to Thread: Linux26 compilation issue in version 7.0

Linux26 compilation issue in version 7.0

by Kevin Fries-2 :: Rate this Message:

Reply to Author | View in Thread

I ran into this issue in T2 stable (7.0)
http://article.gmane.org/gmane.linux.distributions.gumstix.general/40296

Thanks to some wonderful help on the IRC, I was able to fix it with the attached patch


Kevin Fries
Senior Linux Engineer
Computer and Communications Technology, Inc
A division of Japan Communications Inc
(303) 708-9228 x326

[sumversion-add-limits-h.patch]

*** linux-2.6.21/scripts/mod/sumversion.c.orig 2009-06-05 10:39:55.000000000 -0600
--- linux-2.6.21/scripts/mod/sumversion.c 2009-06-05 10:42:41.000000000 -0600
***************
*** 7,12 ****
--- 7,15 ----
  #include <ctype.h>
  #include <errno.h>
  #include <string.h>
+ #ifndef _LINUX_LIMITS_H
+ #include <limits.h>
+ #endif
  #include "modpost.h"
 
  /*


-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2

 « Return to Thread: Linux26 compilation issue in version 7.0