Project

General

Profile

Bug #2389

Problem with compilation libavutil

Added by Petar Ivanov about 10 years ago. Updated about 10 years ago.

Status:
Invalid
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2014-10-16
Due date:
% Done:

0%

Estimated time:
Found in version:
v3.9.1871
Affected Versions:

Description

Compiler:
Using C compiler: cc
Build for arch: x86_64

Binaries:
Using PYTHON: python

Options:
cwc yes
capmt yes
constcw yes
v4l no
linuxdvb yes
satip_client no
hdhomerun_client no
hdhomerun_static no
iptv yes
tsfile yes
dvbscan no
timeshift yes
trace yes
imagecache no
avahi yes
zlib yes
libav yes
libffmpeg_static no
inotify yes
epoll yes
uriparser no
ccache no
tvhcsa yes
bundle no
dvbcsa no
kqueue no
dbus_1 yes
android no
execinfo yes
mmx yes
sse2 yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
recvmmsg yes
py_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
inotify_h yes
mpegts yes
mpegps no
mpegts_dvb yes

Packages:
openssl 1.0.1i-dev
zlib 1.2.8
avahi-client 0.6.31
libavcodec 56.5.0
libavutil 54.4.0
libavformat 56.6.0
libswscale 3.0.0
libavresample 2.1.0
dbus-1 1.8.2

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

tvheadend# make
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/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_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/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/api.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/parsers/parsers.o
CC src/parsers/parser_h264.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/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_tvh.o
CC src/muxer/tvh/mkmux.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_input.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/tsdemux.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/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/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/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
CC src/descrambler/tvhcsa.o
CC src/descrambler/cwc.o
CC src/descrambler/capmt.o
CC src/descrambler/constcw.o
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
CC tvheadend
/usr/bin/ld: warning: libavutil.so.53, needed by /usr/local/lib/libavresample.so, may conflict with libavutil.so.51
/usr/bin/ld: warning: libavutil.so.53, needed by /usr/local/lib/libavresample.so, may conflict with libavutil.so.51
/usr/bin/ld: warning: libavutil.so.53, needed by /usr/local/lib/libavresample.so, may conflict with libavutil.so.51
/usr/bin/ld: warning: libavutil.so.53, needed by /usr/local/lib/libavresample.so, may conflict with libavutil.so.51
/usr/bin/ld: warning: libavutil.so.53, needed by /usr/local/lib/libavresample.so, may conflict with libavutil.so.51
/usr/bin/ld: /home/ditev/newtvhead/tvheadtrans/tvheadend/build.linux/src/plumbing/transcoding.o: undefined reference to symbol 'av_frame_free@@LIBAVUTIL_53'
//usr/local/lib/libavutil.so.53: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:401: recipe for target '/home/ditev/newtvhead/tvheadtrans/tvheadend/build.linux/tvheadend' failed
make: *** [/home/ditev/newtvhead/tvheadtrans/tvheadend/build.linux/tvheadend] Error 1

History

#1

Updated by Petar Ivanov about 10 years ago

Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... 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 recvmmsg ... ok
checking for cc libiconv ... fail
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.0.1i-dev)
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 ... fail (detected <none>)
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.5.0)
checking for pkg libavutil >=53.3.0 ... ok (detected 54.4.0)
checking for pkg libavformat >=55.12.0 ... ok (detected 56.6.0)
checking for pkg libswscale >=2.1.2 ... ok (detected 3.0.0)
checking for pkg libavresample >=1.1.0 ... ok (detected 2.1.0)
checking for cc sys/inotify.h ... ok
checking for pkg dbus-1 ... ok (detected 1.8.2)

#2

Updated by Petar Ivanov about 10 years ago

Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... 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 recvmmsg ... ok
checking for cc libiconv ... fail
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.0.1i-dev)
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 ... fail (detected <none>)
checking for pkg avahi-client ... ok (detected 0.6.31)
checking for ffmpeg libraries ... ok
checking for pkg libavcodec >=55.18.102 ... ok (detected 56.8.100)
checking for pkg libavutil >=52.38.100 ... ok (detected 54.10.100)
checking for pkg libavformat >=55.12.100 ... ok (detected 56.9.100)
checking for pkg libswscale >=2.3.100 ... ok (detected 3.1.101)
checking for pkg libavresample >=1.1.0 ... ok (detected 2.1.0)
checking for cc sys/inotify.h ... ok
checking for pkg dbus-1 ... ok (detected 1.8.2)

Compiler:
Using C compiler: cc
Build for arch: x86_64

Binaries:
Using PYTHON: python

Options:
cwc yes
capmt yes
constcw yes
v4l no
linuxdvb yes
satip_client no
hdhomerun_client no
hdhomerun_static no
iptv yes
tsfile yes
dvbscan no
timeshift yes
trace yes
imagecache no
avahi yes
zlib yes
libav yes
libffmpeg_static no
inotify yes
epoll yes
uriparser no
ccache no
tvhcsa yes
bundle no
dvbcsa no
kqueue no
dbus_1 yes
android no
execinfo yes
mmx yes
sse2 yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
recvmmsg yes
py_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
inotify_h yes
mpegts yes
mpegps no
mpegts_dvb yes

Packages:
openssl 1.0.1i-dev
zlib 1.2.8
avahi-client 0.6.31
libavcodec 56.8.100
libavutil 54.10.100
libavformat 56.9.100
libswscale 3.1.101
libavresample 2.1.0
dbus-1 1.8.2

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

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

Tvheadend Data Directory:
/usr/local/share/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/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_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/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/api.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/parsers/parsers.o
CC src/parsers/parser_h264.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/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_tvh.o
CC src/muxer/tvh/mkmux.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_input.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/tsdemux.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/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/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/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
CC src/descrambler/tvhcsa.o
CC src/descrambler/cwc.o
CC src/descrambler/capmt.o
CC src/descrambler/constcw.o
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
CC tvheadend
/home/user/tvheadend/build.linux/src/libav.o: In function `libav_is_encoder':
/home/user/tvheadend/src/libav.c:173: undefined reference to `av_codec_is_encoder'
/home/user/tvheadend/build.linux/src/plumbing/transcoding.o: In function `transcoder_stream_video':
/home/user/tvheadend/src/plumbing/transcoding.c:1083: undefined reference to `avcodec_encode_video2'
collect2: error: ld returned 1 exit status
Makefile:401: recipe for target '/home/user/tvheadend/build.linux/tvheadend' failed
make: *** [/home/user/tvheadend/build.linux/tvheadend] Error 1

#3

Updated by Petar Ivanov about 10 years ago

DFLAGS
LDFLAGS +=
LDFLAGS += -lssl -lcrypto
LDFLAGS += -L/usr/lib/x86_64-linux-gnu -lz
LDFLAGS += -lavahi-common -lavahi-client
LDFLAGS += -L/usr/local/lib -lavcodec -lva -lX11 -lm -lz -pthread -lswresample -lm -lavutil -lm
LDFLAGS += -L/usr/local/lib -lavutil -lm
LDFLAGS += -L/usr/local/lib -lavformat -lva -lX11 -lm -lz -pthread -lavcodec -lva -lX11 -lm -lz -pthread -lswresample -lm -lavutil -lm
LDFLAGS += -L/usr/local/lib -lswscale -lm -lavutil -lm
LDFLAGS += -L/usr/local/lib -lavresample -lm -lavutil -lm
LDFLAGS += -ldbus-1

#4

Updated by Jaroslav Kysela about 10 years ago

  • Status changed from New to Invalid

It does not seem like a tvh issue.. It's a wrong combination of packages installed in the system...

Also available in: Atom PDF