[MPlayer-users] Re: Failed in compiling 1.0rc1
Enzo
v.deflorio at katamail.com
Wed Nov 1 18:00:58 CET 2006
I encountered a similar problem when compiling 1.0rc1 under cygwin.
Apparently our systems do not provide "long long" versions of rint, if
I'm not mistaken. I changed llrint into lrint and the problem got solved
(I know, it's a dirty trick...)
Enzo
>
> Hi, All,
>
> I download MPlayer-1.0rc1 and compiled under uclinux of blackfin.
> Encounter the following problem as follows. Anyone has idea on this.
>
> mapping0.c: In function `mapping0_inverse':
> mapping0.c:300: warning: passing arg 2 of `_vorbis_apply_window' from
> incompatible pointer type
> bfin-uclinux-gcc: : linker input file unused because linking not done
> bfin-uclinux-gcc -c -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I. -I..
> -o mdct.o mdct.c
> bfin-uclinux-gcc: : linker input file unused because linking not done
> bfin-uclinux-gcc -c -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I. -I..
> -o registry.o registry.c
> bfin-uclinux-gcc: : linker input file unused because linking not done
> bfin-uclinux-gcc -c -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I. -I..
> -o res012.o res012.c
> bfin-uclinux-gcc: : linker input file unused because linking not done
> bfin-uclinux-gcc -c -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I. -I..
> -o sharedbook.o sharedbook.c
> bfin-uclinux-gcc: : linker input file unused because linking not done
> bfin-uclinux-gcc -c -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I. -I..
> -o synthesis.o synthesis.c
> bfin-uclinux-gcc: : linker input file unused because linking not done
> bfin-uclinux-gcc -c -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I. -I..
> -o window.o window.c
> bfin-uclinux-gcc: : linker input file unused because linking not done
> ar r libvorbisidec.a bitwise.o block.o codebook.o floor0.o floor1.o
> framing.o info.o mapping0.o mdct.o registry.o res012.o sharedbook.o
> synthesis.o window.o
> ranlib libvorbisidec.a
> make[1]: Leaving directory
> `/home/tony/Desktop/tony/project/mp3/mplayer/blackfin/MPlayer-1.0rc1/tremor'
>
> bfin-uclinux-gcc -Wdeclaration-after-statement -Wl, -elf2flt -O4
> -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -I.
> -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o
> mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o
> m_config.o m_option.o m_struct.o parser-cfg.o playtree.o
> playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o
> mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a
> input/libinput.a libmpcodecs/libmpcodecs.a libaf/libaf.a
> libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a
> osdep/libosdep.a -Wl,-z,noexecstack libavformat/libavformat.a
> libavcodec/libavcodec.a libavutil/libavutil.a
> libpostproc/libpostproc.a -static -lpthread -lm
> libfaad2/libfaad2.a liba52/liba52.a libmpeg2/libmpeg2.a
> tremor/libvorbisidec.a -static
> mplayer.elf2flt(.text+0x14acb6): In function `_decode_init':
> mpegaudiodec.c: undefined reference to `_llrint'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
More information about the MPlayer-users
mailing list