[MPlayer-dev-eng] broken instructions MplayerOSX - doesn't compile also

Vincent Diepeveen diep at xs4all.nl
Sat Sep 5 05:45:26 CEST 2009


hi,

As i'm interested in getting mplayer parallel bugfree working i've  
tried a few attempts to compile it for os/x.
No succes getting mplayerosx to work.

I'm not sure whether i follow wrong instructions or whether the  
branch just doesn't build.

Actions undertaken this night from directory /mplayer:

/usr/local/bin/svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ main
/usr/local/bin/svn checkout svn://svn.mplayerhq.hu/mplayerosx/trunk/  
mplayerosx

reports (last 3 lines):
Checked out external at revision 1179.

Checked out revision 29648.
Checked out revision 158.

Now trying to compile goes wrong following INSTALL.

INSTALL says:
    export MACOSX_DEPLOYMENT_TARGET=10.3

Executed. Status: Works.
Note i have osx 10.4.11

INSTALL says then: "go to mplayerosx and run 'make mplayer' there

Well no makefile there. I went into directory mplayer.

'make mplayer' doesn't function there.

Ran ./configure

Creates a makefile.

/mplayer/mplayerosx/mplayer/> make mplayer

this runs for a while then gives errors i list the last X output.
How to get it compiled?

Thanks in advance,
Vincent

...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration- 
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith - 
Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast- 
math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - 
D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 - 
shared-libgcc -I.   -I/usr/X11R6/include -c -o libvo/vo_corevideo.o  
libvo/vo_corevideo.m
libvo/vo_corevideo.m: In function 'preinit':
libvo/vo_corevideo.m:387: warning: ISO C90 forbids mixed declarations  
and code
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration- 
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith - 
Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast- 
math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - 
D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 - 
shared-libgcc -I.   -I/usr/X11R6/include   -c -o libvo/osx_common.o  
libvo/osx_common.c
libvo/osx_common.c:13: error: 'kVK_Return' undeclared here (not in a  
function)
libvo/osx_common.c:14: error: 'kVK_Escape' undeclared here (not in a  
function)
libvo/osx_common.c:15: error: 'kVK_Delete' undeclared here (not in a  
function)
libvo/osx_common.c:15: error: 'kVK_Option' undeclared here (not in a  
function)
libvo/osx_common.c:15: error: 'kVK_Control' undeclared here (not in a  
function)
libvo/osx_common.c:15: error: 'kVK_Shift' undeclared here (not in a  
function)
libvo/osx_common.c:16: error: 'kVK_Tab' undeclared here (not in a  
function)
libvo/osx_common.c:19: error: 'kVK_UpArrow' undeclared here (not in a  
function)
libvo/osx_common.c:19: error: 'kVK_DownArrow' undeclared here (not in  
a function)
libvo/osx_common.c:19: error: 'kVK_LeftArrow' undeclared here (not in  
a function)
libvo/osx_common.c:19: error: 'kVK_RightArrow' undeclared here (not  
in a function)
libvo/osx_common.c:22: error: 'kVK_Help' undeclared here (not in a  
function)
libvo/osx_common.c:22: error: 'kVK_ForwardDelete' undeclared here  
(not in a function)
libvo/osx_common.c:22: error: 'kVK_Home' undeclared here (not in a  
function)
libvo/osx_common.c:23: error: 'kVK_End' undeclared here (not in a  
function)
libvo/osx_common.c:23: error: 'kVK_PageUp' undeclared here (not in a  
function)
libvo/osx_common.c:26: error: 'kVK_F1' undeclared here (not in a  
function)
libvo/osx_common.c:26: error: 'kVK_F2' undeclared here (not in a  
function)
libvo/osx_common.c:26: error: 'kVK_F3' undeclared here (not in a  
function)
libvo/osx_common.c:26: error: 'kVK_F4' undeclared here (not in a  
function)
libvo/osx_common.c:27: error: 'kVK_F5' undeclared here (not in a  
function)
libvo/osx_common.c:27: error: 'kVK_F6' undeclared here (not in a  
function)
libvo/osx_common.c:27: error: 'kVK_F7' undeclared here (not in a  
function)
libvo/osx_common.c:27: error: 'kVK_F8' undeclared here (not in a  
function)
libvo/osx_common.c:28: error: 'kVK_F9' undeclared here (not in a  
function)
libvo/osx_common.c:28: error: 'kVK_F10' undeclared here (not in a  
function)
libvo/osx_common.c:28: error: 'kVK_F11' undeclared here (not in a  
function)
libvo/osx_common.c:28: error: 'kVK_F12' undeclared here (not in a  
function)
libvo/osx_common.c:31: error: 'kVK_ANSI_KeypadPlus' undeclared here  
(not in a function)
libvo/osx_common.c:31: error: 'kVK_ANSI_KeypadMinus' undeclared here  
(not in a function)
libvo/osx_common.c:31: error: 'kVK_ANSI_KeypadMultiply' undeclared  
here (not in a function)
libvo/osx_common.c:32: error: 'kVK_ANSI_KeypadDivide' undeclared here  
(not in a function)
libvo/osx_common.c:32: error: 'kVK_ANSI_KeypadEnter' undeclared here  
(not in a function)
libvo/osx_common.c:32: error: 'kVK_ANSI_KeypadDecimal' undeclared  
here (not in a function)
libvo/osx_common.c:33: error: 'kVK_ANSI_Keypad0' undeclared here (not  
in a function)
libvo/osx_common.c:33: error: 'kVK_ANSI_Keypad1' undeclared here (not  
in a function)
libvo/osx_common.c:33: error: 'kVK_ANSI_Keypad2' undeclared here (not  
in a function)
libvo/osx_common.c:33: error: 'kVK_ANSI_Keypad3' undeclared here (not  
in a function)
libvo/osx_common.c:34: error: 'kVK_ANSI_Keypad4' undeclared here (not  
in a function)
libvo/osx_common.c:34: error: 'kVK_ANSI_Keypad5' undeclared here (not  
in a function)
libvo/osx_common.c:34: error: 'kVK_ANSI_Keypad6' undeclared here (not  
in a function)
libvo/osx_common.c:34: error: 'kVK_ANSI_Keypad7' undeclared here (not  
in a function)
libvo/osx_common.c:35: error: 'kVK_ANSI_Keypad8' undeclared here (not  
in a function)
libvo/osx_common.c:35: error: 'kVK_ANSI_Keypad9' undeclared here (not  
in a function)
make: *** [libvo/osx_common.o] Error 1
/mplayer/mplayerosx/mplayer/>

Thanks2,
Vincent



More information about the MPlayer-dev-eng mailing list