View previous topic :: View next topic |
Author |
Message |
djdunn l33t
Joined: 26 Dec 2004 Posts: 810
|
Posted: Sun Sep 11, 2016 3:56 pm Post subject: Vlc-2.2.4 fails to compile with libav-11.7 (solved) |
|
|
vlc-2.2.4 fails to compile, i have libav-11.7 on ~amd64
Here is the emerge -p vlc
emerge --pretend media-video/vlc: |
These are the packages that would be merged, in order:
Calculating dependencies ....... done!
[ebuild R ] media-video/vlc-2.2.4:0/5-8::gentoo USE="X a52 aalib alsa avcodec avformat bidi cdda cddb dbus dts dvb dvbpsi dvd encode faad fdk ffmpeg flac gcrypt gme gnutls ieee1394 jpeg kate kde libass libav libnotify libsamplerate libtiger live matroska modplug mp3 mpeg mtp musepack ncurses ogg omxil opengl opus png projectm qt5 rtsp schroedinger sdl sdl-image sid skins speex svg swscale taglib theora truetype twolame udev upnp vaapi vcdx vdpau vlm vnc vorbis vpx wma-fixed x264 x265 xcb xml xv zvbi (-altivec) -atmo (-audioqueue) -bluray -chromaprint -dc1394 -debug -directfb (-directx) (-dxva2) -fluidsynth -fontconfig -gnome -growl -httpd -jack -libcaca -libtar -linsys -lirc -lua (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-media-library) (-neon) -opencv -optimisememory -postproc -pulseaudio -qt4 -rdp -run-as-root -samba -sftp -shout {-test} -tremor -v4l -zeroconf" CPU_FLAGS_X86="mmx sse" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
|
Some output from compiling
Code: |
DMODULE_STRING=\"$(p="codec/avcodec/libavcodec_plugin_la-fourcc.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -I../include -I../include -O2 -march=native -mtune=native -pipe -mfpmath=sse -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o codec/avcodec/libavcodec_plugin_la-fourcc.lo `test -f 'codec/avcodec/fourcc.c' || echo './'`codec/avcodec/fourcc.c
../doltlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="codec/avcodec/libavcodec_plugin_la-chroma.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -I../include -I../include -O2 -march=native -mtune=native -pipe -mfpmath=sse -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o codec/avcodec/libavcodec_plugin_la-chroma.lo `test -f 'codec/avcodec/chroma.c' || echo './'`codec/avcodec/chroma.c
[01m[Kcodec/avcodec/audio.c:485:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_FRONT_LEFT[m[K’ undeclared here (not in a function)
{ AV_CH_FRONT_LEFT, AOUT_CHAN_LEFT },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:486:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_FRONT_RIGHT[m[K’ undeclared here (not in a function)
{ AV_CH_FRONT_RIGHT, AOUT_CHAN_RIGHT },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:487:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_FRONT_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_FRONT_CENTER, AOUT_CHAN_CENTER },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:488:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_LOW_FREQUENCY[m[K’ undeclared here (not in a function)
{ AV_CH_LOW_FREQUENCY, AOUT_CHAN_LFE },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:489:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_BACK_LEFT[m[K’ undeclared here (not in a function)
{ AV_CH_BACK_LEFT, AOUT_CHAN_REARLEFT },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:490:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_BACK_RIGHT[m[K’ undeclared here (not in a function)
{ AV_CH_BACK_RIGHT, AOUT_CHAN_REARRIGHT },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:491:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_FRONT_LEFT_OF_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_FRONT_LEFT_OF_CENTER, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:492:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_FRONT_RIGHT_OF_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_FRONT_RIGHT_OF_CENTER, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:493:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_BACK_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_BACK_CENTER, AOUT_CHAN_REARCENTER },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:494:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_SIDE_LEFT[m[K’ undeclared here (not in a function)
{ AV_CH_SIDE_LEFT, AOUT_CHAN_MIDDLELEFT },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:495:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_SIDE_RIGHT[m[K’ undeclared here (not in a function)
{ AV_CH_SIDE_RIGHT, AOUT_CHAN_MIDDLERIGHT },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:496:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_CENTER, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:497:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_FRONT_LEFT[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_FRONT_LEFT, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:498:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_FRONT_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_FRONT_CENTER, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:499:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_FRONT_RIGHT[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_FRONT_RIGHT, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:500:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_BACK_LEFT[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_BACK_LEFT, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:501:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_BACK_CENTER[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_BACK_CENTER, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:502:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_TOP_BACK_RIGHT[m[K’ undeclared here (not in a function)
{ AV_CH_TOP_BACK_RIGHT, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:503:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_STEREO_LEFT[m[K’ undeclared here (not in a function)
{ AV_CH_STEREO_LEFT, 0 },
[01;32m[K ^[m[K
[01m[Kcodec/avcodec/audio.c:504:7:[m[K [01;31m[Kerror: [m[K‘[01m[KAV_CH_STEREO_RIGHT[m[K’ undeclared here (not in a function)
{ AV_CH_STEREO_RIGHT, 0 },
[01;32m[K ^[m[K
make[4]: *** [Makefile:7757: codec/avcodec/libavcodec_plugin_la-audio.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.4/work/vlc-2.2.4/modules'
make[3]: *** [Makefile:9656: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.4/work/vlc-2.2.4/modules'
make[2]: *** [Makefile:4530: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.4/work/vlc-2.2.4/modules'
make[1]: *** [Makefile:2265: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.4/work/vlc-2.2.4'
make: *** [Makefile:2150: all] Error 2
* ERROR: media-video/vlc-2.2.4::gentoo failed (compile phase):
* emake failed
* |
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato
Last edited by djdunn on Mon Sep 12, 2016 5:12 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sun Sep 11, 2016 4:07 pm Post subject: |
|
|
Bug _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
djdunn l33t
Joined: 26 Dec 2004 Posts: 810
|
Posted: Mon Sep 12, 2016 7:16 am Post subject: |
|
|
Thanks _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|