MPlayer with LIVE library compile problems
#1
hello

im trying to build a new mplayer.dll but i 've this error

Quote:$ makedll
*** compiling mplayer.dll
gcc.exe: libvo/libvo.a: no such file or directory
gcc.exe: libao2/libao2.a: no such file or directory
gcc.exe: libmpcodecs/libmpcodecs.a: no such file or directory
gcc.exe: mp3lib/libmp3.a: no such file or directory
gcc.exe: liba52/liba52.a: no such file or directory
gcc.exe: libmpeg2/libmpeg2.a: no such file or directory
gcc.exe: libaf/libaf.a: no such file or directory
gcc.exe: libmpdemux/libmpdemux.a: no such file or directory
gcc.exe: input/libinput.a: no such file or directory
gcc.exe: postproc/libswscale.a: no such file or directory
gcc.exe: osdep/libosdep.a: no such file or directory
gcc.exe: libfaad2/libfaad2.a: no such file or directory
gcc.exe: libmpdvdkit2/libmpdvdkit.a: no such file or directory
make: *** [dll] error 1

i think the make script failed

here u have the error

Quote:gcc.exe: installation problem, cannot exec `cc1plus': no such file or directory
make[1]: *** [demux_rtp.o] error 1
make[1]: leaving directory `/e/xbox/mplayer/mplayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] error 2


any idea ?
thanks for your help
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#2
looks like your mingw/msys system isn't correct. did the ./configurexbmc command complete correctly?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
yea but i tryed to put this line

Quote:--enable-live --with-livelibdir='e:\xbox\mplayer\mplayer\live' \

without this its working
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
you need the live555.com source code to enable that option. do you have it?

http://www.live555.com/mplayer/
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
yea i have it inside the path define here 'e:\xbox\mplayer\mplayer\live' \

and the enable option work fine
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
it needs to be compiled already into a lib. is it ?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
yea i use this config

Quote:./genmakefiles mingw

and "make" for have liblivemedia.a
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
error during "make " for mplayer



Quote:gcc -c -i../libvo -i../../libvo -fno-pic -o4 -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i/e/xbox/mplayer/mplayer/xbmcsys -i/e/xbox/mplayer/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -i.. -i../loader -i/e/xbox/mplayer/mplayer/xbmcsys -i/e/xbox/mplayer/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -i../libavutil -i../libavcodec -ie:xboxmplayermplayerlive/livemedia/include -ie:xboxmplayermplayerlive/usageenvironment/include -ie:xboxmplayermplayerlive/basicusageenvironment/include -ie:xboxmplayermplayerlive/groupsock/include -o demux_rtp.o demux_rtp.cpp
gcc.exe: installation problem, cannot exec `cc1plus': no such file or directory
make[1]: *** [demux_rtp.o] error 1
make[1]: leaving directory `/e/xbox/mplayer/mplayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] error
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#9
you have a path problem. cc1plus is part of the mingw distribution. one of the make files is trying to use it but cant because its not in your path.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
i don't have cc1plus inside mingw dir
can i put it manually ?
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#11
find the file. there should be other executables there as well. then add that location to the path. if you cant find the file, then something probably went awry in your installation of mingw, minsys, and gcc for mingw. there was a good tutorial in the dev forum that you may want to refer to.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#12
i solve the probleme with the path
but now ive a lot of errors

Quote:gcc -c -i../libvo -i../../libvo -fno-pic -o4 -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i/e/xbox/mplayer/mplayer/xbmcsys -i/e/xbox/mplayer/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -i.. -i../loader -i/e/xbox/mplayer/mplayer/xbmcsys -i/e/xbox/mplayer/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -i../libavutil -i../libavcodec -i../libavformat -ie:\xbox\mplayer\mplayer\live/livemedia/include -ie:\xbox\mplayer\mplayer\live/usageenvironment/include -ie:\xbox\mplayer\mplayer\live/basicusageenvironment/include -ie:\xbox\mplayer\mplayer\live/groupsock/include -o demux_rtp.o demux_rtp.cpp
in file included from demux_rtp.cpp:12:
demux_rtp_internal.h:17:24: livemedia.hh: no such file or directory
in file included from demux_rtp.cpp:12:
demux_rtp_internal.h:22: error: `mediasubsession' has not been declared
demux_rtp_internal.h:22: error: iso c++ forbids declaration of `subsession' with no type
demux_rtp_internal.h:24: error: `mediasubsession' has not been declared
demux_rtp_internal.h:24: error: iso c++ forbids declaration of `subsession' with no type
demux_rtp_internal.h:33: error: `boolean' does not name a type
demux_rtp_internal.h:40: error: `boolean' does not name a type
demux_rtp.cpp:14:36: basicusageenvironment.hh: no such file or directory
demux_rtp.cpp:16:30: groupsockhelper.hh: no such file or directory
demux_rtp.cpp:54: error: expected `)' before '*' token
demux_rtp.cpp:58: error: iso c++ forbids declaration of `framedsource' with no type
demux_rtp.cpp:58: error: expected `;' before '*' token
demux_rtp.cpp:59: error: expected `;' before "rtpsource"
demux_rtp.cpp:59: error: iso c++ forbids declaration of `rtpsource' with no type
demux_rtp.cpp:59: error: expected `;' before '*' token
demux_rtp.cpp:60: error: expected `;' before "demuxer_t"
demux_rtp.cpp:66: error: `boolean' does not name a type
demux_rtp.cpp:83: error: iso c++ forbids declaration of `framedsource' with no type
demux_rtp.cpp:83: error: expected `;' before '*' token
demux_rtp.cpp:84: error: iso c++ forbids declaration of `rtpsource' with no type
demux_rtp.cpp:84: error: expected `;' before '*' token
demux_rtp.cpp:93: error: iso c++ forbids declaration of `rtspclient' with no type
demux_rtp.cpp:93: error: expected `;' before '*' token
...
...
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#13
you may need to update the rtp demuxer, which can be a pain.. if i remember correctly the live libraries where modified somewhat recently. so it might not be possible, or you would have to get live libraries from when mplayer pre6 was released.

<edit> just checked mplayer cvs, and by the looks of it nothing has changed there.. so i think it should be possible.

by the looks of your error the compiler can't find livemedia.hh

</edit>



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#14
one more thing.. and url specied like that might fail..

e:\xbox\mplayer\mplayer\live
make it
/e/xbox/mplayer/mplayer/live
also case is important.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#15
thanks elupus,

can i try to use the pre7 rtp demux for pre6 mplayer ?
by adding updated files ?

Quote:libmpcodecs/libmpcodecs.a(ad_acm.o):ad_acm.c:(.text+0x348): undefined reference to `sleep'
libmpdemux/libmpdemux.a(pnm.o):pnm.c:(.text+0xb98): undefined reference to `sleep'
libmpdemux/libmpdemux.a(pnm.o):pnm.c:(.text+0x13be): undefined reference to `sleep'
libmpdemux/libmpdemux.a(pnm.o):pnm.c:(.text+0x1c15): undefined reference to `sleep'
libmpdemux/libmpdemux.a(rtsp.o):rtsp.c:(.text+0x228): undefined reference to `sleep'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] error 1
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
MPlayer with LIVE library compile problems0