powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/includ e -O2 -mtune=G4 -maltivec -mabi=altivec -Wstrict-aliasing -pipe -msecure-plt -fn o-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-protot ypes -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c: In function ‘main’: main.c:205: error: ‘PATH_MAX’ undeclared (first use in this function) main.c:205: error: (Each undeclared identifier is reported only once main.c:205: error: for each function it appears in.) builds with patch from http://developer.momonga-linux.org/viewvc/trunk/pkgs/linux-atm/linux-atm-2.5.0-PATH_MAX.patch?revision=24636&view=markup&pathrev=24636: diff -up linux-atm-2.5.0/src/led/main.c.path_max linux-atm-2.5.0/src/led/main.c --- linux-atm-2.5.0/src/led/main.c.path_max 2008-05-19 02:47:40.000000000 +0900 +++ linux-atm-2.5.0/src/led/main.c 2008-05-19 02:47:52.000000000 +0900 @@ -41,6 +41,7 @@ #include <getopt.h> #include <errno.h> #include <fcntl.h> +#include <limits.h> #include <atm.h> #include <atmd.h>
Created attachment 156253 [details, diff] Modified PATH_MAX patch Apply this instead of the original patch
Attached patch has been submitted to cvs. Fixed without revision bump.
*** Bug 225803 has been marked as a duplicate of this bug. ***