[MPlayer-users] Re: radeon_vid.c compile error

Steven M. Schultz sms at 2BSD.COM
Fri Apr 30 01:10:30 CEST 2004


On Thu, 29 Apr 2004, adland wrote:

> odd I dont have your issue and build the vidix drivers (especialy radeon) without
>  such an error.

	Yes, it is strange - it used to build before the '#ifdef HAVE_X11'
	block was added to the radeon module.

> how were you able to fix this?

	Like this (also attached in case it's acceptable to be applied):

--- configure.dist	Wed Apr 28 09:49:55 2004
+++ configure	Thu Apr 29 15:57:51 2004
@@ -5934,7 +5934,7 @@
 INSTALL = $_install
 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
 EXTRA_INC = $_inc_extra $_inc_gtk
-OPTFLAGS = -I../libvo/ -I../../libvo $CFLAGS \$(EXTRA_INC)
+OPTFLAGS = -I../libvo/ -I../../libvo $_inc_x11 $CFLAGS \$(EXTRA_INC)
 STRIPBINARIES = $_stripbinaries
 
 $_live_libs_def

	That adds $_inc_x11 to the OPTFLAGS which the radeon compile uses.

	Everything builds fine with that change.

	Cheers,
	Steven Schultz
-------------- next part --------------
--- configure.dist	Wed Apr 28 09:49:55 2004
+++ configure	Thu Apr 29 15:57:51 2004
@@ -5934,7 +5934,7 @@
 INSTALL = $_install
 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
 EXTRA_INC = $_inc_extra $_inc_gtk
-OPTFLAGS = -I../libvo/ -I../../libvo $CFLAGS \$(EXTRA_INC)
+OPTFLAGS = -I../libvo/ -I../../libvo $_inc_x11 $CFLAGS \$(EXTRA_INC)
 STRIPBINARIES = $_stripbinaries
 
 $_live_libs_def


More information about the MPlayer-users mailing list