PATH_MAX undeclared error in buildroot

View: New views
2 Messages — Rating Filter:   Alert me  

PATH_MAX undeclared error in buildroot

by hypo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,

Just svn-ed buildroot version 1614. did make defconfig; make and ran into "MAX_PATH undelcared" in linux-gum2.6.21/scripts/mod/sumversion.c.

I fixed the error by adding "#include <limits.h> to the beginning of the file and it seems to be going so far. However, I'm puzzled that this should've happened. I have version 1614 building fine on my other machine (albeit checked out several months ago).

The only other difference is that my new machine is running ubuntu 8.10 (vs. ubuntu 7.10 on the old machine). Does anyone know what could be causing <limits.h> from being included in sumversion.c? i compared this file with what i had checked out on my old machine and found no differences. Perhaps some dependency generation tools are different?

thanks,
hypo

Re: PATH_MAX undeclared error in buildroot

by Na'Tosha Bard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

The exact same thing happens to me every time I do a clean build.  I think that some kernel header changed somewhere so that it no longer includes the limits.h header file and now sumversion.c isn't getting limits.h pulled in like it used to.

That's just my guess.

Regards,
Na'Tosha Bard


-----Original Message-----
From: hypo [mailto:hypothetical25@...]
Sent: Sat 12/20/2008 5:52 AM
To: gumstix-users@...
Subject: [Gumstix-users]  PATH_MAX undeclared error in buildroot
 

hi all,

Just svn-ed buildroot version 1614. did make defconfig; make and ran into
"MAX_PATH undelcared" in linux-gum2.6.21/scripts/mod/sumversion.c.

I fixed the error by adding "#include <limits.h> to the beginning of the
file and it seems to be going so far. However, I'm puzzled that this
should've happened. I have version 1614 building fine on my other machine
(albeit checked out several months ago).

The only other difference is that my new machine is running ubuntu 8.10 (vs.
ubuntu 7.10 on the old machine). Does anyone know what could be causing
<limits.h> from being included in sumversion.c? i compared this file with
what i had checked out on my old machine and found no differences. Perhaps
some dependency generation tools are different?

thanks,
hypo
--
View this message in context: http://www.nabble.com/PATH_MAX-undeclared-error-in-buildroot-tp21103624p21103624.html
Sent from the Gumstix mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

winmail.dat (4K) Download Attachment