Project

General

Profile

Bug #3264

Cannot compile the latest git src/plumbing/transcoding.c:1105:3: error:

Added by Jeroen Teeuw about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:
Found in version:
10ba670c
Affected Versions:

Description

Cannot compile the latest git
When I try to compile the latest Git I get a error :

root@htpc:/home/kodi/tvheadend# ./configure
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 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 ... fail
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.8.0.1)
checking for pkg avahi-client ... ok (detected 0.6.31)
checking for ffmpeg libraries ... fail
checking for pkg libavcodec >=55.34.1 ... ok (detected 56.1.0)
checking for pkg libavutil >=53.3.0 ... ok (detected 54.3.0)
checking for pkg libavformat >=55.12.0 ... ok (detected 56.1.0)
checking for pkg libavfilter >=4.0.0 ... ok (detected 5.0.0)
checking for pkg libavresample >=1.1.0 ... ok (detected 2.1.0)
checking for cc sys/inotify.h ... ok
fetching dvb-scan files ... ok
checking for pkg dbus-1 ... ok (detected 1.8.12)

Compiler:
Using C compiler: ccache cc
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 yes
zlib yes
libav yes
libffmpeg_static no
libx264_static yes
libx265 no
libx265_static yes
vdpau no
libmfx no
libmfx_static yes
inotify yes
epoll yes
uriparser yes
ccache yes
tvhcsa yes
bundle no
dvbcsa no
dvben50221 no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
libsystemd_daemon no
execinfo yes
mmx yes
sse2 yes
W_unused_result yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg 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
inotify_h yes
mpegts yes
mpegts_dvb yes

Packages:
openssl 1.0.1f
zlib 1.2.8
liburiparser 0.8.0.1
avahi-client 0.6.31
libavcodec 56.1.0
libavutil 54.3.0
libavformat 56.1.0
libavfilter 5.0.0
libavresample 2.1.0
dbus-1 1.8.12

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

Final Binary:
/home/kodi/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
/usr/local/share/tvheadend

