[mythtv-commits] Ticket #13031: Fails to compile on Arch Arm

MythTV noreply at mythtv.org
Mon Apr 24 22:39:21 UTC 2017


#13031: Fails to compile on Arch Arm
--------------------------------------+--------------------------------
     Reporter:  eliteforce82nd@…      |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  major                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  0.28.1
     Severity:  medium                |   Keywords:  Archlinux Arch Arm
Ticket locked:  0                     |
--------------------------------------+--------------------------------
 Unable to compile on Raspberry pi 3 using Arch Arm and git fixes/0.28
 (latest commit at the time e26a33c) Seems to be in 0.28 release and 0.28.1
 as well, most likely to be an enviroment setup issue, but I have no idea
 what package or library it needs, perhaps a configure phase issue?


 {{{
 make[2]: Leaving directory '/home/alarm/mythtv/mythtv/libs/libmythmpeg2'
 cd libmythui/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile
 /home/alarm/mythtv/mythtv/libs/libmythui/libmythui.pro QMAKE=/usr/bin
 /qmake-qt5 ) && make -f Makefile
 make[2]: Entering directory '/home/alarm/mythtv/mythtv/libs/libmythui'
 g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
 -march=armv7-a -DNDEBUG -fomit-frame-pointer -fPIC
 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -pthread -g -Wall -Wpointer-arith
 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden
 -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time
 -fvisibility=hidden -std=gnu++11 -D_REENTRANT -fPIC -Dusing_libcec
 -D_GNU_SOURCE -DUSING_X11 -DUSING_DBUS -DUSE_JOYSTICK_MENU -DUSE_LIRC
 -DUSING_LIBCEC -DUSING_XRANDR -DUSING_QTWEBKIT -DMUI_API -DQT_OPENGL_LIB
 -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB
 -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I.
 -isystem /usr/include/libxml2 -isystem /usr/include/X11 -I../libmythbase
 -I../.. -I.. -I../../external/FFmpeg -isystem /usr/include/qt -isystem
 /usr/include/qt/QtOpenGL -isystem /usr/include/qt/QtWebKitWidgets -isystem
 /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem
 /usr/include/qt/QtGui -isystem /usr/include/qt/QtXml -isystem
 /usr/include/qt/QtSql -isystem /usr/include/qt/QtNetwork -isystem
 /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -I.
 -I/usr/lib/qt/mkspecs/linux-g++ -o mythrender_opengl1.o
 mythrender_opengl1.cpp
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::Init2DState()':
 mythrender_opengl1.cpp:33:18: error: 'GL_FLAT' was not declared in this
 scope
      glShadeModel(GL_FLAT);
                   ^~~~~~~
 mythrender_opengl1.cpp:33:25: error: 'glShadeModel' was not declared in
 this scope
      glShadeModel(GL_FLAT);
                          ^
 mythrender_opengl1.cpp:34:15: error: 'GL_POLYGON_SMOOTH' was not declared
 in this scope
      glDisable(GL_POLYGON_SMOOTH);
                ^~~~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:35:15: error: 'GL_LINE_SMOOTH' was not declared in
 this scope
      glDisable(GL_LINE_SMOOTH);
                ^~~~~~~~~~~~~~
 mythrender_opengl1.cpp:36:15: error: 'GL_POINT_SMOOTH' was not declared in
 this scope
      glDisable(GL_POINT_SMOOTH);
                ^~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:37:37: error: 'glColor4f' was not declared in this
 scope
      glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
                                      ^
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::SetColor(int, int, int, int)':
 mythrender_opengl1.cpp:112:57: error: 'glColor4f' was not declared in this
 scope
      glColor4f(r / 255.0, g / 255.0, b / 255.0, a / 255.0);
                                                          ^
 mythrender_opengl1.cpp: In member function 'virtual uint
 MythRenderOpenGL1::CreateHelperTexture()':
 mythrender_opengl1.cpp:250:34: error: 'GL_RGBA16' was not declared in this
 scope
                                   GL_RGBA16, GL_NEAREST, GL_REPEAT);
                                   ^~~~~~~~~
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::SetMatrixView()':
 mythrender_opengl1.cpp:291:18: error: 'GL_PROJECTION' was not declared in
 this scope
      glMatrixMode(GL_PROJECTION);
                   ^~~~~~~~~~~~~
 mythrender_opengl1.cpp:291:31: error: 'glMatrixMode' was not declared in
 this scope
      glMatrixMode(GL_PROJECTION);
                                ^
 mythrender_opengl1.cpp:292:20: error: 'glLoadIdentity' was not declared in
 this scope
      glLoadIdentity();
                     ^
 mythrender_opengl1.cpp:294:76: error: 'glOrtho' was not declared in this
 scope
              m_viewport.top() + m_viewport.height(), m_viewport.top(), 1,
 -1);
 ^
 mythrender_opengl1.cpp:295:18: error: 'GL_MODELVIEW' was not declared in
 this scope
      glMatrixMode(GL_MODELVIEW);
                   ^~~~~~~~~~~~
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::PushTransformation(const UIEffects&, QPointF&)':
 mythrender_opengl1.cpp:302:18: error: 'glPushMatrix' was not declared in
 this scope
      glPushMatrix();
                   ^
 mythrender_opengl1.cpp:303:45: error: 'glTranslatef' was not declared in
 this scope
      glTranslatef(center.x(), center.y(), 0.0);
                                              ^
 mythrender_opengl1.cpp:304:37: error: 'glScalef' was not declared in this
 scope
      glScalef(fx.hzoom, fx.vzoom, 1.0);
                                      ^
 mythrender_opengl1.cpp:305:32: error: 'glRotatef' was not declared in this
 scope
      glRotatef(fx.angle, 0, 0, 1);
                                 ^
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::PopTransformation()':
 mythrender_opengl1.cpp:313:17: error: 'glPopMatrix' was not declared in
 this scope
      glPopMatrix();
                  ^
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::DrawBitmapPriv(uint, const QRect*, const QRect*, uint,
 int, int, int, int)':
 mythrender_opengl1.cpp:337:25: error: 'GL_VERTEX_ARRAY' was not declared
 in this scope
      glEnableClientState(GL_VERTEX_ARRAY);
                          ^~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:337:40: error: 'glEnableClientState' was not
 declared in this scope
      glEnableClientState(GL_VERTEX_ARRAY);
                                         ^
 mythrender_opengl1.cpp:338:25: error: 'GL_TEXTURE_COORD_ARRAY' was not
 declared in this scope
      glEnableClientState(GL_TEXTURE_COORD_ARRAY);
                          ^~~~~~~~~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:342:66: error: 'glVertexPointer' was not declared
 in this scope
      glVertexPointer(2, GL_FLOAT, 0, m_textures[tex].m_vertex_data);
                                                                   ^
 mythrender_opengl1.cpp:343:81: error: 'glTexCoordPointer' was not declared
 in this scope
      glTexCoordPointer(2, GL_FLOAT, 0, m_textures[tex].m_vertex_data +
 TEX_OFFSET);
 ^
 mythrender_opengl1.cpp:345:48: error: 'glDisableClientState' was not
 declared in this scope
      glDisableClientState(GL_TEXTURE_COORD_ARRAY);
                                                 ^
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::DrawBitmapPriv(uint*, uint, const QRectF*, const
 QRectF*, uint)':
 mythrender_opengl1.cpp:362:25: error: 'GL_VERTEX_ARRAY' was not declared
 in this scope
      glEnableClientState(GL_VERTEX_ARRAY);
                          ^~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:362:40: error: 'glEnableClientState' was not
 declared in this scope
      glEnableClientState(GL_VERTEX_ARRAY);
                                         ^
 mythrender_opengl1.cpp:363:25: error: 'GL_TEXTURE_COORD_ARRAY' was not
 declared in this scope
      glEnableClientState(GL_TEXTURE_COORD_ARRAY);
                          ^~~~~~~~~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:376:68: error: 'glVertexPointer' was not declared
 in this scope
      glVertexPointer(2, GL_FLOAT, 0, m_textures[first].m_vertex_data);
                                                                     ^
 mythrender_opengl1.cpp:377:83: error: 'glTexCoordPointer' was not declared
 in this scope
      glTexCoordPointer(2, GL_FLOAT, 0, m_textures[first].m_vertex_data +
 TEX_OFFSET);
 ^
 mythrender_opengl1.cpp:381:48: error: 'glDisableClientState' was not
 declared in this scope
      glDisableClientState(GL_TEXTURE_COORD_ARRAY);
                                                 ^
 mythrender_opengl1.cpp: In member function 'virtual void
 MythRenderOpenGL1::DrawRectPriv(const QRect&, const QBrush&, const QPen&,
 int)':
 mythrender_opengl1.cpp:391:25: error: 'GL_VERTEX_ARRAY' was not declared
 in this scope
      glEnableClientState(GL_VERTEX_ARRAY);
                          ^~~~~~~~~~~~~~~
 mythrender_opengl1.cpp:391:40: error: 'glEnableClientState' was not
 declared in this scope
      glEnableClientState(GL_VERTEX_ARRAY);
                                         ^
 mythrender_opengl1.cpp:404:49: error: 'glVertexPointer' was not declared
 in this scope
          glVertexPointer(2, GL_FLOAT, 0, vertices);
                                                  ^
 mythrender_opengl1.cpp:417:49: error: 'glVertexPointer' was not declared
 in this scope
          glVertexPointer(2, GL_FLOAT, 0, vertices);
                                                  ^
 mythrender_opengl1.cpp:421:41: error: 'glDisableClientState' was not
 declared in this scope
      glDisableClientState(GL_VERTEX_ARRAY);
                                          ^
 make[2]: *** [Makefile:3023: mythrender_opengl1.o] Error 1
 make[2]: Leaving directory '/home/alarm/mythtv/mythtv/libs/libmythui'
 make[1]: *** [Makefile:204: sub-libmythui-make_first] Error 2
 make[1]: Leaving directory '/home/alarm/mythtv/mythtv/libs'
 make: *** [Makefile:67: libs] Error 2
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13031>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list