QuickTime Streaming Server for Linux.. on x86
Dan Burcaw
dburcaw at terraplex.com
Fri Jul 9 18:34:22 EST 1999
Hey all,
I just tweaked the Streaming Server to work on PPC Linux and I have a
patch available. I haven't tested an actual streaming of audio or video to
see how well it works but at least this will let you build the server
which is a good first step.
The good news is that all it took was very little modification of the
source to make it work.
The patch is attached to this email and is called
"StreamingServer-2-ppclinux.patch".
Regards,
Dan
Terra Soft Solutions, Inc.
email: dburcaw at yellowdoglinux.com
website: http://www.yellowdoglinux.com/
-------------- next part --------------
--- StreamingServer-2/RhapServer/main.cpp.o Fri Jul 9 01:15:18 1999
+++ StreamingServer-2/RhapServer/main.cpp Fri Jul 9 01:36:07 1999
@@ -93,7 +93,7 @@
//(void) ::signal(SIGPIPE, SIG_IGN);
struct sigaction act;
-#if defined(sun) || defined(i386)
+#if defined(sun) || defined(i386) || defined(powerpc)
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = (void(*)(int))&sigcatcher;
--- StreamingServer-2/RhapServer/UDPSocket.cpp.o Fri Jul 9 02:05:48 1999
+++ StreamingServer-2/RhapServer/UDPSocket.cpp Fri Jul 9 02:07:41 1999
@@ -40,7 +40,11 @@
#endif
#if __linux__
+#if __GLIBC__ >= 2
+#include <bits/socket.h>
+#else
#include <socketbits.h>
+#endif
#endif
#include "UDPSocket.h"
#include "OS.h"
More information about the Linuxppc-dev
mailing list