root@htpc:/home/kodi/tvheadend# make
make f Makefile.webui LANGUAGES="bg cs de en_US en_GB es fa fr he hr hu it lv nl pl pt ru sv" all
make1: Entering directory '/home/kodi/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make2: Entering directory '/home/kodi/tvheadend'
WEBUI std finished
make2: Leaving directory '/home/kodi/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make2: Entering directory '/home/kodi/tvheadend'
WEBUI debug finished
make2: Leaving directory '/home/kodi/tvheadend'
make1: Leaving directory '/home/kodi/tvheadend'
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
CC src/prop.o
CC src/utils.o
CC src/wrappers.o
CC src/access.o
CC src/tcp.o
CC src/udp.o
CC src/url.o
CC src/http.o
CC src/notify.o
CC src/file.o
CC src/epg.o
CC src/epgdb.o
CC src/epggrab.o
CC src/spawn.o
CC src/packet.o
CC src/streaming.o
CC src/channels.o
CC src/subscriptions.o
CC src/service.o
CC src/htsp_server.o
CC src/htsmsg_xml.o
CC src/misc/json.o
CC src/settings.o
CC src/htsbuf.o
CC src/trap.o
CC src/tvhpoll.o
CC src/filebundle.o
CC src/config.o
CC src/lang_codes.o
CC src/lang_str.o
CC src/imagecache.o
CC src/tvhtime.o
CC src/service_mapper.o
CC src/input.o
CC src/httpc.o
CC src/rtsp.o
CC src/download.o
CC src/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/bouquet.o
CC src/lock.o
CC src/api.o
CC src/api/api_config.o
CC src/api/api_status.o
CC src/api/api_idnode.o
CC src/api/api_input.o
CC src/api/api_channel.o
CC src/api/api_service.o
CC src/api/api_mpegts.o
CC src/api/api_epg.o
CC src/api/api_epggrab.o
CC src/api/api_imagecache.o
CC src/api/api_esfilter.o
CC src/api/api_intlconv.o
CC src/api/api_access.o
CC src/api/api_dvr.o
CC src/api/api_caclient.o
CC src/api/api_profile.o
CC src/api/api_bouquet.o
CC src/api/api_language.o
CC src/api/api_satip.o
CC src/api/api_timeshift.o
CC src/parsers/parsers.o
CC src/parsers/parser_h264.o
CC src/parsers/parser_hevc.o
CC src/parsers/parser_latm.o
CC src/parsers/parser_avc.o
CC src/parsers/parser_teletext.o
CC src/epggrab/module.o
CC src/epggrab/channel.o
CC src/epggrab/module/pyepg.o
CC src/epggrab/module/xmltv.o
CC src/plumbing/tsfix.o
CC src/plumbing/globalheaders.o
CC src/dvr/dvr_db.o
CC src/dvr/dvr_rec.o
CC src/dvr/dvr_autorec.o
CC src/dvr/dvr_timerec.o
CC src/dvr/dvr_config.o
CC src/dvr/dvr_cutpoints.o
CC src/webui/webui.o
CC src/webui/comet.o
CC src/webui/extjs.o
CC src/webui/simpleui.o
CC src/webui/statedump.o
CC src/webui/html.o
CC src/webui/webui_api.o
CC src/webui/xmltv.o
CC src/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_mkv.o
CC src/upnp.o
CC src/satip/server.o
CC src/satip/rtsp.o
CC src/satip/rtp.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/descrambler/caid.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_pid.o
CC src/input/mpegts/mpegts_input.o
CC src/input/mpegts/tsdemux.o
CC src/input/mpegts/dvb_psi_lib.o
CC src/input/mpegts/mpegts_network.o
CC src/input/mpegts/mpegts_mux.o
CC src/input/mpegts/mpegts_service.o
CC src/input/mpegts/mpegts_table.o
CC src/input/mpegts/dvb_support.o
CC src/input/mpegts/dvb_charset.o
CC src/input/mpegts/dvb_psi.o
CC src/input/mpegts/fastscan.o
CC src/input/mpegts/mpegts_mux_sched.o
CC src/input/mpegts/mpegts_network_scan.o
CC src/input/mpegts/mpegts_network_dvb.o
CC src/input/mpegts/mpegts_mux_dvb.o
CC src/input/mpegts/scanfile.o
CC src/epggrab/otamux.o
CC src/epggrab/module/eit.o
CC src/epggrab/module/psip.o
CC src/epggrab/support/freesat_huffman.o
CC src/epggrab/module/opentv.o
CC src/input/mpegts/linuxdvb/linuxdvb.o
CC src/input/mpegts/linuxdvb/linuxdvb_adapter.o
CC src/input/mpegts/linuxdvb/linuxdvb_frontend.o
CC src/input/mpegts/linuxdvb/linuxdvb_satconf.o
CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o
CC src/input/mpegts/linuxdvb/linuxdvb_switch.o
CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o
CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o
CC src/input/mpegts/satip/satip.o
CC src/input/mpegts/satip/satip_frontend.o
CC src/input/mpegts/satip/satip_satconf.o
CC src/input/mpegts/satip/satip_rtsp.o
CC src/input/mpegts/iptv/iptv.o
CC src/input/mpegts/iptv/iptv_mux.o
CC src/input/mpegts/iptv/iptv_service.o
CC src/input/mpegts/iptv/iptv_http.o
CC src/input/mpegts/iptv/iptv_udp.o
CC src/input/mpegts/iptv/iptv_rtsp.o
CC src/input/mpegts/iptv/iptv_rtcp.o
CC src/input/mpegts/iptv/iptv_pipe.o
CC src/input/mpegts/iptv/iptv_auto.o
CC src/input/mpegts/tsfile/tsfile.o
CC src/input/mpegts/tsfile/tsfile_input.o
CC src/input/mpegts/tsfile/tsfile_mux.o
CC src/timeshift.o
CC src/timeshift/timeshift_filemgr.o
CC src/timeshift/timeshift_writer.o
CC src/timeshift/timeshift_reader.o
CC src/dvr/dvr_inotify.o
CC src/avahi.o
CC src/libav.o
CC src/muxer/muxer_libav.o
CC src/plumbing/transcoding.o
src/plumbing/transcoding.c: In function ‘create_video_filter’:
src/plumbing/transcoding.c:1105:3: error: implicit declaration of function ‘avfilter_graph_parse_ptr’ [-Werror=implicit-function-declaration]
err = avfilter_graph_parse_ptr(vs
>flt_graph,
^
cc1: all warnings being treated as errors
Makefile:560: recipe for target '/home/kodi/tvheadend/build.linux/src/plumbing/transcoding.o' failed
make: *** [/home/kodi/tvheadend/build.linux/src/plumbing/transcoding.o] Error 1

History

#1

Updated by B C about 9 years ago

you made a

make distclean

#2

Updated by Jeroen Teeuw about 9 years ago

B C wrote:

you made a
[...]

i did the following

make distclean
./configure
make

but still this error :

CC src/plumbing/transcoding.o
src/plumbing/transcoding.c: In function ‘create_video_filter’:
src/plumbing/transcoding.c:1105:3: error: implicit declaration of function ‘avfilter_graph_parse_ptr’ [-Werror=implicit-function-declaration]
err = avfilter_graph_parse_ptr(vs->flt_graph,
^
cc1: all warnings being treated as errors
Makefile:560: recipe for target '/home/kodi/tvheadend/build.linux/src/plumbing/transcoding.o' failed
make: *** [/home/kodi/tvheadend/build.linux/src/plumbing/transcoding.o] Error 1

#3

Updated by Jaroslav Kysela about 9 years ago

Which ffmpeg / libav ? Version ?

#4

Updated by Manuel Lauss about 9 years ago

Your ffmpeg must be truly ancient, the function you are missing was introduced before ffmpeg-2.0 was released (over 2 years ago!)
Please update to 2.8 or configure with "--enable-libffmpeg_static"

#5

Updated by Jeroen Teeuw about 9 years ago

Manuel Lauss wrote:

Your ffmpeg must be truly ancient, the function you are missing was introduced before ffmpeg-2.0 was released (over 2 years ago!)
Please update to 2.8 or configure with "--enable-libffmpeg_static"

hi this the output from ffmpeg -version

ffmpeg version 2.5.8-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
configuration: --prefix=/usr --extra-version=0ubuntu0.15.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal --enable-libopencv --enable-librtmp --enable-libx265
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

i will try a ./configure --enable-libffmpeg_static

#6

Updated by Manuel Lauss about 9 years ago

maybe you need to install a "libavfilter-dev" package.

#7

Updated by Icarus XinHong about 9 years ago

I had the same error on my raspberry pi.

I had to uninstall all FFmpeg related libraries, git clone ffmpeg, ./configure && make && make install
Then I was able to compile tvheadend

#8

Updated by Jeroen Teeuw about 9 years ago

Icarus XinHong wrote:

I had the same error on my raspberry pi.

I had to uninstall all FFmpeg related libraries, git clone ffmpeg, ./configure && make && make install
Then I was able to compile tvheadend

that was the solution, thanks!

#9

Updated by Jeroen Teeuw about 9 years ago

case can be closed

#10

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF