[MPlayer-users] Mplayer got "stuck" when playing song

Arthur Chiu arthurchiu at gmail.com
Fri Oct 7 19:11:29 CEST 2005


When i am trying to recompile it using host-cc=gcc, I got the following
error. It seems to be libraries problem, but I'm not sure what's wrong...

gcc -I. -g codec-cfg.c mp_msg.c -o codec-cfg -DCODECS2HTML
-L/home/mediadev/Arthur/blackWidow/libmad-configure/usr/local/lib
-L/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/lib
-L/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib
-I/home/mediadev/Arthur/blackWidow/libmad-configure/usr/local/include
-I/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/include
-I/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/include
-I/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3
/mipsel-linux-uclibc/include/g++-v3
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libgcc_s.so
when searching for -lgcc_s
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libc.so
when searching for -lc
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libc.a
when searching for -lc
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libgcc_s.so
when searching for -lgcc_s
/tmp/cc6qcwna.o(.text+0x589): In function `validate_codec':
/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-1.0pre7try2/codec-
cfg.c:321: undefined reference to `__ctype_b'
/tmp/cc6qcwna.o(.text+0x867): In function `get_token':
/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-1.0pre7try2/codec-
cfg.c:438: undefined reference to `__ctype_b'
/tmp/cc6qcwna.o(.text+0x944):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:454: undefined reference to `__ctype_b'
/tmp/cc6qcwna.o(.text+0x1d89): In function `wrapline':
/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-1.0pre7try2/codec-
cfg.c:894: undefined reference to `__fputc_unlocked'
/tmp/cc6qcwna.o(.text+0x1de5): In function `parsehtml':
/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-1.0pre7try2/codec-
cfg.c:900: undefined reference to `__fgetc_unlocked'
/tmp/cc6qcwna.o(.text+0x1e52):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:902: undefined reference to `__fputc_unlocked'
/tmp/cc6qcwna.o(.text+0x1ea9):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:905: undefined reference to `__fgetc_unlocked'
/tmp/cc6qcwna.o(.text+0x2175):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:940: undefined reference to `__fputc_unlocked'
/tmp/cc6qcwna.o(.text+0x21cb):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:941: undefined reference to `__fputc_unlocked'
/tmp/cc6qcwna.o(.text+0x222a): In function `skiphtml':
/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-1.0pre7try2/codec-
cfg.c:949: undefined reference to `__fgetc_unlocked'
/tmp/cc6qcwna.o(.text+0x228e):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:953: undefined reference to `__fgetc_unlocked'
/tmp/cc6qcwna.o(.text+0x2a92): In function `main':
/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-1.0pre7try2/codec-
cfg.c:1071: undefined reference to
`__fgetc_unlocked'/tmp/cc6qcwna.o(.text+0x2aff):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:1073: undefined reference to `__fputc_unlocked'
/tmp/cc6qcwna.o(.text+0x2b56):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:1076: undefined reference to `__fgetc_unlocked'
/tmp/cc6qcwna.o(.text+0x2e5d):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:1135: undefined reference to `__fputc_unlocked'
/tmp/cc6qcwna.o(.text+0x2eb3):/home/mediadev/Arthur/blackWidow/MPlayer-mips/MPlayer-
1.0pre7try2/codec-cfg.c:1136: undefined reference to `__fputc_unlocked'
collect2: ld returned 1 exit status
make: *** [codec-cfg] Error 1

These few lines goes away if I take away the library paths to the cross
compiling toolchain.
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libgcc_s.so
when searching for -lgcc_s
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libc.so
when searching for -lc
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libc.a
when searching for -lc
/usr/bin/ld: skipping incompatible
/home/mediadev/Arthur/blackWidow/opt/toolchains/uclibc-crosstools-2.4.3/mipsel-linux-uclibc/lib/libgcc_s.so
when searching for -lgcc_s

However, it doesn't resolve the problem. Which is the library in concern and
is there anyway to fix this? Thanks a lot.

Cheers,

Arthur


On 10/7/05, Arthur Chiu <arthurchiu at gmail.com> wrote:
>
> Thanks for the reply, I'll give it a try by recompiling it again though I
> didn't face too much problem when compiling even with
> house-cc=mipsel-linux-gcc.
>
> I am suspecting that problem might be caused by " audio_setup: frags:
> 2/16384 (4 bytes/frag) free: 32768". Though I'm not entirely sure what the
> frags mean, but 4 bytes / frag compare to 4096 bytes / frag seems to be a
> big difference. What might have caused this?
>
> Finally, one last question is that how does the CVS tree work? Do I
> download the source code as a zip file as well? Sorry about this stupid
> question as I have never worked with CVS tree online before. Thanks a lot
> for all help.
>
> Regards,
>
> Arthur
>
> On 10/6/05, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:
> >
> > On Thursday, 06 October 2005 at 23:42, Arthur Chiu wrote:
> > > I have cross-compiled MPlayer for a mips32 linux 2.4 machine using an
> > x86
> > > linux 2.6 machine. The configure command I ran is:
> > >
> > > ./configure --cc=mipsel-linux-gcc --host-cc=mipsel-linux-gcc
> >
> > For crosscompilation, hostcc must be set to native gcc AFAIR.
> > It's used to build some binaries that are executed during build
> > on the builder, not the target system.
> >
> > [...]
> > > The song plays very smoothly after. What might have happened? How come
> > the
> > > music won't play properly on the other system? Any help would be very
> > much
> > > appreciated. Thanks a lot.
> >
> > You should of course try the latest CVS.
> >
> > R.
> >
> > --
> > MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
> > "I am Grey. I stand between the candle and the star. We are Grey.
> > We stand between the darkness ... and the light."
> > -- Delenn in Grey Council in Babylon 5:"Babylon Squared"
> >
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >
>
>



More information about the MPlayer-users mailing list