2014-09-16, 19:31
Hi,
I'm trying to compile but no success. Configure output:
There is no any libiconv in debian or ubuntu. There is libiconv-hook I assumed it;s the same so I installed it and tried to compile. Unfortunately, it doesn't compile:
Please tell mi WHAT IS ICONV? Where to get it (sources?) or maybe problem is in anything else? If you used some not widely available libraries, didn't you consider to add it to your code?
I'm trying to compile but no success. Configure output:
Code:
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
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok
checking for pkg liburiparser ... ok
checking for pkg avahi-client ... ok
checking for pkg libavcodec >=52.96.0 ... ok
checking for pkg libavutil >=50.43.0 ... ok
checking for pkg libavformat >=53.10.0 ... ok
checking for pkg libswscale >=0.13.0 ... ok
checking for cc sys/inotify.h ... ok
fetching dvb-scan files ... ok
checking for pkg dbus-1 ... ok
There is no any libiconv in debian or ubuntu. There is libiconv-hook I assumed it;s the same so I installed it and tried to compile. Unfortunately, it doesn't compile:
Code:
CC src/descrambler/ffdecsa/ffdecsa_interface.o
src/plumbing/transcoding.c: In function ‘transcoder_stream_audio’:
src/plumbing/transcoding.c:309:3: error: implicit declaration of function ‘avcodec_decode_audio3’ [-Werror=implicit-function-declaration]
if ((length = avcodec_decode_audio3(ictx, samples, &len, &packet)) <= 0) {
^
src/plumbing/transcoding.c:411:5: error: implicit declaration of function ‘avcodec_encode_audio’ [-Werror=implicit-function-declaration]
length = avcodec_encode_audio(octx,
^
src/plumbing/transcoding.c: In function ‘transcoder_stream_video’:
src/plumbing/transcoding.c:673:3: error: implicit declaration of function ‘avcodec_encode_video’ [-Werror=implicit-function-declaration]
length = avcodec_encode_video(octx, out, len, vs->vid_enc_frame);
^
CC src/descrambler/ffdecsa/ffdecsa_int.o
CC src/descrambler/ffdecsa/ffdecsa_mmx.o
CC src/descrambler/ffdecsa/ffdecsa_sse2.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
CC src/version.o
cc1: all warnings being treated as errors
Makefile:367: polecenia dla obiektu '/home/michal/tvheadend/tvheadend/build.linux/src/plumbing/transcoding.o' nie powiodły się
make: *** [/home/michal/tvheadend/tvheadend/build.linux/src/plumbing/transcoding.o] Błąd 1
make: *** Oczekiwanie na niezakończone zadania....
Please tell mi WHAT IS ICONV? Where to get it (sources?) or maybe problem is in anything else? If you used some not widely available libraries, didn't you consider to add it to your code?