Page 1 of 1

Odroid XU-4/Linux: 4.10.3 won't compile

Posted: Fri Mar 18, 2016 3:37 pm
by lcslouis
I am compiling 4.10.3 from source file because i am using an odroid xu4.

The Odroid-xu4 is like the raspberry pi but is alot more powerful. it is an 8core with 2Gb ram.

the error i'm getting is
g++ -c -pipe -Werror -Wno-unused-local-typedefs -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Imonitor -Ishowmanager -Ivirtualconsole -I../../engine/src -I../../engine/audio/src -I../../plugins/interfaces -I../../webaccess -I. -I. -o qrc_qlcui.o qrc_qlcui.cpp
qrc_qlcui.cpp:17298:18: error: ‘qInitResources_qlcui__init_variable__’ defined but not used [-Werror=unused-variable]
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_qlcui))
^
cc1plus: all warnings being treated as errors
Makefile:5645: recipe for target 'qrc_qlcui.o' failed
how can i fix or will an updated folder be put up?

Re: 4.10.3 won't compile

Posted: Fri Mar 18, 2016 3:47 pm
by mcallegari
1- moved to software development
2- if possible, build on Qt5 and not on Qt4
3- see this: https://aur.archlinux.org/packages/qlcplus/

basically:

Code: Select all

qmake-qt4 QMAKE_CXXFLAGS+=-Wno-error=unused-variable
Next time, when reporting a build issue, please state: operating system (in your case Linux distro), GCC version, Qt version and QLC+ version (can be a release or GIT)
how can i fix or will an updated folder be put up?
Why in this forum is it always our fault if something doesn't work for someone ?