Closed fda77 closed 7 months ago
__USE_GNU
is an internal macro, most likely set by features.h when _GNU_SOURCE
or similar is used. the latter is the macro supposed to be used by the application.
Thx. I'm not much experienced in this.
By add -D_GNU_SOURCE
to CFLAGS
and removing this patch/pr, compiling also works. Is this the better way? With older proxychains versions this was nothing needed
"_GNU_SOURCE" redefined
shows for https://github.com/rofl0r/proxychains-ng/blob/master/src/daemon/daemon.c#L8 then
it would be best to write a configure check for this, but unconditionally putting _GNU_SOURCE into CFLAGS or before including any header in the file using Dl_info should work too, though the BSDs sometimes become annoying when you enable gnu features.
Sorry, I can't help writing a configure script, but i can test if it works. Meanwhile i'm using it this way: https://github.com/Freetz-NG/freetz-ng/commit/23cf5e65d95e7f0c1d6d2d05687c6f40a01fefe3
Sry, that was unexpected and i cant open it again due to missing permissions
i can't either but i guess it's OK. uclibc is dying out, but if other users come across this error they should find this via a search engine.
It died since latest version 1.0.47 of 27.03.2024, 1 week ago? But its okay, im using a local fix
15 May 2012, uClibc 0.9.33.2 Released
are you refering to uclibc-ng ?
//edit: oh, it says so even in the PR title
@wbx-github maybe uclibc-ng can be made to expose this using the same feature test macros than glibc ?