[MPlayer-users] Compiling problem on MIPSEL

inpreet singh.inpreet at netsity.com
Wed Jul 13 13:02:30 CEST 2005


Hello All,

I am trying to compile MPlayer-1.0pre7 for MIPSEL processor. I have LINUX ported on MIPSEL. 
I don't want X11 support, only want to play .mpeg2 video file. I have MIPSEL toolchain installed on my server. So I am build MPlayer package using cross compiling toolchain.
Configuration parameters I used:
 
CC=mipsel-uclibc-gcc LD=mipsel-uclibc-ld STRIP=mipsel-uclibc-strip ./configure --disable-x11  --disable-alsa --disable-libavcodec --disable-libavformat --install-path=/home/inpreet/mipsmediaplayer --with-codecsdir=/home/inpreet/codecs --target=mips-linux --enable-crash-debug

But it is showing following errors:
****************ERROR********************
make[1]: Leaving directory `/home/inpreet/MPlayer-1.0pre7/libmpdvdkit2'
mipsel-uclibc-gcc -I../libvo -I../../libvo  -O4   -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.            -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a    libmpcodecs/libmpcodecs.a   libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit                            libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a                     -ldl -rdynamic   -lm
libmpdemux/libmpdemux.a(tvi_v4l2.o): In function `uninit':
tvi_v4l2.o(.text+0x132c): undefined reference to `pthread_join'
tvi_v4l2.o(.text+0x16c8): undefined reference to `pthread_join'
libmpdemux/libmpdemux.a(tvi_v4l2.o): In function `grab_video_frame':
tvi_v4l2.o(.text+0x3e24): undefined reference to `pthread_create'
libmpdemux/libmpdemux.a(tvi_v4l2.o): In function `grab_audio_frame':
tvi_v4l2.o(.text+0x400c): undefined reference to `pthread_create'
libmpdemux/libmpdemux.a(tvi_v4l2.o): In function `video_grabber':
tvi_v4l2.o(.text+0x4e60): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
******************************************************
Please help what should I do now???

Regards
Inpreet Singh



More information about the MPlayer-users mailing list