Project

General

Profile

Bug #3322

tvheadend failes to build with --enable-libffmpeg_static enable.

Added by Stephan Oelze about 9 years ago. Updated about 9 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-11-18
Due date:
% Done:

0%

Estimated time:
Found in version:
latest git master
Affected Versions:

Description

Hi!

git checkout is 30 Minutes old.
i followed instruction summary from here https://tvheadend.org/issues/3080

./configure --enable-bundle --prefix=/usr --enable-libffmpeg_static --enable-libx265 --enable-libmfx
-> OK

Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         ok
  checking for cc -msse2 ...                        ok
  checking for cc -Wunused-result ...               ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic64 ...                      ok
  checking for cc atomic_time_t ...                 ok
  checking for cc lockowner ...                     ok
  checking for cc qsort_r ...                       ok
  checking for cc stime ...                         ok
  checking for cc gmtoff ...                        ok
  checking for cc recvmmsg ...                      ok
  checking for cc sendmmsg ...                      ok
  checking for cc libiconv ...                      fail
  checking for cc libdvben50221 ...                 ok
  checking for cc ifnames ...                       ok
  checking for py module gzip ...                   ok
  checking for pkg-config ...                       ok
  checking for xgettext ...                         ok
  checking for msgmerge ...                         ok
  checking for gzip ...                             ok
  checking for bzip2 ...                            ok
  checking for pkg openssl  ...                     ok (detected 1.0.1f)
  checking for cc linux/dvb/version.h ...           ok
  checking for cc libhdhomerun/hdhomerun.h ...      fail
  checking for pkg zlib  ...                        ok (detected 1.2.8)
  checking for pkg liburiparser  ...                ok (detected 0.7.5)
  checking for pkg avahi-client  ...                fail (detected <none>)
  checking for cmake ...                            ok
  checking for cc -lstdc++ ...                      ok
  checking for pkg vdpau  ...                       fail (detected <none>)
  checking for cc -lva ...                          ok
  checking for cc -lva-drm ...                      ok
  checking for cc -lva-x11 ...                      ok
  checking for autoreconf ...                       ok
  checking for libtool ...                          ok
  checking for libtoolize ...                       ok
  checking for cc -lstdc++ ...                      ok
  checking for cc sys/inotify.h ...                 ok
  fetching dvb-scan files ...                       ok
  checking for pkg dbus-1  ...                      fail (detected <none>)

Compiler:
  Using C compiler:                        cc
  Using LD flags:                           -ldvben50221 -ldvbapi -lucsi
  Build for arch:                          x86_64

Binaries:
  Using PYTHON:                            python
  Using GZIP:                              gzip
  Using BZIP2:                             bzip2

Options:
  cwc                                      yes
  capmt                                    yes
  constcw                                  yes
  linuxdvb                                 yes
  satip_server                             yes
  satip_client                             yes
  hdhomerun_client                         no
  hdhomerun_static                         no
  iptv                                     yes
  tsfile                                   yes
  dvbscan                                  yes
  timeshift                                yes
  trace                                    yes
  imagecache                               yes
  avahi                                    no
  zlib                                     yes
  libav                                    yes
  libffmpeg_static                         yes
  libx264_static                           yes
  libx265                                  yes
  libx265_static                           yes
  vdpau                                    no
  libmfx                                   yes
  libmfx_static                            yes
  inotify                                  yes
  epoll                                    yes
  uriparser                                yes
  ccache                                   no
  tvhcsa                                   yes
  bundle                                   yes
  dvbcsa                                   no
  dvben50221                               yes
  kqueue                                   no
  dbus_1                                   no
  android                                  no
  tsdebug                                  no
  gtimer_check                             no
  libsystemd_daemon                        no
  execinfo                                 yes
  mmx                                      yes
  sse2                                     yes
  W_unused_result                          yes
  getloadavg                               yes
  atomic64                                 yes
  atomic_time_t                            yes
  lockowner                                yes
  qsort_r                                  yes
  stime                                    yes
  gmtoff                                   yes
  recvmmsg                                 yes
  sendmmsg                                 yes
  libdvben50221                            yes
  ifnames                                  yes
  py_gzip                                  yes
  bin_pkg_config                           yes
  bin_xgettext                             yes
  bin_msgmerge                             yes
  bin_gzip                                 yes
  bin_bzip2                                yes
  ssl                                      yes
  linuxdvbapi                              yes
  upnp                                     yes
  bin_cmake                                yes
  stdcpp                                   yes
  va                                       yes
  va_drm                                   yes
  va_x11                                   yes
  bin_autoreconf                           yes
  bin_libtool                              yes
  bin_libtoolize                           yes
  inotify_h                                yes
  linuxdvb_ca                              yes
  mpegts                                   yes
  mpegts_dvb                               yes

Packages:
  openssl                                  1.0.1f
  zlib                                     1.2.8
  liburiparser                             0.7.5

Installation paths:
  Prefix:                                  /usr
  Binaries:                                ${prefix}/bin
  Libraries:                               ${prefix}/lib
  Data files:                              ${prefix}/share
  Man pages:                               ${datadir}/man

Final Binary:
  /root/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
  /usr/share/tvheadend

make j7
> Computers said no ;)

....... RUMPL RUMPL RUMPL .......
CC              src/timeshift/timeshift_reader.o
CC              src/dvr/dvr_inotify.o
CC              src/libav.o
src/libav.c: In function ‘streaming_component_type2codec_id’:
src/libav.c:82:16: error: ‘AV_CODEC_ID_VP9’ undeclared (first use in this function)
     codec_id = AV_CODEC_ID_VP9;
                ^
src/libav.c:82:16: note: each undeclared identifier is reported only once for each function it appears in
src/libav.c:85:16: error: ‘AV_CODEC_ID_HEVC’ undeclared (first use in this function)
     codec_id = AV_CODEC_ID_HEVC;
                ^
src/libav.c: In function ‘codec_id2streaming_component_type’:
src/libav.c:139:8: error: ‘AV_CODEC_ID_VP9’ undeclared (first use in this function)
   case AV_CODEC_ID_VP9:
        ^
src/libav.c:142:8: error: ‘AV_CODEC_ID_HEVC’ undeclared (first use in this function)
   case AV_CODEC_ID_HEVC:
        ^
make: *** [/root/tvheadend/build.linux/src/libav.o] Error 1
make: *** Waiting for unfinished jobs....

I think my librarys are all ok and complete. dont know why it dies.

thanks
Stephan

History

#1

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Invalid

do 'make distclean' before if you compile things within old git directory...

Also available in: Atom PDF