[MPlayer-users] [BUG] Compile with ICC 10.1
Dmitry Leonenko
dmitry.leonenko at gmail.com
Tue Jan 29 19:32:20 CET 2008
Guillaume POIRIER wrote:
> Hello,
>
> On Jan 27, 2008 3:01 PM, Reimar Döffinger
> <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
>
>> Hello,
>>
>> On Sun, Jan 27, 2008 at 02:18:13PM +0100, Reimar Döffinger wrote:
>>
>>> On Sun, Jan 27, 2008 at 04:55:48PM +0200, Dmitry Leonenko wrote:
>>>
>>>> /tmp/iccEjtHhKas_.s: Assembler messages:
>>>> /tmp/iccEjtHhKas_.s:3362: Error: junk `(%rip)' after expression
>>>> /tmp/iccEjtHhKas_.s:3439: Error: junk `(%rip)' after expression
>>>> /tmp/iccEjtHhKas_.s:3534: Error: junk `(%rip)' after expression
>>>> /tmp/iccEjtHhKas_.s:3625: Error: junk `(%rip)' after expression
>>>> make[1]: *** [vf_fspp.o] Error 1
>>>> make[1]: Leaving directory `/tmp/mplayer/libmpcodecs'
>>>> make: *** [libmpcodecs/libmpcodecs.a] Error 2
>>>>
>>>> ----------------------------------------
>>>> Any ideas?
>>>>
>>> I do not have 64 bit ICC, so you'd have to find out what exactly is the
>>> problem (e.g. by getting the contents of that /tmp/iccEjtHhKas_.s file (you can
>>> probably get it by telling icc to compile to a .s files instead of .o,
>>> but I do not know for sure how that is done)).
>>>
>> I tested with 64 bit and I have no such problem with ICC 10.1.008 (was
>> too lazy to download a newer version).
>> But my previous patch was incomplete, here is the complete one.
>> Do not forget to make distclean and reconfigure after changing
>> something, just to be sure (it should not really be necessary most of
>> the time).
>>
>
> I have some errors at the linking stage:
>
> icc-10.1.011 -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o
> mixer.o parser-mpcmd.o command.o asxparser.o codec-cfg.o cpudetect.o
> edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o
> mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o
> subopt-helper.o subreader.o vobsub.o unrar_exec.o libvo/libvo.a
> libao2/libao2.a input/libinput.a vidix/libvidix.a
> libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
> stream/stream.a libswscale/libswscale.a libvo/libosd.a
> libavformat/libavformat.a libavcodec/libavcodec.a
> libavutil/libavutil.a libpostproc/libpostproc.a mp3lib/libmp3.a
> liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a
> tremor/libvorbisidec.a dvdread/libdvdread.a libdvdcss/libdvdcss.a
> libass/libass.a osdep/libosdep.a -lXext -lX11 -lpthread -lXv
> -lXinerama -lGL -lvga -lSDL -laudio -lXt -ldl -lartsc -lpthread
> -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lesd -laudiofile -lm
> -ljack -L/usr/lib -L/usr/lib -L/usr/lib -Wl,-z,noexecstack
> -lncurses -lpng -lz -ljpeg -lasound -lpthread -lfreetype -lz
> -lfontconfig -lz -lmad -lspeex -ldts -lpthread -rdynamic -lm
> libmpcodecs/libmpcodecs.a(vf_fspp.o): In function `filter':
> vf_fspp.c:(.text+0xf09): undefined reference to `temps'
> vf_fspp.c:(.text+0xf14): undefined reference to `temps'
> vf_fspp.c:(.text+0xf57): undefined reference to `MM_FIX_0_707106781'
> vf_fspp.c:(.text+0xf7a): undefined reference to `temps'
> vf_fspp.c:(.text+0xfb3): undefined reference to `temps'
> ...
>
Try to compile without "-ipo" and with "make -j1"
More information about the MPlayer-users
mailing list