yes I fixed the pb like that locally by adding <limit.h> to utils.c
and another file I don't remember.

but as Jo is the maintener, I let him do, he already did the same
patch for various packages.

else I'll do the patch.

shazz

On Mon, Mar 11, 2013 at 2:49 PM, Mirko Vogt <mi...@openwrt.org> wrote:
> On 03/10/2013 04:07 PM, shazz wrote:
>> trunk/build_dir/target-mips_r2_eglibc-2.17/firewall3-2013-03-02/utils.c:
>> In function 'fw3_find_command':
>> trunk/build_dir/target-mips_r2_eglibc-2.17/firewall3-2013-03-02/utils.c:141:19:
>> error: 'PATH_MAX' undeclared (first use in this function)
>> trunk/build_dir/target-mips_r2_eglibc-2.17/firewall3-2013-03-02/utils.c:141:19:
>> note: each undeclared identifier is reported only once for each
>> function it appears in
>> trunk/build_dir/target-mips_r2_eglibc-2.17/firewall3-2013-03-02/utils.c:141:14:
>> error: unused variable 'path' [-Werror=unused-variable]
>> cc1: all warnings being treated as errors
>> make[6]: *** [CMakeFiles/firewall3.dir/utils.c.o] Error 1
>> make[5]: *** [CMakeFiles/firewall3.dir/all] Error 2
>> make[4]: *** [all] Error 2
>> make[3]: *** 
>> [trunk/build_dir/target-mips_r2_eglibc-2.17/firewall3-2013-03-02/.built]
>> Error 2
>> make[2]: *** [package/network/config/firewall3/compile] Error 2
>
> If PATH_MAX is undeclared, most likely an
>   #include <limits.h>
> is missing. Could you check and try?
>
> Cheers
>
>   mirko
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to