Closed calvin2021y closed 4 months ago
neco.c:1332:5: error: conflicting types for 'dladdr' 1332 | int dladdr(const void *, void *); | ^ /usr/include/dlfcn.h:98:12: note: previous declaration is here 98 | extern int dladdr (const void *__address, Dl_info *__info) | ^ 1 error generated.
Which compiler, version, and cflags?
clang version 17.0.6
--target=x86_64-pc-linux-gnu -D_GNU_SOURCE -D__UNWIND_H__ -f
Thanks!
I just pushed a fix
I was able to get the error with:
CFLAGS="-D_GNU_SOURCE" tests/run.sh
The bug is technically with the llco project and I fixed it there too.