October 3rd, 2016: Unable to compile vlc-git
Posted: 03 Oct 2016 08:13
I have been unable to compile vlc git against FFmpeg 3.1.3 with the following error message:
Same issue with FFmpeg directly from git. Thanks for looking at this issue...
Code: Select all
CCLD libmad_plugin.la
CCLD libugly_resampler_plugin.la
CCLD libspeex_resampler_plugin.la
/home/andrew/vlc_build/vlcdeps/usr/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_free':
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:861: undefined reference to `XCloseDisplay'
/home/andrew/vlc_build/vlcdeps/usr/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_create':
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:891: undefined reference to `XOpenDisplay'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:896: undefined reference to `vaGetDisplay'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:903: undefined reference to `XDisplayName'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:893: undefined reference to `XDisplayName'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:917: undefined reference to `vaGetDisplayDRM'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:891: undefined reference to `XOpenDisplay'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:893: undefined reference to `XDisplayName'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vaapi.c:898: undefined reference to `XDisplayName'
/home/andrew/vlc_build/vlcdeps/usr/lib/libavutil.a(hwcontext_vdpau.o): In function `vdpau_device_create':
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vdpau.c:431: undefined reference to `XOpenDisplay'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vdpau.c:437: undefined reference to `XDisplayString'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vdpau.c:439: undefined reference to `XDefaultScreen'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vdpau.c:439: undefined reference to `vdp_device_create_x11'
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vdpau.c:433: undefined reference to `XDisplayName'
/home/andrew/vlc_build/vlcdeps/usr/lib/libavutil.a(hwcontext_vdpau.o): In function `vdpau_device_free':
/home/andrew/vlc_build/ffmpeg-3.1.3/libavutil/hwcontext_vdpau.c:410: undefined reference to `XCloseDisplay'
collect2: error: ld returned 1 exit status
Makefile:10286: recipe for target 'libavio_plugin.la' failed
make[4]: *** [libavio_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/andrew/vlc_build/vlc/modules'
Makefile:18719: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/andrew/vlc_build/vlc/modules'
Makefile:8352: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/andrew/vlc_build/vlc/modules'
Makefile:2283: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/andrew/vlc_build/vlc'
Makefile:2168: recipe for target 'all' failed
make: *** [all] Error 2
andrew@athens:~/vlc_build/vlc$