rebroad@pi4:~/src/VDI-Explorer $ chmod +x build.sh
rebroad@pi4:~/src/VDI-Explorer $ ./build.sh
compiling source ...
g++ -Wall -g -std=c++11 -fprofile-arcs -ftest-coverage src/main.cpp -o src/main.o
In file included from src/main.cpp:12:
src/ext2.h:239:36: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘2199023255040’ to ‘4294966784’ [-Woverflow]
239 | size_t max_file_size = EXT2_MAX_ABS_FILE_SIZE;
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccmLR2Cb.o: in function `main':
/home/rebroad/src/VDI-Explorer/src/main.cpp:31: undefined reference to `vdi_explorer::vdi_reader::vdi_reader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:32: undefined reference to `vdi_explorer::ext2::ext2(vdi_explorer::vdi_reader*)'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:42: undefined reference to `vdi_explorer::interface::interface(vdi_explorer::ext2*)'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:43: undefined reference to `vdi_explorer::interface::interactive()'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:42: undefined reference to `vdi_explorer::interface::~interface()'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:32: undefined reference to `vdi_explorer::ext2::~ext2()'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:31: undefined reference to `vdi_explorer::vdi_reader::~vdi_reader()'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:42: undefined reference to `vdi_explorer::interface::~interface()'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:32: undefined reference to `vdi_explorer::ext2::~ext2()'
/usr/bin/ld: /home/rebroad/src/VDI-Explorer/src/main.cpp:31: undefined reference to `vdi_explorer::vdi_reader::~vdi_reader()'
collect2: error: ld returned 1 exit status
make: *** [Makefile:31: src/main.o] Error 1
successful compilation...