Posts: 24
Joined: Apr 2005
Reputation:
0
hi - i followed the instructions in the 1st post and i've got the latest downloads of minsys, mingw and tortoisecvs and mplayer from cvs. when i run ./configurexbmc i get an error which says:
error: cannot find header either inittypes .h or bitypes.h (see docs/html/en/faq.html).
check "configure.log" if you do not understand why it failed.
i can't find the faq.html. the end of configure.log says:
============
#include <inttypes.h>
int main(void) { return 0; }
gcc -i/c/mplayer/mplayer/xbmcsys -i/c/mplayer/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -l/c/mplayer/mplayer/xbmcsys/lib -l/c/mplayer/mplayer/xbmcsys/xbmc_vobsub /tmp/mplayer-conf-2173-1124.c -o /tmp/mplayer-conf-17347-1124.o
c:\mingw\bin\..\lib\gcc-lib\mingw32\3.3.3\..\..\..\..\mingw32\bin\ld.exe: cannot open crt2.o: no such file or directory
ldd /tmp/mplayer-conf-17347-1124.o
./configure: ldd: command not found
result is: no
##########################################
============ checking for bitypes.h (inttypes.h predecessor) ============
#include <sys/bitypes.h>
int main(void) { return 0; }
gcc -i/c/mplayer/mplayer/xbmcsys -i/c/mplayer/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -l/c/mplayer/mplayer/xbmcsys/lib -l/c/mplayer/mplayer/xbmcsys/xbmc_vobsub /tmp/mplayer-conf-2173-1124.c -o /tmp/mplayer-conf-17347-1124.o
c:/docume~1/phill/locals~1/temp/mplayer-conf-2173-1124.c:1:25: sys/bitypes.h: no such file or directory
ldd /tmp/mplayer-conf-17347-1124.o
./configure: ldd: command not found
does anyone know what i need to do to get this to configure and compile?
thanks,
phill
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
try reinstalling msys and mingw. you've made some mistake in installing (just follow the instructions exactly). all you need are the base installs of each.
ts
42.7% of all statistics are made up on the spot
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.
Posts: 107
Joined: Feb 2004
Reputation:
0
DDay
Senior Member
Posts: 107
updated for the use of gcc 3.4.4
Posts: 4
Joined: Jun 2005
Reputation:
0
i was hoping someone could help me, i am trying to compile this dll and am having some difficulties. i follow the directions but when i put the dll into the mplayer directory on my 1.0 xbox with [admin note-- we do not recommend using slayer]s 2.6 installed i only get a loud screeching on the audio.
any ideas?
Posts: 4
Joined: Jun 2005
Reputation:
0
ahh, could that be it, [admin note-- we do not recommend using slayer]s i mean?
Posts: 48
Joined: Nov 2003
Reputation:
0
i have another problem with the compilation of mplayer. after i run ./configurexbmc --disable-libavformat i get the following output:
$ ./configurexbmc --disable-libavformat
[ creating xbox cpuinfo script ] ... done!
[ running configure script for xbmc ]
detected operating system: mingw32
detected host architecture: i386
checking for cc version ... not found
checking for gcc version ... 3.4.4, ok
checking for cpu vendor ... genuineintel (6:8:10)
checking for cpu type ... celeron (coppermine)
checking for gcc & cpu optimization abilities ... your gcc does not even support "i386" for '-march' and '-mtune'.
error
checking for kernel support of mmx ... failed
it seems that your kernel does not correctly support mmx.
to use mmx extensions in mplayer, you have to upgrade/recompile your kernel!
checking for kernel support of mmx2 ... failed
it seems that your kernel does not correctly support mmx2.
to use mmx2 extensions in mplayer, you have to upgrade/recompile your kernel!
checking for kernel support of sse ... failed
it seems that your kernel does not correctly support sse.
to use sse extensions in mplayer, you have to upgrade/recompile your kernel!
checking for mtrr support ... no
unknown parameter: source/mplayer/xbmcsys/fribidi/fribidi-config
can anyone help me?
Posts: 25
Joined: Feb 2004
Reputation:
0
bob0r
Junior Member
Posts: 25
2005-09-20, 17:44
does all this still work?
(and would we not need xbox header files?)
this is what i get:
gcc -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/home/user/mplayer/xbmcsys -i/home/user/mplayer/xbmcsys/xbmc_vobsub -d_xbox -dxbmc_vobsub -dhave_av_config_h -i.. -i../libavutil -d_file_offset_bits=64 -d_largefile_source -d_gnu_source -c -o i386/fdct_mmx.o i386/fdct_mmx.c
i386/fdct_mmx.c:16:20: common.h: no such file or directory
make[1]: *** [i386/fdct_mmx.o] error 1
make[1]: leaving directory `/home/user/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] error 2
and when i copy the common.h file from mplayer\libavcodec to mplayer\libavcodec\i386 it continues but:
<a lot of lines>
libavformat/libavformat.a(avidec.o)(.text+0xcb):avidec.c: undefined reference to `av_rescale'
libavformat/libavformat.a(avidec.o)(.text+0x133):avidec.c: undefined reference to `av_rescale'
libavformat/libavformat.a(avidec.o)(.text+0x14fb):avidec.c: undefined reference to `av_rescale'
libavformat/libavformat.a(raw.o)(.text+0x33a):raw.c: undefined reference to `av_rescale_rnd'
libavformat/libavformat.a(raw.o)(.text+0x395):raw.c: undefined reference to `av_rescale'
libavformat/libavformat.a(img.o)(.text+0x519):img.c: undefined reference to `av_rescale'
libavformat/libavformat.a(asf-enc.o)(.text+0x183d):asf-enc.c: undefined reference to `av_rescale'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] error 1
then makedll fails also (fcourse)
libavformat/libavformat.a(avidec.o)(.text+0xcb):avidec.c: undefined reference to `av_rescale'
libavformat/libavformat.a(avidec.o)(.text+0x133):avidec.c: undefined reference to `av_rescale'
libavformat/libavformat.a(avidec.o)(.text+0x14fb):avidec.c: undefined reference to `av_rescale'
libavformat/libavformat.a(raw.o)(.text+0x33a):raw.c: undefined reference to `av_rescale_rnd'
libavformat/libavformat.a(raw.o)(.text+0x395):raw.c: undefined reference to `av_rescale'
libavformat/libavformat.a(img.o)(.text+0x519):img.c: undefined reference to `av_rescale'
libavformat/libavformat.a(asf-enc.o)(.text+0x183d):asf-enc.c: undefined reference to `av_rescale'
collect2: ld returned 1 exit status
make: *** [dll] error 1
Posts: 2
Joined: Jun 2006
Reputation:
0
i'm sure this is stupid, but after it compiles successfully, what files do i get? is it somewhere in the mplayer cvs? :bowdown:
Posts: 5
Joined: Dec 2003
Reputation:
0
$ 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: libavcodec/libavcodec.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
gcc.exe: libavformat/libavformat.a: no such file or directory
make: *** [dll] error 1
any ideas?
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
you didn't build it..
configurexbmc
make distclean
make
makedll
Posts: 5
Joined: Dec 2003
Reputation:
0
same error after makedll
mingw-3.2.0-rc-3.exe
gcc-core-3.4.4-20050522-1.tar.gz
msys-1.0.10.exe
newer versions shows errors right after ./configurexbmc
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
if configurexbmc fails something is wrong.. could you tell me what is failing?
Posts: 5
Joined: Dec 2003
Reputation:
0
ok now what i got
xbmc mplayer cvs with folders libavcodec and libavformat from mplayer-1.0pre7 (i want pre8 if it's possible)
installed mingw-4.1.0.exe (current libs)
gcc-core-3.4.4-20050522-1.tar.gz
msys-1.0.11-2004.04.30-1.exe
commands:
./configurexbmc --disable-libavformat
make distclean
make
makedll
and now error is:
$ makedll
*** compiling mplayer.dll
gcc.exe: libavcodec/libavcodec.a: no such file or directory
gcc.exe: libavutil/libavutil.a: no such file or directory
make: *** [dll] error 1
only 2 lines...
Posts: 1,544
Joined: Jan 2005
Reputation:
0
OK, unlike an xbe file you guys are compiling a dll for media access. if its 1 meg smaller... ok looks suspicious but try it out. You compiled it locally on your machine, run it through the gambit. rename the one on your xbox to mplayer.bak up your compile of it and try playing media. Then if it has issues with say.. mp3 or divx, then the guys can help you a bit better here.