Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Bitstreamout crash vdr !!



On Tue, Nov 04, 2003 at 10:37:54PM +0100, Michael Bösch wrote:
> I also have an error, when I try to start vdr with the bitstreamout plugin.
> 
> "home vdr[12078]: ERROR: 
> /usr/local/src/vdr-1.2.6pre4/PLUGINS/lib/libvdr-bitstreamout.so.1.2.6pre4: 
> undefined symbol: __floatsidf"

Try this

----------------------------------------------------------------------------
--- Make.arch
+++ Make.arch	Tue Oct 14 19:11:16 2003
@@ -20,4 +20,4 @@
 endif
 
 all::
-	@echo $(CFLAGS)
+	@echo $(CFLAGS) | sed 's|-msoft-float||g'
----------------------------------------------------------------------------

and maybe this one is also required:

----------------------------------------------------------------------------
--- bitstreamout-0.46h/types.h	Thu Sep 18 12:09:19 2003
+++ bitstreamout/types.h	Tue Oct 14 12:13:52 2003
@@ -33,6 +33,7 @@
 typedef unsigned int   uint_32;
 typedef unsigned short uint_16;
 typedef unsigned char  uint_8;
+typedef unsigned long  flags_t;
 
 typedef signed long long sint_64;
 typedef signed int     sint_32;
--- bitstreamout-0.46h/bitstreamout.h	Tue Sep 23 17:00:31 2003
+++ bitstreamout/bitstreamout.h	Tue Oct 14 12:14:24 2003
@@ -57,7 +57,7 @@
 #define SETUP_MUTE	0x04
 #define SETUP_ACTIVE	0x08
 #define SETUP_LIVE	0x10
-    volatile uint_32 flags;
+    volatile flags_t flags;
     opt_t opt;
 } ctrl_t;
 
--- bitstreamout-0.46h/channel.h	Tue Sep 23 16:40:43 2003
+++ bitstreamout/channel.h	Tue Oct 14 12:14:09 2003
@@ -56,7 +56,7 @@
 
 class cInStream : public cReceiver, cThread {
 private:
-    volatile uint_32 flags;
+    volatile flags_t flags;
     // Sync/Underrun thread
     #define FLAG_RUNNING	0x01
     #define FLAG_ACTIVE		0x02
--- bitstreamout-0.46h/replay.h	Mon Sep 29 18:43:00 2003
+++ bitstreamout/replay.h	Tue Oct 14 12:14:00 2003
@@ -33,7 +33,7 @@
 
 class cReplayOutAC3 : public cAudio, cThread {
 private:
-    volatile uint_32 flags;
+    volatile flags_t flags;
     // Private Stream 1 magic
     static const uint_32 PS1magic;
     // Stream detection
----------------------------------------------------------------------------

just for newer gcc/g++ in combination with new glibc.

       Werner



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index