more undefined references to `get_custom1_profile_at_k_m_z'
Closed this issue · 1 comments
borisbolliet commented
When trying to compile this error has been reported:
build/class_sz.o:/home/iz221/class_sz/build/../source/class_sz.c:10695: more undefined references to 'get_custom1_profile_at_k_m_z' follow
collect2: error: ld returned 1 exit status
make: *** [class_sz] Error 1
borisbolliet commented
This error was reported when compiling class_sz on linux machines with the makefile for macOS.
The solution is to use the linux machine.
Before compiling do:
mv Makefile Makefile_os
mv Makefile_linux Makefile
make clean
make
and follow other instruction, e.g., from the colab notebook: link