OS - Ubuntu 23.10. CMake - 3.27.4. GNU - 13.2.0.
$ make scan
[ 8%] Building CXX object CMakeFiles/scan.dir/ptrscan/main.cpp.o
[ 16%] Building CXX object CMakeFiles/scan.dir/ptrscan/args.cpp.o
[ 25%] Building CXX object CMakeFiles/scan.dir/ptrscan/proc_mem.cpp.o
[ 33%] Building CXX object CMakeFiles/scan.dir/ptrscan/ui_base.cpp.o
[ 41%] Building CXX object CMakeFiles/scan.dir/ptrscan/ui_term.cpp.o
[ 50%] Building CXX object CMakeFiles/scan.dir/ptrscan/debug.cpp.o
[ 58%] Building CXX object CMakeFiles/scan.dir/ptrscan/mem_tree.cpp.o
[ 66%] Building CXX object CMakeFiles/scan.dir/ptrscan/thread_ctrl.cpp.o
[ 75%] Building CXX object CMakeFiles/scan.dir/ptrscan/thread.cpp.o
[ 83%] Building CXX object CMakeFiles/scan.dir/ptrscan/serialise.cpp.o
[ 91%] Building CXX object CMakeFiles/scan.dir/ptrscan/verify.cpp.o
[100%] Linking CXX executable scan
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/proc_mem.cpp.o: in function `proc_mem::fetch_pid(args_struct*, ui_base*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:29:(.text+0x80): undefined reference to `new_name_pid'
/usr/bin/ld: /home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:35:(.text+0xf7): undefined reference to `pid_by_name'
/usr/bin/ld: /home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:50:(.text+0x20e): undefined reference to `del_name_pid'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/proc_mem.cpp.o: in function `proc_mem::maps_init(maps_data*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:67:(.text+0x310): undefined reference to `new_maps_data'
/usr/bin/ld: /home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:73:(.text+0x37c): undefined reference to `read_maps'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/proc_mem.cpp.o: in function `proc_mem::populate_regions(args_struct*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:134:(.text+0x5de): undefined reference to `vector_get_ref'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/proc_mem.cpp.o: in function `proc_mem::init_proc_mem(args_struct*, ui_base*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/proc_mem.cpp:181:(.text+0x846): undefined reference to `open_memory'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/ui_base.cpp.o: in function `match_maps_obj(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, void*, maps_obj**)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/ui_base.cpp:30:(.text+0x61): undefined reference to `vector_get_ref'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/ui_term.cpp.o: in function `ui_term::clarify_pid(name_pid*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/ui_term.cpp:193:(.text+0xab): undefined reference to `vector_get_ref'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/thread_ctrl.cpp.o: in function `thread_ctrl::init(args_struct*, proc_mem*, mem_tree*, ui_base*, int)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/thread_ctrl.cpp:196:(.text+0x599): undefined reference to `open_memory'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/thread_ctrl.cpp.o: in function `thread_ctrl::prepare_level(args_struct*, proc_mem*, mem_tree*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/thread_ctrl.cpp:279:(.text+0xa53): undefined reference to `get_region_by_addr'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/serialise.cpp.o: in function `serialise::recurse_node(args_struct*, mem_node*, proc_mem*, unsigned int)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/serialise.cpp:141:(.text+0x190): undefined reference to `vector_get_ref'
/usr/bin/ld: /home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/serialise.cpp:146:(.text+0x204): undefined reference to `vector_get'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/verify.cpp.o: in function `verify_chain(args_struct*, proc_mem*, ui_base*, serial_entry*, maps_obj*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/verify.cpp:37:(.text+0x70): undefined reference to `vector_get'
/usr/bin/ld: CMakeFiles/scan.dir/ptrscan/verify.cpp.o: in function `verify(args_struct*, proc_mem*, ui_base*, serialise*)':
/home/mexikanoz/Desktop/qtz/ptrscan/src/ptrscan/verify.cpp:104:(.text+0x3a8): undefined reference to `get_obj_by_basename'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/scan.dir/build.make:257: scan] Error 1
make[2]: *** [CMakeFiles/Makefile2:148: CMakeFiles/scan.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:155: CMakeFiles/scan.dir/rule] Error 2
make: *** [Makefile:137: scan] Error 2