[OpenWrt-Devel] [LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

John Crispin john at phrozen.org
Thu Jun 2 07:05:42 EDT 2016



On 02/06/2016 13:03, Karl Palsson wrote:
> 
> Waldemar Brodkorb <wbx at openadk.org> wrote:
>>>
>>> This still doesn't work on the uclibc in openwrt-CC branch. The
>>> O_PATH definitions are in asm-generic/fcntl.h, which can be
>>> included via linux/fcntl.h, _GNU_SOURCE doesn't get this pulled
>>> in though.
>>>
>>> I attempted to add includes for linux/fcntl, but it just gives me
>>> redeclaration errors for struct flock.
>>
>> The definition where added to uClibc-ng after 1.0.9 release.
>> LEDE included 1.0.14 recently. You need to update.
>>
> 
> I'm well aware that it would work if I was on living on the
> bleeding edge of latest LEDE. [1] I'm just reporting that, up
> until this O_PATH landed, procd fixes were still backportable to
> the last _released_ version of openwrt/lede. (uclibc 0.9.33.2)
> That is no longer the case.
> 
> Sincerely,
> Karl P
> 
> 
> [1] Everything always works, you just haven't pulled the latest!
> 

send a patch for procd ala

#ifndef O_PATH
#define O_PATH
#endif

drama solved

	John
_______________________________________________
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