Menu

AV_Linux 6.0.2, Debian Stable. Grandmaster undefined issue when make

Brian Clem
2014-04-07
2014-04-08
  • Brian Clem

    Brian Clem - 2014-04-07

    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.

     
  • Massimo Callegari

    Or better...replace this:

    #if defined(Q_WS_X11) || defined(Q_OS_LINUX)
    #include <limits.h>
    #endif
    

    with this:

    #include <climits>
    

    In engine/src/grandmaster.cpp and let me know if it works

     

    Last edit: Massimo Callegari 2014-04-07
  • Brian Clem

    Brian Clem - 2014-04-08

    Thanks! I am now able to make install.

    Something that came up, but didnt stop me from make install(ing) is this:
    cd ola/ && make -f Makefile install
    make[2]: Entering directory /home/brian/qlcplus/plugins/ola' g++ -c -pipe -Werror -Wno-unused-local-typedefs -g -Wall -W -D_REENTRANT -fPIC -DQT_PLUGIN -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 -I../interfaces -I. -I. -o olaio.o olaio.cpp In file included from olaio.cpp:26:0: qlclogdestination.h:25:25: fatal error: ola/Logging.h: No such file or directory compilation terminated. make[2]: *** [olaio.o] Error 1 make[2]: Leaving directory/home/brian/qlcplus/plugins/ola'
    make[1]: [sub-ola-install_subtargets] Error 2
    make[1]: Leaving directory `/home/brian/qlcplus/plugins'
    make:
    [sub-plugins-install_subtargets-ordered] Error 2

    But I think it is not too important of an error?

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.