#265 gpac's latest SVN revision failed to build with libav 9

closed-fixed
nobody
None
5
2013-01-30
2013-01-16
quadrispro
No

Hi,

gpac failed to build against the libav's latest release (9) on Debian experimental, an excerpt of the buildlog follows:

make[3]: Entering directory `/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in'
CC ffmpeg_decode.c
ffmpeg_decode.c: In function 'FFDEC_AttachStream':
ffmpeg_decode.c:173:4: warning: implicit declaration of function 'avcodec_alloc_context' [-Wimplicit-function-declaration]
ffmpeg_decode.c:173:9: warning: assignment makes pointer from integer without a cast [enabled by default]
ffmpeg_decode.c:321:3: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
CC ffmpeg_demux.c
ffmpeg_demux.c: In function 'FFD_CanHandleURL':
ffmpeg_demux.c:295:5: warning: implicit declaration of function 'av_find_stream_info' [-Wimplicit-function-declaration]
ffmpeg_demux.c: In function 'FFD_ConnectService':
ffmpeg_demux.c:622:4: warning: implicit declaration of function 'av_open_input_stream' [-Wimplicit-function-declaration]
CC ffmpeg_load.c
ffmpeg_decode.o: In function `FFDEC_ProcessData':
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_decode.c:758: undefined reference to `avcodec_open'
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_decode.c:768: undefined reference to `avcodec_open'
ffmpeg_decode.o: In function `FFDEC_AttachStream':
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_decode.c:321: undefined reference to `avcodec_open'
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_decode.c:173: undefined reference to `avcodec_alloc_context'
ffmpeg_demux.o: In function `FFD_CanHandleURL':
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_demux.c:295: undefined reference to `av_find_stream_info'
ffmpeg_demux.o: In function `FFD_ConnectService':
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_demux.c:642: undefined reference to `av_find_stream_info'
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_demux.c:622: undefined reference to `av_open_input_stream'
/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in/ffmpeg_demux.c:705: undefined reference to `av_find_stream_info'
collect2: error: ld returned 1 exit status
make[3]: *** [gm_ffmpeg_in.so] Error 1
make[3]: Leaving directory `/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules/ffmpeg_in'
make[2]: *** [plugs] Error 2
make[2]: Leaving directory `/tmp/buildd/gpac-0.5.0+svn4281~dfsg1/modules'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/gpac-0.5.0+svn4281~dfsg1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

As a small aside, this bug was originally reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693159

I hope to hear from you soon, cheers!

Discussion

  • Jean Le Feuvre
    Jean Le Feuvre
    2013-01-30

    • status: open --> closed-fixed
     
  • Jean Le Feuvre
    Jean Le Feuvre
    2013-01-30

    Now fixed on SVN, thanks for the report