Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vlc-2.2.4 fails to compile with libav-11.7 (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Sun Sep 11, 2016 3:56 pm    Post subject: Vlc-2.2.4 fails to compile with libav-11.7 (solved) Reply with quote

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
codec/avcodec/audio.c:485:7: error: ‘AV_CH_FRONT_LEFT’ undeclared here (not in a function)
     { AV_CH_FRONT_LEFT,        AOUT_CHAN_LEFT },
       ^
codec/avcodec/audio.c:486:7: error: ‘AV_CH_FRONT_RIGHT’ undeclared here (not in a function)
     { AV_CH_FRONT_RIGHT,       AOUT_CHAN_RIGHT },
       ^
codec/avcodec/audio.c:487:7: error: ‘AV_CH_FRONT_CENTER’ undeclared here (not in a function)
     { AV_CH_FRONT_CENTER,      AOUT_CHAN_CENTER },
       ^
codec/avcodec/audio.c:488:7: error: ‘AV_CH_LOW_FREQUENCY’ undeclared here (not in a function)
     { AV_CH_LOW_FREQUENCY,     AOUT_CHAN_LFE },
       ^
codec/avcodec/audio.c:489:7: error: ‘AV_CH_BACK_LEFT’ undeclared here (not in a function)
     { AV_CH_BACK_LEFT,         AOUT_CHAN_REARLEFT },
       ^
codec/avcodec/audio.c:490:7: error: ‘AV_CH_BACK_RIGHT’ undeclared here (not in a function)
     { AV_CH_BACK_RIGHT,        AOUT_CHAN_REARRIGHT },
       ^
codec/avcodec/audio.c:491:7: error: ‘AV_CH_FRONT_LEFT_OF_CENTER’ undeclared here (not in a function)
     { AV_CH_FRONT_LEFT_OF_CENTER, 0 },
       ^
codec/avcodec/audio.c:492:7: error: ‘AV_CH_FRONT_RIGHT_OF_CENTER’ undeclared here (not in a function)
     { AV_CH_FRONT_RIGHT_OF_CENTER, 0 },
       ^
codec/avcodec/audio.c:493:7: error: ‘AV_CH_BACK_CENTER’ undeclared here (not in a function)
     { AV_CH_BACK_CENTER,       AOUT_CHAN_REARCENTER },
       ^
codec/avcodec/audio.c:494:7: error: ‘AV_CH_SIDE_LEFT’ undeclared here (not in a function)
     { AV_CH_SIDE_LEFT,         AOUT_CHAN_MIDDLELEFT },
       ^
codec/avcodec/audio.c:495:7: error: ‘AV_CH_SIDE_RIGHT’ undeclared here (not in a function)
     { AV_CH_SIDE_RIGHT,        AOUT_CHAN_MIDDLERIGHT },
       ^
codec/avcodec/audio.c:496:7: error: ‘AV_CH_TOP_CENTER’ undeclared here (not in a function)
     { AV_CH_TOP_CENTER,        0 },
       ^
codec/avcodec/audio.c:497:7: error: ‘AV_CH_TOP_FRONT_LEFT’ undeclared here (not in a function)
     { AV_CH_TOP_FRONT_LEFT,    0 },
       ^
codec/avcodec/audio.c:498:7: error: ‘AV_CH_TOP_FRONT_CENTER’ undeclared here (not in a function)
     { AV_CH_TOP_FRONT_CENTER,  0 },
       ^
codec/avcodec/audio.c:499:7: error: ‘AV_CH_TOP_FRONT_RIGHT’ undeclared here (not in a function)
     { AV_CH_TOP_FRONT_RIGHT,   0 },
       ^
codec/avcodec/audio.c:500:7: error: ‘AV_CH_TOP_BACK_LEFT’ undeclared here (not in a function)
     { AV_CH_TOP_BACK_LEFT,     0 },
       ^
codec/avcodec/audio.c:501:7: error: ‘AV_CH_TOP_BACK_CENTER’ undeclared here (not in a function)
     { AV_CH_TOP_BACK_CENTER,   0 },
       ^
codec/avcodec/audio.c:502:7: error: ‘AV_CH_TOP_BACK_RIGHT’ undeclared here (not in a function)
     { AV_CH_TOP_BACK_RIGHT,    0 },
       ^
codec/avcodec/audio.c:503:7: error: ‘AV_CH_STEREO_LEFT’ undeclared here (not in a function)
     { AV_CH_STEREO_LEFT,       0 },
       ^
codec/avcodec/audio.c:504:7: error: ‘AV_CH_STEREO_RIGHT’ undeclared here (not in a function)
     { AV_CH_STEREO_RIGHT,      0 },
       ^
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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Sep 11, 2016 4:07 pm    Post subject: Reply with quote

Bug
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Mon Sep 12, 2016 7:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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