[BusyBox] Undeclared
R.Kawashige
kawaju at af.airnet.ne.jp
Mon Aug 20 06:43:57 UTC 2001
Hi, Gareth.
>I am trying to compile busybox 0.60.0 for an arm integrator board but the
>process only gets so far when i get the following error :
POSIX system will have define of PATH_MAX, but some linux source or
tool chain support this. I experienced same as you on sh-linux.
Perhaps change source like this, you are able to compile it.
#ifndef PATH_MAX
# include <sys/param.h>
#endif
Check sys/param.h on your target system, you will find following line
#define MAXPATHLEN PATH_MAX
If you can't find this line, you have to chage like this.
#ifdef PATH_MAX
# include <sys/param.h>
# define MAXPATHLEN PATH_MAX
#endif
--------------------------------------------------------------------
Ryuichiro Kawashige <kawaju at af.airnet.ne.jp>
Key fingerprint = 0104 CB74 2F16 37B9 8124 64CD B7BF F0E6 7F80 A5B6
--------------------------------------------------------------------
More information about the busybox
mailing list