[OpenWrt-Devel] [PATCH 1/1] Fix bridge-utils file offset handling

Nikolay Martynov mar.kolya at gmail.com
Fri May 22 17:01:56 EDT 2015


Hi.

  Thanks for you response!

  Please forgive my noobiness but I wasn't able to find brigde-utils
in https://github.com/openwrt/packages. Is it supposed to be somo
other feed? I would really appreciate if you could clarify.

Thanks.
Nikolay.

2015-05-22 14:43 GMT-04:00 John Crispin <blogic at openwrt.org>:
> Hi,
>
> brigde-utils is part of the github feed. please file an issue there
>
>         John
>
> On 12/05/2015 03:48, Nikolay Martynov wrote:
>> Make sure brctl build uses appropriate defines (_FILE_OFFSET_BITS) that match uClibc settings.
>> Without this patch running brctl leads to 'unresolved alphasort symbol' message.
>>
>> Signed-off-by: Nikolay Martynov <mar.kolya at gmail.com>
>> ---
>>  net/bridge-utils/Makefile | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/net/bridge-utils/Makefile b/net/bridge-utils/Makefile
>> index ad95b87..10e44c5 100644
>> --- a/net/bridge-utils/Makefile
>> +++ b/net/bridge-utils/Makefile
>> @@ -30,6 +30,8 @@ define Package/bridge/description
>>   form a larger network.
>>  endef
>>
>> +TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
>> +
>>  CONFIGURE_ARGS += \
>>       --with-linux-headers="$(LINUX_DIR)" \
>>
>>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



-- 
Martynov Nikolay.
Email: mar.kolya at gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list