I get a couple of these errors when linking the final executable:
$ g++ -pthread -lrt -Xlinker -export-dynamic -o python Programs/python.o libpython3.8_static.a -lcrypt -lpthread -ldl -lutil -lm -lm
/usr/bin/ld: libpython3.8_static.a(virtmem.o): in function `asmjit::VirtMem_openAnonymousMemory(int*, bool) [clone .part.0]':
/home/kmod/cinder/ThirdParty/asmjit/src/asmjit/core/virtmem.cpp:330: undefined reference to `shm_open'
/usr/bin/ld: /home/kmod/cinder/ThirdParty/asmjit/src/asmjit/core/virtmem.cpp:332: undefined reference to `shm_unlink'
collect2: error: ld returned 1 exit status
Adding -lrt to the makefile LIBS variable solved this for me. This is on Ubuntu 20.04.
I get a couple of these errors when linking the final executable:
Adding
-lrtto the makefileLIBSvariable solved this for me. This is on Ubuntu 20.04.