AV_Linux 6.0.2, Debian Stable. Grandmaster undefined issue when make
Posted: Mon Apr 07, 2014 7:31 pm
Hello. I am hitting an error in make. Might it be related to an older, stable version of QT4?
g++ -c -pipe -Werror -Wno-unused-local-typedefs -g -D_REENTRANT -Wall -W -fPIC -DHAS_LIBMAD -DHAS_LIBSNDFILE -DQT_SCRIPT_LIB -DQT_XML_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/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iaudio -I../../plugins/interfaces -I../../hotplugmonitor/src -I. -o moc_fixture.o moc_fixture.cpp
grandmaster.cpp: In member function ‘void GrandMaster::setValue(uchar)’:
grandmaster.cpp:150:44: error: ‘UCHAR_MAX’ was not declared in this scope
At global scope:
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [grandmaster.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/brian/qlcplus/engine/src'
make[1]: *** [sub-src-make_default-ordered] Error 2
make[1]: Leaving directory `/home/brian/qlcplus/engine'
make: *** [sub-engine-make_default-ordered] Error 2
###############
On a different computer with very similar AV Linux 6.0.2(but a laptop), though errors yes, it made it and was installed. So it leaves me completely unsure where to investage.
The Laptop was unable to ./create-deb.sh via-root.
Ideas?
Thank you.
g++ -c -pipe -Werror -Wno-unused-local-typedefs -g -D_REENTRANT -Wall -W -fPIC -DHAS_LIBMAD -DHAS_LIBSNDFILE -DQT_SCRIPT_LIB -DQT_XML_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/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iaudio -I../../plugins/interfaces -I../../hotplugmonitor/src -I. -o moc_fixture.o moc_fixture.cpp
grandmaster.cpp: In member function ‘void GrandMaster::setValue(uchar)’:
grandmaster.cpp:150:44: error: ‘UCHAR_MAX’ was not declared in this scope
At global scope:
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [grandmaster.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/brian/qlcplus/engine/src'
make[1]: *** [sub-src-make_default-ordered] Error 2
make[1]: Leaving directory `/home/brian/qlcplus/engine'
make: *** [sub-engine-make_default-ordered] Error 2
###############
On a different computer with very similar AV Linux 6.0.2(but a laptop), though errors yes, it made it and was installed. So it leaves me completely unsure where to investage.
The Laptop was unable to ./create-deb.sh via-root.
Ideas?
Thank you.