Actions
Bug #4634
openError in ffmpeg static when compiling the last git e16f4ec
Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2017-09-28
Due date:
% Done:
100%
Estimated time:
Found in version:
e16f5ec
Affected Versions:
Description
I'm unable to compile the latest git build e16f5ec because of ffmpeg, I think:
CC src/transcoding/transcode/transcoder.o CC src/transcoding/transcode/video.o CC src/transcoding/codec/codec.o CC src/transcoding/codec/module.o CC src/transcoding/codec/profile_audio_class.o CC src/transcoding/codec/profile.o CC src/transcoding/codec/profile_class.o CC src/transcoding/codec/profile_video_class.o CC src/transcoding/codec/codecs/aac.o src/transcoding/codec/codecs/aac.c:135: error: unknown field ‘name’ specified in initializer cc1: warnings being treated as errors src/transcoding/codec/codecs/aac.c:135: error: missing braces around initializer src/transcoding/codec/codecs/aac.c:135: error: (near initialization for ‘tvh_codec_aac.<anonymous>’) src/transcoding/codec/codecs/aac.c:136: error: unknown field ‘size’ specified in initializer src/transcoding/codec/codecs/aac.c:136: error: initialization makes pointer from integer without a cast src/transcoding/codec/codecs/aac.c:137: error: unknown field ‘idclass’ specified in initializer src/transcoding/codec/codecs/aac.c:137: error: initialization from incompatible pointer type src/transcoding/codec/codecs/aac.c:138: error: unknown field ‘profiles’ specified in initializer src/transcoding/codec/codecs/aac.c:138: error: initialization from incompatible pointer type src/transcoding/codec/codecs/aac.c:139: error: unknown field ‘profile_init’ specified in initializer src/transcoding/codec/codecs/aac.c:139: error: excess elements in struct initializer src/transcoding/codec/codecs/aac.c:139: error: (near initialization for ‘tvh_codec_aac’) src/transcoding/codec/codecs/aac.c:140: error: unknown field ‘profile_destroy’ specified in initializer src/transcoding/codec/codecs/aac.c:140: error: excess elements in struct initializer src/transcoding/codec/codecs/aac.c:140: error: (near initialization for ‘tvh_codec_aac’) make[1]: *** [/root/tvheadend2/tvheadend/build.linux/src/transcoding/codec/codecs/aac.o] Error 1My version of gcc is:
root@debian-x64:~/tvheadend2/tvheadend# gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-8)And the configure options were:
./configure --disable-pcre --disable-avahi --enable-bundle --disable-dbus_1 --enable-hdhomerun_client --disable-libx265 --disable-libvpxI've checked other versions and for example git 575531d (a month old) builds fine.
If there are problems with ffmpeg, what is the correct way to troubleshoot? I disabled libx265 and libvpx with the switches because of this.
Actions