[MPlayer-cygwin] CVS MPlayer GUI compile trouble

richard dje djensam at yahoo.com
Sun Jul 27 20:18:13 CEST 2003


Hello,


I am new to MPlayer. I heard about it not so long ago, so i wanted
to give it a try. What i can say is that, it Roooocks !.
it's Really  impressive.

So i wanted to see how the GUI with skins looks like, for that
i downloaded the latest MPlayer CVS snapshot from

http://www1.mplayerhq.hu/MPlayer/cvs/MPlayer-current.tar.bz2 (MPlayer-20030727)

and tried to compile it with the following options

"--enable-gui"

I am using the latest version of mostly all cygwin and cygnome packages.
cygwin/cygipc package is also installed.

The configure phase went through, except the fact that 'shm' was not
detected. But it is really there in '/usr/include/sys/'.
Trying to force the detection by adding

'--with-extraincdir=/usr/include'

leads to a failing 'configure' due to an undetected 'inttypes.h'. But this file
is really in '/usr/include'.

Weird isn't it ? I should be missing something.

The error message i am seeing is the following:
----------------------------------------------------------------
gcc: unrecognized option `-rdynamic'
Gui/libgui.a(ws.o)(.text+0x221):ws.c: undefined reference to
`_XShmQueryExtension'
Gui/libgui.a(ws.o)(.text+0x456):ws.c: undefined reference to
`_XShmQueryVersion'
Gui/libgui.a(ws.o)(.text+0x1afa):ws.c: undefined reference to
`_XShmGetEventBase'
Gui/libgui.a(ws.o)(.text+0x1b20):ws.c: undefined reference to
`_XShmCreateImage'
Gui/libgui.a(ws.o)(.text+0x1b47):ws.c: undefined reference to `_shmget'
Gui/libgui.a(ws.o)(.text+0x1b63):ws.c: undefined reference to `_shmat'
Gui/libgui.a(ws.o)(.text+0x1b91):ws.c: undefined reference to `_XShmAttach'
Gui/libgui.a(ws.o)(.text+0x1ba4):ws.c: undefined reference to `_shmctl'
Gui/libgui.a(ws.o)(.text+0x1bcd):ws.c: undefined reference to `_shmdt'
Gui/libgui.a(ws.o)(.text+0x2320):ws.c: undefined reference to `_XShmDetach'
Gui/libgui.a(ws.o)(.text+0x232d):ws.c: undefined reference to `_shmdt'
Gui/libgui.a(ws.o)(.text+0x2606):ws.c: undefined reference to `_XShmPutImage'
Gui/libgui.a(ws.o)(.text+0x2973):ws.c: undefined reference to `_XShmDetach'
Gui/libgui.a(ws.o)(.text+0x2980):ws.c: undefined reference to `_shmdt'
Gui/libgui.a(ws.o)(.text+0x29f3):ws.c: undefined reference to `_XShmDetach'
Gui/libgui.a(ws.o)(.text+0x2a00):ws.c: undefined reference to `_shmdt'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
----------------------------------------------------------------------------


Doing the same steps with

http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-0.90.tar.bz2

gives the same results, but w/o "gcc: unrecognized option `-rdynamic'"



What am i doing wrong ?
Is the GUI known to be working on cygwin/Xfree ?


Thanks in advance for any hints,
-Richard


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the MPlayer-cygwin mailing list