Very simple, add #include <linux/limits.h> to the file
linux-2.6.21-ts/scripts/mod/sumversion.c, that should do the trick!
Saludos,
Daniel.
--- In Ricardo Gabriel <> wrote:
>
> Daniel, I followed the following instructions that are here:
>
> http://www.simiolabs.com/developer/wiki/index.php?title=Compiling_and_running_kernel_2.6
>
> But when I go to compile with "make" command, the screen shows me the
> following error:
>
> :~/ts7260/2.6/linux-2.6.21-ts$ make
> Â CHKÂ Â Â Â include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
> Â CHKÂ Â Â Â include/linux/utsrelease.h
> Â HOSTCCÂ scripts/mod/sumversion.o
> 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
> make[1]: *** [scripts/mod] Error 2
> make: *** [scripts] Error 2
>
>
> What can be wrong?
>
>
> Regards ...
>
>
> Ricardo
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|