On 12/30/2014 04:57 AM, Dale wrote:
> Howdy,
>
> I been running into this issue for a while now.  Anyone else run into
> this?  Nothing on the forums and google ain't no help either.  Last part
> of the build log below.
>
> <snip>
> x86_64-pc-linux-gnu-gcc -O3  -march=native -O2 -pipe -Wall
> -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden"
> -DGPAC_HAVE_CONFIG_H
> -I"/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac"
> -Wno-deprecated-declarations
> -I"/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac/include"
> -I/usr/include -c -o ffmpeg_load.o ffmpeg_load.c
> ffmpeg_demux.c: In function ‘FFD_CanHandleURL’:
> ffmpeg_demux.c:341:5: warning: implicit declaration of function
> ‘av_close_input_file’ [-Wimplicit-function-declaration]
>      if (ctx) av_close_input_file(ctx);
>      ^
> x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed
> -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_ffmpeg_in.so
> ffmpeg_decode.o ffmpeg_demux.o ffmpeg_load.o -L../../bin/gcc  -lgpac -lz
> -L/usr/lib -lavcodec -lavformat -lswscale -lavutil  -lswscale -lm
> ffmpeg_demux.o: In function `FFD_ConnectService':
> ffmpeg_demux.c:(.text+0xa4b): undefined reference to `av_close_input_file'
> ffmpeg_demux.c:(.text+0xe7f): undefined reference to `av_close_input_file'
> ffmpeg_demux.o: In function `FFD_CloseService':
> ffmpeg_demux.c:(.text+0x1198): undefined reference to `av_close_input_file'
> ffmpeg_demux.o: In function `FFD_CanHandleURL.part.1':
> ffmpeg_demux.c:(.text+0x1d8a): undefined reference to `av_close_input_file'
> collect2: error: ld returned 1 exit status
> Makefile:63: recipe for target 'gm_ffmpeg_in.so' failed
> make[2]: *** [gm_ffmpeg_in.so] Error 1
> make[2]: Leaving directory
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac/modules/ffmpeg_in'
> Makefile:120: recipe for target 'plugs' failed
> make[1]: *** [plugs] Error 2
> make[1]: Leaving directory
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac/modules'
> Makefile:9: recipe for target 'all' failed
> make: *** [all] Error 2
>  * ERROR: media-video/gpac-0.5.0-r1::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info
> '=media-video/gpac-0.5.0-r1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=media-video/gpac-0.5.0-r1::gentoo'`.
>  * The complete build log is located at
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/temp/environment'.
>  * Working directory: '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac'
>  * S: '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac'
>  *
>  * The following package has failed to build or install:
>  *
>  *  (media-video/gpac-0.5.0-r1:0/0::gentoo, ebuild scheduled for merge),
> Log file:
>  *   '/var/tmp/portage/media-video/gpac-0.5.0-r1/temp/build.log'
>  *
> root@fireball / #
>
>
> Any ideas?
>
> Thanks.
>
> Dale
>
> :-)  :-)
>

Just guessing here, but do you have libav installed and not ffmpeg? I
compiled with USE="ffmpeg" (plus default flags) and it built and
installed for me, and I have ffmpeg installed.

Alec

Reply via email to