[mythtv-commits] Ticket #13031: Fails to compile on Arch Arm
MythTV
noreply at mythtv.org
Fri Jul 7 21:23:01 UTC 2017
#13031: Fails to compile on Arch Arm
----------------------------------+-------------------------
Reporter: eliteforce82nd@… | Owner: stuarta
Type: Bug Report - General | Status: new
Priority: major | Milestone: 0.28.2
Component: MythTV - General | Version: 0.28.1
Severity: medium | Resolution:
Keywords: Archlinux Arch Arm | Ticket locked: 0
----------------------------------+-------------------------
Changes (by eliteforce82nd@…):
* status: closed => new
* resolution: Fixed =>
Comment:
Still can't compile mythtv on archarm.
Seems to multiple headers being included creating conflict.
{{{
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 -D_GNU_SOURCE
-DUSING_VDPAU -DUSING_X11 -DUSING_DBUS -DUSE_JOYSTICK_MENU -DUSE_LIRC
-DUSING_XRANDR -DUSE_OPENGL_PAINTER -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_opengl.o mythrender_opengl.cpp
In file included from /usr/include/GL/gl.h:2055:0,
from mythrender_opengl1.h:7,
from mythrender_opengl.cpp:24:
/usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef
ptrdiff_t GLsizeiptr'
typedef ptrdiff_t GLsizeiptr;
^~~~~~~~~~
In file included from /usr/include/qt/QtGui/qopengl.h:107:0,
from /usr/include/qt/QtOpenGL/qgl.h:45,
from /usr/include/qt/QtOpenGL/QGLContext:1,
from mythrender_opengl.h:11,
from mythrender_opengl.cpp:1:
/usr/include/GLES3/gl3.h:73:25: note: previous declaration as 'typedef
khronos_ssize_t GLsizeiptr'
typedef khronos_ssize_t GLsizeiptr;
^~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
from mythrender_opengl1.h:7,
from mythrender_opengl.cpp:24:
/usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef
ptrdiff_t GLintptr'
typedef ptrdiff_t GLintptr;
^~~~~~~~
In file included from /usr/include/qt/QtGui/qopengl.h:107:0,
from /usr/include/qt/QtOpenGL/qgl.h:45,
from /usr/include/qt/QtOpenGL/QGLContext:1,
from mythrender_opengl.h:11,
from mythrender_opengl.cpp:1:
/usr/include/GLES3/gl3.h:74:26: note: previous declaration as 'typedef
khronos_intptr_t GLintptr'
typedef khronos_intptr_t GLintptr;
^~~~~~~~
make[2]: *** [Makefile:2823: mythrender_opengl.o] Error 1
make[2]: Leaving directory '/home/alarm/mythtv/mythtv/libs/libmythui'
make[1]: *** [Makefile:206: 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#comment:15>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list