[MPlayer-users] fb_dev_name undefined

Steven M. Schultz sms at 2BSD.COM
Fri Nov 12 18:07:33 CET 2004


On Fri, 12 Nov 2004, Reimar [iso-8859-1] Döffinger wrote:

> > > mplayer.o(.data+0x484): undefined reference to `fb_dev_name'
> > 
> > Try --disable-directfb in addition (or in place of) --disable-fbdev
> > That should be a workaround.

	Yes, that worked.  I added --disable-directfb in addition to 
	--disable-fbdev and the linking step completed with success.

> That should probably work, but it's only a workaround. Please try the
> attached patch first, if it works it is a real fix ;-).

	The "real fix" also works :)

	Cheers,
	Steven Schultz
-------------- next part --------------
Index: libvo/vo_directfb2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directfb2.c,v
retrieving revision 1.17
diff -u -r1.17 vo_directfb2.c
--- libvo/vo_directfb2.c	28 Oct 2004 01:15:52 -0000	1.17
+++ libvo/vo_directfb2.c	12 Nov 2004 16:52:24 -0000
@@ -95,6 +95,13 @@
  *  filled during config
  */
 
+//! not used but needed for compilation without fbdev
+#ifdef HAVE_FBDEV
+extern char *fb_dev_name;
+#else
+char *fb_dev_name;
+#endif
+
 // handle of used layer
 static IDirectFBDisplayLayer *layer = NULL;
 // surface of used layer
-------------- next part --------------
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-users


More information about the MPlayer-users mailing list