rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] gpac's latest SVN revision failed to build with libav 9 [sf#265] #265

Closed rbouqueau closed 10 years ago

rbouqueau commented 10 years ago

Reported by quadrispro on 2013-01-16 17:08 UTC 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 functionFFDEC_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 toavcodec_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 toavcodec_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 functionFFD_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 functionFFD_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 toav_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!

rbouqueau commented 10 years ago

Commented by jeanlf on 2013-01-30 09:37 UTC Now fixed on SVN, thanks for the report

rbouqueau commented 10 years ago

Updated by jeanlf on 2013-01-30 09:37 UTC