[MPlayer-users] [BUG] Compile with ICC 10.1

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jan 27 11:53:35 CET 2008


Hi!

Dmitry Leonenko <dmitry.leonenko <at> gmail.com> writes:

> Hi. I'm trying to compile mplayer (mencoder actually) from Gentoo 
> portage (mplayer-1.0_rc2_p24929) with Intel C/C++ compiler version 10.1.008.

You need a 10.1.011 at least, but you have to make a few changes to libavcodec:
icc doesn't understand attribute_used, so you have to remove "static" from the
declaration of those variables. Since that leads to name space conflicts, you
will finally have to rename some of those variables.

Carl Eugen

PS: Note that this is not considered a bug, icc compilation probably won't be
supported as long as they don't support attribute_used.





More information about the MPlayer-users mailing list