Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot compile media-libs/mlt [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Fri Oct 11, 2013 9:10 pm    Post subject: Cannot compile media-libs/mlt [SOLVED] Reply with quote

Regardless of what use flags I change:

Code:

consumer_avformat.c: In function 'write_transmitter':
consumer_avformat.c:1079:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
consumer_avformat.c: In function 'consumer_thread':
consumer_avformat.c:1604:8: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4209) [-Wdeprecated-declarations]
consumer_avformat.c:1671:8: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4209) [-Wdeprecated-declarations]
consumer_avformat.c:1811:8: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4272) [-Wdeprecated-declarations]
consumer_avformat.c:1897:5: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4209) [-Wdeprecated-declarations]
consumer_avformat.c:1900:5: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4209) [-Wdeprecated-declarations]
consumer_avformat.c:1927:4: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4272) [-Wdeprecated-declarations]
x86_64-pc-linux-gnu-gcc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed    -lavformat -lavcodec -lavutil  -lswscale -lavdevice
make[2]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2/src/modules/avformat'
make[2]: Entering directory `/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2/src/modules/lumas'
x86_64-pc-linux-gnu-gcc -march=amdfam10 -O3 -ftracer -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread    luma.c   -o luma
luma.c: In function 'main':
luma.c:444:9: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result]
luma.c:456:9: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result]
luma.c: In function 'luma_render':
luma.c:92:11: internal compiler error: in build2_stat, at tree.c:3803
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [luma] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2/src/modules/lumas'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2/src/modules'
make: *** [all] Error 1


What's luma and why is it throwing an error?

EDIT:

Solved by switching gcc to 4.7.3. Don't know why that's important, but leaving this post up in case it helps someone else.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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