Project

General

Profile

Bug #3308

Error while compiling (transcoder)

Added by Pfeiffer Martin about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:
Found in version:
now
Affected Versions:

Description

CC src/muxer/muxer_libav.o
CC src/plumbing/transcoding.o
src/plumbing/transcoding.c: In function ‘create_video_filter’:
src/plumbing/transcoding.c:1093:3: error: implicit declaration of function ‘av_opt_set_int_list’ [-Werror=implicit-function-declaration]
err = av_opt_set_int_list(vs->flt_bufsinkctx, "pix_fmts", pix_fmts,
^
src/plumbing/transcoding.c:1115: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:566: recipe for target '/home/martin/tvheadend/build.linux/src/plumbing/transcoding.o' failed
make2: * [/home/martin/tvheadend/build.linux/src/plumbing/transcoding.o] Error 1
make2: Leaving directory '/home/martin/tvheadend'
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make1:
[override_dh_auto_build] Error 2
make1: Leaving directory '/home/martin/tvheadend'
debian/rules:5: recipe for target 'build' failed
make: *
* [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

root@stream:/home/martin/tvheadend# uname -a
Linux stream 4.1.0-rc7-armv7-x0 #1 SMP Tue Jun 9 13:41:16 UTC 2015 armv7l GNU/Linux

debian jessie

Compiling with autobuild is not working at the moment... i think it is some version issues of ffmpeg.

History

#1

Updated by Mark Clarkstone about 9 years ago

Pfeiffer Martin wrote:

CC src/muxer/muxer_libav.o
CC src/plumbing/transcoding.o
src/plumbing/transcoding.c: In function ‘create_video_filter’:
src/plumbing/transcoding.c:1093:3: error: implicit declaration of function ‘av_opt_set_int_list’ [-Werror=implicit-function-declaration]
err = av_opt_set_int_list(vs->flt_bufsinkctx, "pix_fmts", pix_fmts,

src/plumbing/transcoding.c:1115: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:566: recipe for target '/home/martin/tvheadend/build.linux/src/plumbing/transcoding.o' failed
make2: * [/home/martin/tvheadend/build.linux/src/plumbing/transcoding.o] Error 1
make2: Leaving directory '/home/martin/tvheadend'
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make1:
[override_dh_auto_build] Error 2
make1: Leaving directory '/home/martin/tvheadend'
debian/rules:5: recipe for target 'build' failed
make: *
* [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

root@stream:/home/martin/tvheadend# uname -a
Linux stream 4.1.0-rc7-armv7-x0 #1 SMP Tue Jun 9 13:41:16 UTC 2015 armv7l GNU/Linux

debian jessie

Compiling with autobuild is not working at the moment... i think it is some version issues of ffmpeg.

I ran into the same error ages ago, delete the libav_static folder.

#2

Updated by B C about 9 years ago

make distclean

should do it as well

#3

Updated by Pfeiffer Martin about 9 years ago

oh thanks, both seems to help. Now compiled! Thanks!

#4

Updated by Mark Clarkstone about 9 years ago

  • Status changed from New to Invalid
  • Assignee deleted (John Törnblom)

Closing ticket - Glad you got it working :)

Also available in: Atom PDF