dssp 4.4.7 needs to link to libatomic on some 32-bit platforms (arm, ppc, mips): `Undefined symbols: "___atomic_store_8"`
Closed this issue · 1 comments
barracuda156 commented
[ 60%] Linking CXX shared library libdssp.dylib
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_dssp/dssp/work/build/libdssp && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/dssp.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-14 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -arch ppc -mmacosx-version-min=10.6 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -compatibility_version 4.0.0 -current_version 4.4.7 -o libdssp.4.4.7.dylib -install_name @rpath/libdssp.4.dylib CMakeFiles/dssp.dir/src/dssp.cpp.o "CMakeFiles/dssp.dir/src/dssp-io.cpp.o" -Wl,-rpath,/opt/local/lib /opt/local/lib/libcifpp.a /opt/local/lib/libz.dylib
Undefined symbols:
"___atomic_store_8", referenced from:
__ZN3cif17progress_bar_impl8progressEx in libcifpp.a(utilities.cpp.o)
__ZN3cif12progress_bar8progressEx in libcifpp.a(utilities.cpp.o)
"___atomic_load_8", referenced from:
__ZN3cif17progress_bar_impl14print_progressEv in libcifpp.a(utilities.cpp.o)
"___atomic_fetch_add_8", referenced from:
__ZN3cif17progress_bar_impl8consumedEx in libcifpp.a(utilities.cpp.o)
__ZN3cif12progress_bar8consumedEx in libcifpp.a(utilities.cpp.o)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [libdssp/libdssp.4.4.7.dylib] Error 1
mhekkel commented
should be fixed in libcifpp 7.0.6