g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++14 -O3 -D_FORTIFY_SOURCE=2 -Wall -fstack-protector -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -fschedule-insns MidiKeyBoard.cpp Mamba.cpp XAlsa.cpp XJack.cpp NsmHandler.cpp xkeyboard.c xcustommap.c XSynth.cpp -L. ../libxputty/libxputty/libxputty.a -o mamba -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,noexecstack -Wl,--no-undefined -I./ -I../libxputty/libxputty/include/ `pkg-config --cflags --libs jack cairo x11 sigc++-2.0 liblo smf fluidsynth` -lm -pthread -lasound -DVERSION=\"2.4\" XAlsa.cpp: In member function 'void xalsa::XAlsa::xalsa_get_ports(std::vector >*, std::vector >*)': XAlsa.cpp:144:17: error: aggregate 'std::string p' has incomplete type and cannot be defined 144 | std::string p; | ^ XAlsa.cpp: In member function 'void xalsa::XAlsa::xalsa_get_iconnections(std::vector >*)': XAlsa.cpp:192:17: error: aggregate 'std::string p' has incomplete type and cannot be defined 192 | std::string p; | ^ XAlsa.cpp: In member function 'void xalsa::XAlsa::xalsa_get_oconnections(std::vector >*)': XAlsa.cpp:223:17: error: aggregate 'std::string p' has incomplete type and cannot be defined 223 | std::string p; | ^ In file included from /usr/include/c++/13/vector:66, from XAlsa.h:22, from XAlsa.cpp:22: /usr/include/c++/13/bits/stl_vector.h: In instantiation of 'void std::vector<_Tp, _Alloc>::_M_erase_at_end(pointer) [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; pointer = std::__cxx11::basic_string*]': /usr/include/c++/13/bits/stl_vector.h:1601:9: required from 'void std::vector<_Tp, _Alloc>::clear() [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' XAlsa.cpp:134:18: required from here /usr/include/c++/13/bits/stl_vector.h:1930:53: error: invalid use of incomplete type 'class std::__cxx11::basic_string' 1930 | if (size_type __n = this->_M_impl._M_finish - __pos) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/c++/13/iosfwd:41, from /usr/include/c++/13/bits/std_thread.h:38, from /usr/include/c++/13/thread:45, from XAlsa.h:23: /usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of 'class std::__cxx11::basic_string' 72 | class basic_string; | ^~~~~~~~~~~~ make[1]: *** [Makefile:143: Mamba] Error 1