Hi Loody,

Which version of kernel are you using and where did you obtain it from?


On Thu, Jun 25, 2009 at 9:17 AM, loody<[email protected]> wrote:
> Dear all:
> While building the kernel, I get the error below:
> make -f scripts/Makefile.build obj=scripts/mod
>  gcc -Wp,-MD,scripts/mod/.sumversion.o.d -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer     -c -o scripts/mod/sumversion.o
> scripts/mod/sumversion.c
> 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
> scripts/mod/sumversion.c:384: error: for each function it appears in.)
> scripts/mod/sumversion.c:384: warning: unused variable 'filelist'
> make[2]: *** [scripts/mod/sumversion.o] Error 1
>
> It seems the gcc cannot find where the define of PATH_MAX is.
> I have grep it and I find it at usr/include/linux/limits.h, but this
> header file is not included in the sumversion.c.
> Have anyone had the same problem before?
> appreciate your help,
> miloody
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Regards,
Sandeep.





        
“To learn is to change. Education is a process that changes the learner.”

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to