Error in db/ on Alpine linux (musl-libc)
Guess i'm tried to bite off too big piece of pie for now ... g++ -c -o ppc64le/tdb.o tdb.C tdb.C: In member function 'int Db::icommit(int)': tdb.C:4606:54: error: 'qsort_r' was not declared in this scope qsort_r(pages, npages, sizeof(*pages), ioCmpr, this); ^ tdb.C: In member function 'int Db::load()': tdb.C:6218:54: error: 'qsort_r' was not declared in this scope qsort_r(pages, npages, sizeof(*pages), ioCmpr, this); ^ make: *** [Makefile:35: ppc64le/tdb.o] Error 1 it seems qsort_r was not implemented in musl libc at least in 2017: https://github.com/elogind/elogind/issues/83 - see comment "maxice8 commented Oct 18, 2018" - "Musl upstream has refused to merge qsort_r since there are 2 competing implementations claiming the same name from GNU and from FreeBSD i guess in the meantime the GNU qsort_r can be provided on musl_missing ?" In c programs this can be workarounded, not sure about c++ http://lists.openembedded.org/pipermail/openembedded-core/2014-March/091307.... https://github.com/Lupus/ccl/blob/master/qsort_r.c But in meantime I'll try to disable zmpeg3 and tdb, and signal handling (if possible) in hope it will make Cinelerra-GG buildable.
participants (1)
-
Andrew Randrianasulu