[MPlayer-cygwin] [BUG] compile failure in radeon_vid.c with GUIenabled

Sascha Sommer saschasommer at freenet.de
Mon May 31 15:40:51 CEST 2004


> Hi!
>
> I get the following compile/link failure in latest CVS under Cygwin when
> I have the GUI (and thus X11) enabled:
>
> radeon_vid.o(.text+0x895): In function `probe_fireGL_driver':
> /home/diego/mplayer/dev/vidix/drivers/radeon_vid.c:931: undefined
> reference to `_XOpenDisplay'
>
radeon_vid.o(.text+0x8b7):/home/diego/mplayer/dev/vidix/drivers/radeon_vid.c
:937
> : undefined reference to `_XListExtensions'
>
radeon_vid.o(.text+0x8c3):/home/diego/mplayer/dev/vidix/drivers/radeon_vid.c
:938
> : undefined reference to `_XCloseDisplay'
> collect2: ld returned 1 exit status
> make[2]: *** [radeon_vid.so] Error 1
> make[2]: Leaving directory `/home/diego/mplayer/dev/vidix/drivers'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/diego/mplayer/dev/vidix'
> make: *** [vidix/libvidix.a] Error 2
>

You will have to add the X_LIBs to RADEON_LIBS in vidix/drivers/MAKEFILE.
Anyway the X dependency of the radeon driver is imho not a good solution.
It probably would have been better if someone implemented an
os_get_prefered_bes_offset
function into the vidix lib that would take care of such issues.

Sascha





More information about the MPlayer-cygwin mailing list