Comments (1)
When i try to build cura-build-environment with Lubuntu(cmake 3.6) i have this error:
utente@utente-pc:/media/utente/Backups/git/cura-build-environment/build$ sudo make
[sudo] password di utente:
[ 7%] Built target xz
[ 8%] Performing download step (download, verify and extract) for 'Qt'
-- verifying file...
file='/media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/qt-everywhere-src-5.10.1.tar.xz'
-- File already exists and hash match (skip download):
file='/media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/qt-everywhere-src-5.10.1.tar.xz'
MD5='7e167b9617e7bd64012daaacb85477af'
-- extracting...
src='/media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/qt-everywhere-src-5.10.1.tar.xz'
dst='/media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 9%] No patch step for 'Qt'
[ 10%] No update step for 'Qt'
[ 11%] Performing configure step for 'Qt'* cd qtbase * /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/configure -top-level -release -prefix /media/utente/Backups/git/cura-build-environment/build/install -archdatadir /media/utente/Backups/git/cura-build-environment/build/install/lib -datadir /media/utente/Backups/git/cura-build-environment/build/install/share -opensource -confirm-license -nomake examples -nomake tests -nomake tools -no-cups -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -skip qtconnectivity -skip qtdoc -skip qtlocation -skip qtmultimedia -skip qtscript -skip qtsensors -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtandroidextras -skip qtactiveqt -skip qttools -skip qtxmlpatterns -skip qt3d -skip qtcanvas3d -skip qtserialport -skip qtwayland -skip qtgamepad -skip qtscxml -no-gtk -no-rpath -qt-xcb Creating qmake... /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:101:12: error: ‘int renameat2(int, const char*, int, const char*, unsigned int)’ was declared ‘extern’ and later ‘static’ [-fpermissive] static int renameat2(int oldfd, const char _oldpath, int newfd, const char _newpath, unsigned flags) ^~~~~~~~~ In file included from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6391, from /usr/include/c++/8/string:52, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/../../src/corelib/tools/qbytearray.h:52, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/qbytearray.h:1, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:49, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/qstring.h:1, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:50, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/qiodevice.h:1, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/../../src/corelib/io/qfiledevice.h:43, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/include/QtCore/qfiledevice.h:1, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfile.h:44, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_p.h:54, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:43: /usr/include/stdio.h:164:12: note: previous declaration of ‘int renameat2(int, const char_, int, const char_, unsigned int)’ extern int renameat2 (int __oldfd, const char ___old, int __newfd, ^~~~~~~~~ In file included from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:106: /usr/include/linux/stat.h:56:8: error: redefinition of ‘struct statx_timestamp’ struct statx_timestamp { ^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:446, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/mkspecs/linux-g++/qplatformdefs.h:75, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:42: /usr/include/x86_64-linux-gnu/bits/statx.h:25:8: note: previous definition of ‘struct statx_timestamp’ struct statx_timestamp ^~~~~~~~~~~~~~~ In file included from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:106: /usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’ struct statx { ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:446, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/mkspecs/linux-g++/qplatformdefs.h:75, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:42: /usr/include/x86_64-linux-gnu/bits/statx.h:36:8: note: previous definition of ‘struct statx’ struct statx ^~~~~ /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:107:12: error: ‘int statx(int, const char_, int, unsigned int, statx*)’ was declared ‘extern’ and later ‘static’ [-fpermissive] static int statx(int dirfd, const char _pathname, int flag, unsigned mask, struct statx _statxbuf) ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:446, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/mkspecs/linux-g++/qplatformdefs.h:75, from /media/utente/Backups/git/cura-build-environment/build/Qt-prefix/src/Qt/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:42: /usr/include/x86_64-linux-gnu/bits/statx.h:87:5: note: previous declaration of ‘int statx(int, const char_, int, unsigned int, statx_)’ int statx (int __dirfd, const char *__restrict __path, int __flags, ^~~~~ make[3]: *** [Makefile:429: qfilesystemengine_unix.o] Error 1 make[2]: *** [CMakeFiles/Qt.dir/build.make:109: Qt-prefix/src/Qt-stamp/Qt-configure] Error 2 make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/Qt.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
How can i fix it ?
Thanks
from cura-build-environment.
Related Issues (20)
- "No such DSL method 'node_names' found among steps" using Jenkins HOT 1
- Linux native build missing dependencies HOT 2
- Can you help me fix this build error for Windows docker? HOT 10
- Freshly built Centos image does not run as a container HOT 1
- Please update README HOT 2
- Latest cbe docker image contains outdated Python HOT 4
- Compile Fails on macOS due to PyInstaller HOT 11
- Need a new release to fix Cura’s GitHub Actions HOT 2
- Linux : include could not find load file: UraniumTranslationTools
- CMAKE_BUILD_TYPE=Release missing in build description
- protobuf not found while compiling on ubuntu 20.4 HOT 23
- boost/1.78.0 missing sources
- Unable to execute cmake on MacBook Pro using apple M1 silicon
- zlib/1.2.12 missing patch files HOT 1
- protobuf/3.17.1 missing CMakeLists.txt HOT 1
- Wrong default branches
- How can this problem be solved
- Wrong Python check/config order (non-Windows)
- 5.0 Windows requires conan user login, what are the details? HOT 5
- The CMake policy CMP0091 must be NEW? How to deal with it HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cura-build-environment.