[MPlayer-users] fb_dev_name undefined

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Nov 12 17:54:22 CET 2004


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

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

Greetings,
Reimar Döffinger
-------------- 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


More information about the MPlayer-users mailing list