[mythtv-users] compiling trunk on f20/qt4
brad dreisbach
bradd at ameri.ca
Tue Sep 9 19:52:11 UTC 2014
i've been trying to compile trunk on f20 with qt4 installed. i was using
the rpm bits from the packaging repo, and it was working fine until
the last ffmpeg resync. after the resync, passing --enable-pthreads to
configure is causing ffmpeg not to compile with this error:
CC libswresample/audioconvert.o
CC libswresample/dither.o
STRIP libavcodec/x86/vp8dsp_loopfilter.o
skipping strip -wN ..@* libavcodec/x86/vp8dsp_loopfilter.o
CC libswresample/log2_tab.o
CC libswresample/options.o
CC libswresample/rematrix.o
CC libswresample/resample.o
CC libswresample/resample_dsp.o
CC libswresample/swresample.o
CC libswresample/x86/audio_convert_init.o
CC libswresample/x86/rematrix_init.o
CC libswresample/x86/resample_init.o
YASM libswresample/x86/rematrix.o
CC ffmpeg.o
CC cmdutils.o
ffmpeg.c:80:21: fatal error: windows.h: No such file or directory
compilation terminated.
STRIP libswresample/x86/rematrix.o
skipping strip -wN ..@* libswresample/x86/rematrix.o
CC ffmpeg_opt.o
YASM libswresample/x86/audio_convert.o
YASM libswresample/x86/resample.o
make[2]: *** [ffmpeg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
libswresample/x86/resample.asm:48: warning: section flags ignored on section redeclaration
STRIP libswresample/x86/resample.o
skipping strip -wN ..@* libswresample/x86/resample.o
STRIP libswresample/x86/audio_convert.o
skipping strip -wN ..@* libswresample/x86/audio_convert.o
YASM libavcodec/x86/vp9itxfm.o
YASM libavcodec/x86/vp9lpf.o
STRIP libavcodec/x86/hevc_mc.o
skipping strip -wN ..@* libavcodec/x86/hevc_mc.o
STRIP libavcodec/x86/vp9itxfm.o
skipping strip -wN ..@* libavcodec/x86/vp9itxfm.o
STRIP libavcodec/x86/vp9lpf.o
skipping strip -wN ..@* libavcodec/x86/vp9lpf.o
make[2]: Leaving directory `/home/mythtv/rpmbuild/BUILD/mythtv-0.28/mythtv/external/FFmpeg'
make[1]: *** [FFmpeg-all] Error 2
make[1]: Leaving directory `/home/mythtv/rpmbuild/BUILD/mythtv-0.28/mythtv/external'
make: *** [external] Error 2
i saw some chatter about the ffmpeg resync breaking the qt5 build,
but nothing about the qt4 build. is --enable-pthreads no longer
a recommended config option(i notice its not even listed in configure's
--help output)?
thanks,
-b
here is the configure log:
+ ./configure --prefix=/usr --libdir=/usr/lib64 --libdir-name=lib64 --mandir=/usr/share/man --enable-pthreads --enable-ffmpeg-pthreads --enable-joystick-menu --enable-audio-alsa --enable-audio-oss --enable-audio-jack --enable-libfftw3 --enable-x11 --x11-path=/usr/include --enable-xv --enable-opengl-video --enable-xrandr --enable-lirc --enable-ivtv --enable-firewire --enable-dvb --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libfaac --enable-nonfree --enable-libxvid --enable-libvpx --disable-crystalhd --enable-sdl --enable-vdpau --enable-vaapi '--extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fomit-frame-pointer' '--extra-cxxflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fomit-frame-pointer' --compile-type=debug --enable-debug
# Basic Settings
Compile type debug
Compiler cache yes
DistCC no
qmake /usr/bin/qmake-qt4
install prefix /usr
runtime prefix /usr
CPU x86 x86_64 (model name : AMD FX(tm)-8150 Eight-Core Processor)
yasm yes
MMX enabled yes
MMXEXT enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
AVX enabled yes
XOP enabled yes
FMA3 enabled yes
FMA4 enabled yes
i686 features enabled yes
# Input Support
Joystick menu yes
lirc support yes
libCEC device support no [/usr/include]
Video4Linux support yes
ivtv support yes
HD-PVR support yes
FireWire support yes
DVB support yes [/usr/include]
DVB-S2 support yes
HDHomeRun support yes
Ceton support yes
ASI support no
# Sound Output Support
PulseAudio support no
OSS support yes
ALSA support yes
JACK support yes
libfftw3 support yes
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
VDPAU support yes
VAAPI support yes
CrystalHD support no
OpenGL video yes
MHEG support yes
libass subtitle support no
# Misc Features
multi threaded libavcodec yes
libxml2 support yes [/usr/include/libxml2]
libdns_sd (Bonjour) yes
libcrypto yes
Frontend yes
Backend yes
OpenGL ES 2.0 no
mythlogserver no
# Bindings
bindings_perl yes
bindings_python yes
bindings_php yes
# External Codec Options
mp3lame yes
faac yes
xvid yes
x264 yes
vpx yes
SDL yes
Creating libs/libmythbase/mythconfig.h and libs/libmythbase/mythconfig.mak
Configuring qjson...
Configuring libhdhomerun...
Configuring libmythbluray...
Configuring libmythdvdnav...
Configuring libsamplerate...
Configuring minilzo...
Configuring libmythsoundtouch...
More information about the mythtv-users
mailing list