Project

General

Profile

Cant compile after update

Added by Anonymous over 11 years ago

I updates to latest version with transcoding support, but i cant compile anymore.

src/plumbing/transcoding.c: In function âtranscoder_get_decoderâ:
src/plumbing/transcoding.c:121: error: storage size of âcodec_idâ isnât known
src/plumbing/transcoding.c:124: error: invalid use of undefined type âenum Codec                                                                                                                                          IDâ
cc1: warnings being treated as errors
src/plumbing/transcoding.c:121: error: unused variable âcodec_idâ
src/plumbing/transcoding.c: In function âtranscoder_get_encoderâ:
src/plumbing/transcoding.c:150: error: storage size of âcodec_idâ isnât known
src/plumbing/transcoding.c:153: error: invalid use of undefined type âenum Codec                                                                                                                                          IDâ
src/plumbing/transcoding.c:150: error: unused variable âcodec_idâ
src/plumbing/transcoding.c: In function âtranscoder_stream_subtitleâ:
src/plumbing/transcoding.c:216: error: implicit declaration of function âavcodec                                                                                                                                          _openâ
src/plumbing/transcoding.c: In function âtranscoder_init_subtitleâ:
src/plumbing/transcoding.c:831: error: implicit declaration of function âavcodec                                                                                                                                          _alloc_contextâ
src/plumbing/transcoding.c:831: error: assignment makes pointer from integer wit                                                                                                                                          hout a cast
src/plumbing/transcoding.c:832: error: assignment makes pointer from integer wit                                                                                                                                          hout a cast
src/plumbing/transcoding.c: In function âtranscoder_init_audioâ:
src/plumbing/transcoding.c:923: error: assignment makes pointer from integer wit                                                                                                                                          hout a cast
src/plumbing/transcoding.c:924: error: assignment makes pointer from integer wit                                                                                                                                          hout a cast
src/plumbing/transcoding.c:938: error: âAVCODEC_MAX_AUDIO_FRAME_SIZEâ undeclared                                                                                                                                           (first use in this function)
src/plumbing/transcoding.c:938: error: (Each undeclared identifier is reported o                                                                                                                                          nly once
src/plumbing/transcoding.c:938: error: for each function it appears in.)
src/plumbing/transcoding.c: In function âtranscoder_init_videoâ:
src/plumbing/transcoding.c:1033: error: assignment makes pointer from integer wi                                                                                                                                          thout a cast
src/plumbing/transcoding.c:1034: error: assignment makes pointer from integer wi                                                                                                                                          thout a cast
src/muxer/muxer_libav.c: In function âlav_muxer_add_streamâ:
src/muxer/muxer_libav.c:76: error: invalid use of undefined type âenum CodecIDâ
make: *** [/root/tvheadend_transcode/build.linux/src/muxer/muxer_libav.o] Fehler                                                                                                                                           1
src/plumbing/transcoding.c: In function âtranscoder_get_capabilitiesâ:
src/plumbing/transcoding.c:1326: error: type of formal parameter 1 is incomplete
make: *** [/root/tvheadend_transcode/build.linux/src/plumbing/transcoding.o] Feh                                                                                                                                          ler 1


Replies (1)

RE: Cant compile after update - Added by Alex . over 11 years ago

Hi Guido,

Is this after changing the 0 to 1 in transcoding.c ?
What if you change it back, does it compile then ? Otherwise, maybe start with a fresh git clone.
(
I managed to compile with this parameter set to one, but cant seem to get the transcoding to work...)

Alex.

    (1-1/1)