undefined reference to `alloc_macro_data', etc.
[100%] Linking CXX executable contactmerge
cd /disk-samsung/freebsd-ports/math/dune-grid-glue/work/.build/examples && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/contactmerge.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -Wl,-rpath=-Wl,-rpath=/usr/local/lib/gcc10 -Wl,-rpath -Wl,/usr/local/mpi/openmpi/lib -Wl,--enable-new-dtags -pthread CMakeFiles/contactmerge.dir/contactmerge.cc.o -o contactmerge -Wl,-rpath,/usr/local/lib:/usr/local/mpi/openmpi/lib /usr/local/lib/libdunealbertagrid3d.so /usr/local/lib/libdunealbertagrid2d.so /usr/local/lib/libdunealbertagrid1d.so /usr/local/lib/libdunegrid.so /usr/local/lib/libdunegeometry.so /usr/local/lib/libduneuggrid.so /usr/local/lib/libdunecommon.so -pthread /usr/local/lib/libopenblas.so -lm -ldl /usr/local/lib/libtbb.so.12.3 /usr/local/mpi/openmpi/lib/libmpi.so
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `alloc_macro_data'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `read_macro'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `alberta_realloc'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `fill_elinfo'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `write_macro_data'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `free_fe_space'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `free_mesh'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `macro_test'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `read_dof_int_vec_xdr'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `alberta_alloc'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `free_dof_uchar_vec'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `get_dof_int_vec'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `fill_macro_info'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `get_dof_real_d_vec'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `get_dof_uchar_vec'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `funcName'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `free_macro_data'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `write_dof_int_vec_xdr'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `compute_neigh_fast'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `free_dof_real_d_vec'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `get_dof_space'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `check_and_get_mesh'
/usr/local/bin/ld: /usr/local/lib/libdunealbertagrid3d.so: undefined reference to `free_dof_int_vec'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [examples/contactmerge] Error code 1
rev. 17bd9898
OS: FreeBSD 13
Edited by Yuri Vic