Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build on Gentoo Linux #2

Open
Fl0wdnb opened this issue Mar 16, 2023 · 0 comments
Open

Unable to build on Gentoo Linux #2

Fl0wdnb opened this issue Mar 16, 2023 · 0 comments

Comments

@Fl0wdnb
Copy link

Fl0wdnb commented Mar 16, 2023

Full log:

prompt$ cmake . && make

CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/grub-customizer
[ 12%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/client.cpp.o
In file included from /tmp/grub-customizer/src/main/../Bootstrap/../Model/Proxy.hpp:29,
from /tmp/grub-customizer/src/main/../Bootstrap/../Model/Proxylist.hpp:27,
from /tmp/grub-customizer/src/main/../Bootstrap/../Model/ListCfg.hpp:46,
from /tmp/grub-customizer/src/main/../Bootstrap/Factory.hpp:24,
from /tmp/grub-customizer/src/main/client.cpp:23:
/tmp/grub-customizer/src/main/../Bootstrap/../Model/ProxyScriptData.hpp: In member function ‘bool Model_ProxyScriptData::load(FILE*)’:
/tmp/grub-customizer/src/main/../Bootstrap/../Model/ProxyScriptData.hpp:119:9: warning: no return statement in function returning non-void [-Wreturn-type]
119 | }
| ^
/tmp/grub-customizer/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function ‘bool Model_ListCfg::compare(const Model_ListCfg&) const’:
/tmp/grub-customizer/src/main/../Bootstrap/../Model/ListCfg.hpp:864:71: error: aggregate ‘std::array<std::__cxx11::list<std::shared_ptr<Model_Rule> >, 2> rlist’ has incomplete type and cannot be defined
864 | std::array<std::list<std::shared_ptr<Model_Rule>>, 2> rlist;
| ^~~~~

make[2]: *** [CMakeFiles/grub-customizer.dir/build.make:76: CMakeFiles/grub-customizer.dir/src/main/client.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/grub-customizer.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant