[MPlayer-users] missing file (pci_names.[c,h] in MPlayer-0.90rc5 source code?
Horst Severini
hs at nhn.ou.edu
Sat Mar 29 23:39:50 CET 2003
Hi Martin,
sorry it took me so long to get back to you, but I had too much other
stuff to do.
> That file is created automatically, so there is some problem with
> your build. Check the output of configure and make. Send the list
> any errors you can't figure out yourself.
The only two errors I found in the configure.log were
##########################################
============ Checking for restrict keyword ============
void foo(char * restrict p); int main(){}
/usr/local/gcc-alt-2.95.2/bin/gcc /tmp/mplayer-conf-24580-23155.c -o
/tmp/mplayer-conf-24610-23155.o
/tmp/mplayer-conf-24580-23155.c:1: parse error before `p'
ldd /tmp/mplayer-conf-24610-23155.o
ldd: /tmp/mplayer-conf-24610-23155.o: No such file or directory
##########################################
and
##########################################
============ Checking for freetype >= 2.0.9 ============
#include <stdio.h>
#include <freetype/freetype.h>
#if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9)))
#error "Need FreeType 2.0.9 or newer"
#endif
int main()
{
FT_Library library;
FT_Int major=-1,minor=-1,patch=-1;
int err=FT_Init_FreeType(&library);
if(err){
printf("Couldn't initialize freetype2 lib, err code: %d\n",err);
exit(err);
}
FT_Library_Version(library,&major,&minor,&patch); // in v2.1.0+ only :(((
printf("freetype2 header version: %d.%d.%d library version: %d.%d.%d\n",
FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH,
(int)major,(int)minor,(int)patch );
if(major!=FREETYPE_MAJOR || minor!=FREETYPE_MINOR){
printf("Library and header version mismatch! Fix it in your
distribution!\n");
exit(1);
}
return 0;
}
/usr/local/gcc-alt-2.95.2/bin/gcc /tmp/mplayer-conf-24580-23155.c -o
/tmp/mplayer-conf-24610-23155.o -I/usr/include/freetype2 -L/usr/lib -lfreetype
/tmp/mplayer-conf-24580-23155.c:4: #error "Need FreeType 2.0.9 or newer"
ldd /tmp/mplayer-conf-24610-23155.o
ldd: /tmp/mplayer-conf-24610-23155.o: No such file or directory
Result is: no
##########################################
The latter isn't surprising, since this is a RedHat 7.2 machine,
so it only has 2.0.3.
But the funny thing is that if I type gmake again after that error
that it can't find libdha/pci_names.c, and I think once more, since
there was another error which I don't remember now, it does build,
and I can install it and it does play specific files, both AVI (DIVX)
and DVD (.vob), with "play file", but it can't just open and play a CD or DVD,
since I get the following error when I try that:
---------
DVD:
Playing /dev/cdrom
track 01: adr=1 ctrl=4 format=2 00:02:00 mode: 1
ioctl dif1: Invalid argument
Cache fill: 0.00% (0 bytes)
AVI(DIVX):
Playing /dev/cdrom
track 01: adr=1 ctrl=4 format=2 00:02:00 mode: 1
ioctl dif1: Invalid argument
Cache fill: 16.18% (1357216 bytes)
---------
What does that mean?
I also get that error when I run the rpm version which I installed
on a RedHat 7.3 machine, which does have freetype-2.0.9, and all the
other required libs, since as far as I can tell, the rpm was built
on a 7.3 machine, right? So that shouldn't be related to either of
the errors above, since I assume the rpm built without errors.
Oh, but the sound of the DVD file quits after a while with the error
Too many video packets in the buffer: (4096 in 8283631 bytes).
What buffer is that, and is there a way to get around that?
It also complains in general that this system is too slow, which can't
really be, since it's a dual 1GHz P-III with 1 GB of RAM,
and it seems to play everything nicely, no glitches or stops or anything.
I tried all sorts of the suggestions, but none helped any, and the sound
still cuts out after a short time.
Thanks a lot,
Horst
More information about the MPlayer-users
mailing list