Hi, I’m using Alpine Linux, which doesn’t use the GNU C library. Instead it uses musl. These compilation errors appear:
-
/home/user/blender-2.83.1/intern/guardedalloc/intern/mallocn_guarded_impl.c:825:3: error: implicit declaration of function 'malloc_stats' [-Werror=implicit-function-declaration]
Fixed by removing#define HAVE_MALLOC_STATS
in line 46 in mallocn_intern.h -
/home/user/blender-2.83.1/intern/libc_compat/libc_compat.c:28:48: error: missing binary operator befor token "("
Fixed by removing#if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 31)
and#endif
at the end of the file -
/home/user/blender-2.83.1/source/blender/blenlib/intern/system.c:41:12: fatal error: execinfo.h: No such file or directory
Fixed by removing#include <execinfo.h>
and emptying thevoid BLI_system_backtrace(FILE *fp)
function -
/home/user/blender-2.83.1/source/creator/creator_signals.c:336:3: error: implicit declaration of function 'feenableexcept'; did you mean 'feraiseexcept'? [-Werror=implicit-function-declaration]
Fixed by following the advise from the compiler -
/usr/bin/ld: ../../lib/libbf_intern_ghost.a(GHOST_SystemX11.cpp.o): undefined reference to symbol 'XConvertSelection'
/usr/bin/ld: /usr/lib/libX11.so: error adding symbols: DSO missing from command line
I haven’t figured this out yet. libX11.so is properly installed. I assume that something went wrong in the cmake configuration but I can’t tell what.
One thing that stuck out to me, was that it diplayed-- Found X11: /usr/include
, but I don’t know how to fix that
Should I create a Bug Report?