1 |
On 12/30/2014 04:57 AM, Dale wrote: |
2 |
> Howdy, |
3 |
> |
4 |
> I been running into this issue for a while now. Anyone else run into |
5 |
> this? Nothing on the forums and google ain't no help either. Last part |
6 |
> of the build log below. |
7 |
> |
8 |
> <snip> |
9 |
> x86_64-pc-linux-gnu-gcc -O3 -march=native -O2 -pipe -Wall |
10 |
> -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden" |
11 |
> -DGPAC_HAVE_CONFIG_H |
12 |
> -I"/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac" |
13 |
> -Wno-deprecated-declarations |
14 |
> -I"/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac/include" |
15 |
> -I/usr/include -c -o ffmpeg_load.o ffmpeg_load.c |
16 |
> ffmpeg_demux.c: In function ‘FFD_CanHandleURL’: |
17 |
> ffmpeg_demux.c:341:5: warning: implicit declaration of function |
18 |
> ‘av_close_input_file’ [-Wimplicit-function-declaration] |
19 |
> if (ctx) av_close_input_file(ctx); |
20 |
> ^ |
21 |
> x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed |
22 |
> -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_ffmpeg_in.so |
23 |
> ffmpeg_decode.o ffmpeg_demux.o ffmpeg_load.o -L../../bin/gcc -lgpac -lz |
24 |
> -L/usr/lib -lavcodec -lavformat -lswscale -lavutil -lswscale -lm |
25 |
> ffmpeg_demux.o: In function `FFD_ConnectService': |
26 |
> ffmpeg_demux.c:(.text+0xa4b): undefined reference to `av_close_input_file' |
27 |
> ffmpeg_demux.c:(.text+0xe7f): undefined reference to `av_close_input_file' |
28 |
> ffmpeg_demux.o: In function `FFD_CloseService': |
29 |
> ffmpeg_demux.c:(.text+0x1198): undefined reference to `av_close_input_file' |
30 |
> ffmpeg_demux.o: In function `FFD_CanHandleURL.part.1': |
31 |
> ffmpeg_demux.c:(.text+0x1d8a): undefined reference to `av_close_input_file' |
32 |
> collect2: error: ld returned 1 exit status |
33 |
> Makefile:63: recipe for target 'gm_ffmpeg_in.so' failed |
34 |
> make[2]: *** [gm_ffmpeg_in.so] Error 1 |
35 |
> make[2]: Leaving directory |
36 |
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac/modules/ffmpeg_in' |
37 |
> Makefile:120: recipe for target 'plugs' failed |
38 |
> make[1]: *** [plugs] Error 2 |
39 |
> make[1]: Leaving directory |
40 |
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac/modules' |
41 |
> Makefile:9: recipe for target 'all' failed |
42 |
> make: *** [all] Error 2 |
43 |
> * ERROR: media-video/gpac-0.5.0-r1::gentoo failed (compile phase): |
44 |
> * emake failed |
45 |
> * |
46 |
> * If you need support, post the output of `emerge --info |
47 |
> '=media-video/gpac-0.5.0-r1::gentoo'`, |
48 |
> * the complete build log and the output of `emerge -pqv |
49 |
> '=media-video/gpac-0.5.0-r1::gentoo'`. |
50 |
> * The complete build log is located at |
51 |
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/temp/build.log'. |
52 |
> * The ebuild environment file is located at |
53 |
> '/var/tmp/portage/media-video/gpac-0.5.0-r1/temp/environment'. |
54 |
> * Working directory: '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac' |
55 |
> * S: '/var/tmp/portage/media-video/gpac-0.5.0-r1/work/gpac' |
56 |
> * |
57 |
> * The following package has failed to build or install: |
58 |
> * |
59 |
> * (media-video/gpac-0.5.0-r1:0/0::gentoo, ebuild scheduled for merge), |
60 |
> Log file: |
61 |
> * '/var/tmp/portage/media-video/gpac-0.5.0-r1/temp/build.log' |
62 |
> * |
63 |
> root@fireball / # |
64 |
> |
65 |
> |
66 |
> Any ideas? |
67 |
> |
68 |
> Thanks. |
69 |
> |
70 |
> Dale |
71 |
> |
72 |
> :-) :-) |
73 |
> |
74 |
|
75 |
Just guessing here, but do you have libav installed and not ffmpeg? I |
76 |
compiled with USE="ffmpeg" (plus default flags) and it built and |
77 |
installed for me, and I have ffmpeg installed. |
78 |
|
79 |
Alec |