Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.21.0] Build failure on RPi3 #3699

Closed
Narrat opened this issue Oct 20, 2016 · 2 comments
Closed

[0.21.0] Build failure on RPi3 #3699

Narrat opened this issue Oct 20, 2016 · 2 comments

Comments

@Narrat
Copy link

Narrat commented Oct 20, 2016

Building the latest release (0.21.0) on a RPi3 running Arch Linux ARM fails with the following error message:

[197/481] Compiling video/out/opengl/context_x11.c
../video/out/opengl/context_rpi.c: In Funktion »rpi_control«:
../video/out/opengl/context_rpi.c:316:9: Fehler: operand type »_Atomic atomic_bool * {aka _Atomic _Bool *}« is incompatible with argument 1 of »__atomic_fetch_and«
         if (atomic_fetch_and(&p->reload_display, 0)) {
         ^~

Waf: Leaving directory `/home/omnius/Builds/ALARM/community/mpv/src/mpv-0.21.0/build'
Build failed
 -> task in 'objects' failed (exit status 1): 
    {task 1980410160: c context_rpi.c -> context_rpi.c.14.o}
['/usr/lib/hardening-wrapper/bin/cc', '-fPIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-g', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem/opt/vc/include/', '-isystem/opt/vc/include/interface/vcos/pthreads', '-isystem/opt/vc/include/interface/vmcs_host/linux', '-fgnu89-inline', '-pthread', '-I/home/omnius/Builds/ALARM/community/mpv/src/mpv-0.21.0/build', '-I/home/omnius/Builds/ALARM/community/mpv/src/mpv-0.21.0', '-I/usr/include/libdrm', '-I/usr/include/samba-4.0', '-I/usr/include/lua5.2', '-I/usr/include/alsa', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/fribidi', '-DHAVE_DVDREAD=1', '-DHAVE_JACK=1', '-DHAVE_LIBSWRESAMPLE=1', '-DHAVE_CDDA=1', '-DHAVE_EGL_X11=1', '-DHAVE_LCMS2=1', '-DHAVE_CACA=1', '-DHAVE_VAAPI_WAYLAND=1', '-DHAVE_LIBV4L2=1', '-DHAVE_XEXT=1', '-DHAVE_RUBBERBAND=1', '-DPATH_DEV_DSP="/dev/dsp"', '-DPATH_DEV_MIXER="/dev/mixer"', '-DHAVE_GBM=1', '-DHAVE_LIBAVDEVICE=1', '-DHAVE_VAAPI=1', '-DHAVE_DRM=1', '-DHAVE_GL_WAYLAND=1', '-DHAVE_EGL_DRM=1', '-DHAVE_EGL_DRM=1', '-DHAVE_LIBAVFILTER=1', '-DHAVE_VDPAU=1', '-DHAVE_VAAPI_DRM=1', '-DHAVE_LIBSMBCLIENT=1', '-DHAVE_X11=1', '-DHAVE_PULSE=1', '-D_REENTRANT', '-DHAVE_DVDNAV=1', '-DHAVE_52ARCH=1', '-DHAVE_XRANDR=1', '-DHAVE_VAAPI_X11=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_XSS=1', '-DHAVE_WAYLAND=1', '-DHAVE_LIBAV=1', '-DHAVE_XV=1', '-DHAVE_ALSA=1', '-DHAVE_XINERAMA=1', '-DHAVE_LIBASS=1', '../video/out/opengl/context_rpi.c', '-c', '-o', '/home/omnius/Builds/ALARM/community/mpv/src/mpv-0.21.0/build/video/out/opengl/context_rpi.c.14.o']

@ghost ghost closed this as completed in 9ea9bdf Oct 21, 2016
@ghost
Copy link

ghost commented Oct 21, 2016

The commit above is untested, but should work.

@Narrat
Copy link
Author

Narrat commented Oct 21, 2016

I tried it and it worked fine.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant