Installing Darwin Streaming Server on Linux

Video Streaming has gained lot of popularity these days and there are very few Open Source Streaming server available that can give Audio/Video Streaming. Once such streaming server is Apple based Darwin Streaming Server. The advantage that Darwin gives you it can stream 3gp files that is one of widely video format used that to over RTSP protocol. In this article we will learn how to install Darwin Streaming Server on linux.

Installing Darwin Streaming Server
* The first step for any installation is the source code, the source code can be downloaded from Darwin Streaming Server the latest version available is 6.0.3.

* Now we need to untar the Source code by executing following command: tar xf DarwinStreamingSrvr6.0.3-Source.tar. This
will create directory “DarwinStreamingSrvr6.0.3-Source”.

* Now we need to compile and install the Darwin from source but before that we will have to patch the existing source code
files and update the existing Install file. To do that you will have to copy the dsshh-20080728-1.patch, dss-6.0.3.patch and
Install file inside the DarwinStreamingSrvr6.0.3-Source.

* Please rename the patch files by removing .txt extension and rename Install.txt to Install.sh

* Execute the following command from DarwinStreamingSrvr6.0.3-Source folder,
* patch -p1 < dss-6.0.3.patch
* patch -p1 < dss-hh-20080728-1.patch

* Now we need to add groups and users for Darwin Streaming Server. For that type below command from command prompt
* sudo groupadd qtss and sudo useradd qtss -g qtss

* Execute ./Buildit from console to build the project, this will create server binary in DarwinStreamingSrvr6.0.3-Source
directory, along with some other binaries in some other subdirectories.

* After successful build we need to Install the Darwin Streaming Server. To Install: run sudo ./Install (You must be logged in as
root to install Darwin Streaming Server).
- During installation, it will ask: "Please enter a new administrator user name:" - type in some user name
- It will ask "Please enter a new administrator Password:" - type in some admin password
- After installation, DSS writes its binaries and files to various locations.

>>Starting Darwin Server:
* Type following command “cd /usr/local/sbin/DarwinStreamingServer”. You should have root access to execute this command.
* 2 processes will run – the first one runs as root, and forks the main server as qtss. While doing a ps aux | grep Darwin, the
one with the higher process id is the forked server process. If it crashes or gets killed, the other one immediately respawns
another.
* Need to start the admin panel for Darwin Streaming Server that can be started by calling following command, /usr/bin/perl /usr/local/sbin/streamingadminserver.pl

>>Stopping Darwin Streaming Server:
* Type ps -aef | grep Darwin
* You will see 2 server processes running. Kill both the 2 server processes.

>>Testing Your Darwin Streaming Server Installation:
* Ensure that Darwin Streaming Server is running by calling ps -aef | grep Darwin
* Goto Web Browser and type http://localhost:1220 . This is the admin interface for Darwin Streaming Server running on port
1220.

Facing any issues ping me up :)

Related Articles:

About Hitesh Agrawal

Wait... checking
Tagged . Bookmark the permalink.

28 Responses to Installing Darwin Streaming Server on Linux

  1. Dave says:

    Hitesh, Very nice instructions. Got through to “Testing…” and while I find the 2 processes running I get nothing trying to connect to the 1220 port. “Firefox can’t establish a connection…” Any ideas? I don’t see port 1220 opened or any log messages complaining either way.

    • Hi Dave,
      Forgot to mentioned about admin panel in the installation steps. I have updated the same.
      “Need to start the admin panel for Darwin Streaming Server that can be started by calling following command, /usr/bin/perl /usr/local/sbin/streamingadminserver.pl”

      Thanks,
      Hitesh Agarwal

  2. Gert-Jan Admiraal says:

    Hello Hitesh,

    Great job on putting this all together. However, I see some problems on my Centos installation.

    Could you tell me which Linux distribution you are using?

    Thanks!

  3. I installed from someone else’s directions, and occasionally I feed a live audio stream via QuickTime Broadcaster.

    Every so often, the feed halts with a −3285 error, but I can’t find any resource that can help me or my host’s tech people to diagnose the problem

    Can you suggest any ways to test this?

    Peace,
    Gene

  4. Amy says:

    I installed from someone else’s directions, and occasionally I feed a live audio stream via QuickTime Broadcaster.

    Every so often, the feed halts with a −3285 error, but I can’t find any resource that can help me or my host’s tech people to diagnose the problem

    Can you suggest any ways to test this?

    Peace,
    Gene

  5. Yadnesh says:

    Hi Hitesh,

    Thanks for the instructions. The build worked fine. But I am not able to install DSS. when I run ./Install.sh I get loads of errors. I am doinf the build on Ubunto 8.0.4. Could you please suggest a solution?

    ===========================================================
    yadnesh@ubuntu:~/DSS/DarwinStreamingSrvr6.0.3-Source$ sudo ./Install

    Installing Darwin Streaming Server

    Checking for and Killing currently running Darwin Streaming Server
    Removing previous versions of Darwin Streaming Server

    Backing up previous config files
    backing up /etc/streaming/qtusers to /etc/streaming/qtusers.backup
    backing up /etc/streaming/qtgroups to /etc/streaming/qtgroups.backup

    Inserting path to perl into scripts..
    Can’t open perl script “perlpath.pl”: No such file or directory

    Creating unprivileged user to run the server = “qtss”.
    copying DarwinStreamingServer to /usr/local/sbin/DarwinStreamingServer
    copying PlaylistBroadcaster to /usr/local/bin/PlaylistBroadcaster
    cp: cannot stat `PlaylistBroadcaster’: No such file or directory
    copying MP3Broadcaster to /usr/local/bin/MP3Broadcaster
    cp: omitting directory `MP3Broadcaster’
    copying qtpasswd to /usr/local/bin/qtpasswd
    cp: cannot stat `qtpasswd’: No such file or directory
    cp: cannot stat `StreamingServerModules/*’: No such file or directory
    Generating a new prefs file at /etc/streaming/streamingserver.xml
    INFO: Module Loaded…QTSSFileModule [static]
    INFO: Module Loaded…QTSSReflectorModule [static]
    INFO: Module Loaded…QTSSRelayModule [static]
    INFO: Module Loaded…QTSSAccessLogModule [static]
    INFO: Module Loaded…QTSSFlowControlModule [static]
    INFO: Module Loaded…QTSSPosixFileSysModule [static]
    INFO: Module Loaded…QTSSAdminModule [static]
    INFO: Module Loaded…QTSSMP3StreamingModule [static]
    INFO: Module Loaded…QTSSAccessModule [static]
    WARNING: No users file found at /etc/streaming/qtusers.
    WARNING: No groups file found at /etc/streaming/qtgroups.

    copying relayconfig.xml-Sample to /etc/streaming/relayconfig.xml-Sample

    copying qtusers to /etc/streaming/qtusers

    copying qtgroups to /etc/streaming/qtgroups
    copying readme.txt to /var/streaming/readme.txt
    cp: cannot stat `readme.txt’: No such file or directory
    copying 3rdPartyAcknowledgements.rtf to /var/streaming/3rdPartyAcknowledgements.rtf
    cp: cannot stat `3rdPartyAcknowledgements.rtf’: No such file or directory
    copying sample_100kbit.mov into /usr/local/movies/sample_100kbit.mov
    copying sample_300kbit.mov into /usr/local/movies/sample_300kbit.mov
    copying sample_100kbit.mp4 into /usr/local/movies/sample_100kbit.mp4
    copying sample_300kbit.mp4 into /usr/local/movies/sample_300kbit.mp4
    copying sample.mp3 into /usr/local/movies/sample.mp3
    copying sample_50kbit.3gp into /usr/local/movies/sample_50kbit.3gp
    copying sample_h264_100kbit.mp4 into /usr/local/movies/sample_h264_100kbit.mp4
    copying sample_h264_300kbit.mp4 into /usr/local/movies/sample_h264_300kbit.mp4
    copying sample_h264_1mbit.mp4 into /usr/local/movies/sample_h264_1mbit.mp4
    copying StreamingLoadTool to /usr/local/bin/StreamingLoadTool
    cp: omitting directory `StreamingLoadTool’
    copying streamingloadtool.conf to /etc/streaming/streamingloadtool.conf
    cp: cannot stat `streamingloadtool.conf’: No such file or directory
    copying streamingadminserver.pl into /usr/local/sbin/streamingadminserver.pl
    cp: cannot stat `streamingadminserver.pl’: No such file or directory
    copying Admin HTML to /var/streaming/AdminHtml directory
    cp: cannot stat `AdminHtml’: No such file or directory

    Launching streamingadminserver.pl
    ./Install: line 355: /usr/local/sbin/streamingadminserver.pl: No such file or directory

    Installation Complete

    Darwin Streaming Server Setup

    In order to administer the Darwin Streaming Server you must create an administrator user [Note: The administrator user name cannot contain spaces, or single or double quote characters, and cannot be more than 255 characters long].
    Please enter a new administrator user name: yadnesh

    You must also enter a password for the administrator user [Note: The administrator password cannot contain spaces, or quotes, either single or double, and cannot be more than 80 characters long].
    Please enter a new administrator Password:
    Re-enter the new administrator password:
    ./Install: line 408: /usr/local/bin/qtpasswd: No such file or directory
    ./Install: line 416: /usr/local/bin/qtpasswd: No such file or directory
    Setup Complete!

    ===========================================================

    • Hi Yadnesh,
      Just make few quick check:
      * Ensure that PERL is installed on your system.
      * You need to be root user to install Darwin Streaming Server.

      Hop this helps.

      Thanks,
      Hitesh A

  6. backtogeek says:

    hi Hitesh,

    I followed this to the letter on CENTOS 5.3 x86_64 but am having some issues, can you assist?

    WARNING: No users file found at /etc/streaming/qtusers.
    WARNING: No groups file found at /etc/streaming/qtgroups.

    copying relayconfig.xml-Sample to /etc/streaming/relayconfig.xml-Sample

    copying qtusers to /etc/streaming/qtusers

    copying qtgroups to /etc/streaming/qtgroups
    copying readme.txt to /var/streaming/readme.txt
    cp: cannot stat `readme.txt’: No such file or directory
    copying 3rdPartyAcknowledgements.rtf to /var/streaming/3rdPartyAcknowledgements. rtf
    cp: cannot stat `3rdPartyAcknowledgements.rtf’: No such file or directory
    copying sample_100kbit.mov into /usr/local/movies/sample_100kbit.mov
    copying sample_300kbit.mov into /usr/local/movies/sample_300kbit.mov
    copying sample_100kbit.mp4 into /usr/local/movies/sample_100kbit.mp4
    copying sample_300kbit.mp4 into /usr/local/movies/sample_300kbit.mp4
    copying sample.mp3 into /usr/local/movies/sample.mp3
    copying sample_50kbit.3gp into /usr/local/movies/sample_50kbit.3gp
    copying sample_h264_100kbit.mp4 into /usr/local/movies/sample_h264_100kbit.mp4
    copying sample_h264_300kbit.mp4 into /usr/local/movies/sample_h264_300kbit.mp4
    copying sample_h264_1mbit.mp4 into /usr/local/movies/sample_h264_1mbit.mp4
    copying StreamingLoadTool to /usr/local/bin/StreamingLoadTool
    cp: omitting directory `StreamingLoadTool’
    copying streamingloadtool.conf to /etc/streaming/streamingloadtool.conf
    cp: cannot stat `streamingloadtool.conf’: No such file or directory
    copying streamingadminserver.pl into /usr/local/sbin/streamingadminserver.pl
    cp: cannot stat `streamingadminserver.pl’: No such file or directory
    removing old version of html from /var/streaming/AdminHtml
    copying Admin HTML to /var/streaming/AdminHtml directory
    cp: cannot stat `AdminHtml’: No such file or directory

    Launching streamingadminserver.pl
    ./Install: line 355: /usr/local/sbin/streamingadminserver.pl: No such file or di rectory

    Installation Complete

  7. backtogeek says:

    I do have perl installed and am running as root

  8. backtogeek says:

    Think I have figured it out myself actualy, the Install has no path to perlpath.pl and nothing written into it to find it (and a number of other files), when moving the perlpath.pl to the DarwinStreamingSrvr6.0.3-Source folder it finds it and gets passed that error.

    I am moving all the nessisary files one at a time.

    Once I have done that I will write a modified Install file and share it with everyone as if you google: Can’t open perl script “perlpath.pl”: No such file or directory there are a ton of people with the same issue.

  9. backtogeek says:

    for anyone who is getting the errors above replace your Install file with http://pastebin.com/NWLRTj5X then chmod 755 Install and try again.

    There are a few issues with the original such as:

    1) perlpath.pl is in the WebAdmin filder not the root
    2) alot of other files that are expected to be in the root of Darwin Source folder are actualy not there
    3) some of the folder names do not match what is expected in the Install script
    4) the script looks for AdminHtml and the folder is actualy called WebAdminHtml
    5) the modules for the streamingserver are in the API folder which is not even in the install script.

    anyway did a quick and dirty mod of the install for anyone that gets the issues I got above hopefully it will help someone.

  10. backtogeek says:

    I have adapted this to make it a little more simple for people with little experience:
    http://backtogeek.wordpress.com/2010/07/20/darwin-streaming-server-centos-5-5-x86_64/

  11. fc10 says:

    I get compilation errors on Fedora Core 10 with the patches:

    Building StreamingServer for Linux.i686 with gcc
    gcc -o DarwinStreamingServer CommonUtilitiesLib/daemon.o Server.tproj/GenerateXMLPrefs.o Server.tproj/main.o Server.tproj/QTSSCallbacks.o Server.tproj/QTSSDataConverter.o Server.tproj/QTSSDictionary.o Server.tproj/QTSSErrorLogModule.o Server.tproj/QTSServer.o Server.tproj/QTSServerInterface.o Server.tproj/QTSServerPrefs.o Server.tproj/QTSSExpirationDate.o Server.tproj/QTSSFile.o Server.tproj/QTSSMessages.o Server.tproj/QTSSModule.o Server.tproj/QTSSPrefs.o Server.tproj/QTSSSocket.o Server.tproj/QTSSUserProfile.o Server.tproj/RTCPTask.o Server.tproj/RTPBandwidthTracker.o Server.tproj/RTPOverbufferWindow.o Server.tproj/RTPPacketResender.o Server.tproj/RTPSession3GPP.o Server.tproj/RTPSession.o Server.tproj/RTPSessionInterface.o Server.tproj/RTPStream3gpp.o Server.tproj/RTPStream.o Server.tproj/RTSPProtocol.o Server.tproj/RTSPRequest3GPP.o Server.tproj/RTSPRequest.o Server.tproj/RTSPRequestInterface.o Server.tproj/RTSPRequestStream.o Server.tproj/RTSPResponseStream.o Server.tproj/RTSPSession3GPP.o Server.tproj/RTSPSession.o Server.tproj/RTSPSessionInterface.o Server.tproj/RunServer.o PrefsSourceLib/FilePrefsSource.o PrefsSourceLib/XMLPrefsParser.o PrefsSourceLib/XMLParser.o OSMemoryLib/OSMemory.o RTSPClientLib/RTSPClient.o RTSPClientLib/ClientSocket.o HTTPUtilitiesLib/HTTPProtocol.o HTTPUtilitiesLib/HTTPRequest.o RTCPUtilitiesLib/RTCPAckPacket.o RTCPUtilitiesLib/RTCPAPPNADUPacket.o RTCPUtilitiesLib/RTCPAPPPacket.o RTCPUtilitiesLib/RTCPAPPQTSSPacket.o RTCPUtilitiesLib/RTCPPacket.o RTCPUtilitiesLib/RTCPSRPacket.o RTPMetaInfoLib/RTPMetaInfoPacket.o APIStubLib/QTSS_Private.o APICommonCode/QTSSModuleUtils.o APICommonCode/QTSSRollingLog.o APICommonCode/SDPSourceInfo.o APICommonCode/SourceInfo.o APICommonCode/QTAccessFile.o APICommonCode/QTSS3GPPModuleUtils.o SafeStdLib/InternalStdLib.o APIModules/QTSSAccessLogModule/QTSSAccessLogModule.o APIModules/QTSSFileModule/QTSSFileModule.o APIModules/QTSSFlowControlModule/QTSSFlowControlModule.o APIModules/QTSSReflectorModule/QTSSReflectorModule.o APIModules/QTSSReflectorModule/QTSSRelayModule.o APIModules/QTSSReflectorModule/ReflectorSession.o APIModules/QTSSReflectorModule/RelaySession.o APIModules/QTSSReflectorModule/ReflectorStream.o APIModules/QTSSReflectorModule/RCFSourceInfo.o APIModules/QTSSReflectorModule/RTSPSourceInfo.o APIModules/QTSSReflectorModule/RelayOutput.o APIModules/QTSSReflectorModule/RelaySDPSourceInfo.o APIModules/QTSSReflectorModule/RTPSessionOutput.o APIModules/QTSSReflectorModule/SequenceNumberMap.o APIModules/QTSSWebDebugModule/QTSSWebDebugModule.o APIModules/QTSSWebStatsModule/QTSSWebStatsModule.o APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.o APIModules/QTSSAdminModule/AdminElementNode.o APIModules/QTSSAdminModule/AdminQuery.o APIModules/QTSSAdminModule/QTSSAdminModule.o APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.o APIModules/QTSSRTPFileModule/QTSSRTPFileModule.o APIModules/QTSSRTPFileModule/RTPFileSession.o APIModules/QTSSAccessModule/QTSSAccessModule.o APIModules/QTSSHttpFileModule/QTSSHttpFileModule.o APIModules/QTSSAccessModule/AccessChecker.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -LCommonUtilitiesLib -LQTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileLib
    Server.tproj/RTPSessionInterface.o: In function `RTPSessionInterface::SetValueComplete(unsigned int, QTSSDictionaryMap*, unsigned int, void*, unsigned int)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSessionInterface.cpp:221: undefined reference to `TimeoutTask::SetTimeout(long long)’
    Server.tproj/RTPSessionInterface.o: In function `RTPSessionInterface’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSessionInterface.cpp:149: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSessionInterface.cpp:149: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    Server.tproj/RTSPRequestStream.o: In function `RTSPRequestStream::ReadRequest()’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPRequestStream.cpp:183: undefined reference to `DateTranslator::UpdateDateBuffer(DateBuffer*, long long const&, long)’
    Server.tproj/RTSPResponseStream.o: In function `RTSPResponseStream::Flush()’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPResponseStream.cpp:159: undefined reference to `DateTranslator::UpdateDateBuffer(DateBuffer*, long long const&, long)’
    Server.tproj/RTSPResponseStream.o: In function `RTSPResponseStream::WriteV(iovec*, unsigned int, unsigned int, unsigned int*, unsigned int)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPResponseStream.cpp:61: undefined reference to `DateTranslator::UpdateDateBuffer(DateBuffer*, long long const&, long)’
    Server.tproj/RTSPSessionInterface.o: In function `RTSPSessionInterface’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPSessionInterface.cpp:120: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPSessionInterface.cpp:120: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    PrefsSourceLib/XMLParser.o: In function `XMLParser::ParseFile(char*, int)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/PrefsSourceLib/XMLParser.cpp:74: undefined reference to `OSFileSource::Read(unsigned long long, void*, unsigned int, unsigned int*)’
    RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    APICommonCode/QTAccessFile.o: In function `QTAccessFile::AuthorizeRequest(QTSS_StandardRTSP_Params*, unsigned short, unsigned int, unsigned int, unsigned short*, unsigned short*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APICommonCode/QTAccessFile.cpp:542: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    APICommonCode/QTAccessFile.o: In function `QTAccessFile::FindUsersAndGroupsFilesAndAuthScheme(char*, unsigned int, char**, char**)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APICommonCode/QTAccessFile.cpp:401: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    APIModules/QTSSFileModule/QTSSFileModule.o: In function `DoDescribe’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSFileModule/QTSSFileModule.cpp:689: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    APIModules/QTSSFileModule/QTSSFileModule.o: In function `DoPlay’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSFileModule/QTSSFileModule.cpp:1241: undefined reference to `QTRTPFile::SeekToPacketNumber(unsigned int, unsigned long long)’
    APIModules/QTSSReflectorModule/QTSSReflectorModule.o: In function `FindOrCreateSession(StrPtrLen*, QTSS_StandardRTSP_Params*, StrPtrLen*, unsigned short, unsigned short*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1392: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1304: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    APIModules/QTSSReflectorModule/QTSSReflectorModule.o: In function `DoDescribe’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1177: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    APIModules/QTSSReflectorModule/QTSSRelayModule.o: In function `FindSourceInfos’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:982: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    APIModules/QTSSReflectorModule/ReflectorStream.o: In function `IdleTask::SetIdleTimer(long long)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/IdleTask.h:91: undefined reference to `IdleTaskThread::SetIdleTimer(IdleTask*, long long)’
    APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.o: In function `AdviseFile’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp:180: undefined reference to `OSFileSource::Advise(unsigned long long, unsigned int)’
    APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.o: In function `ReadFile’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp:192: undefined reference to `OSFileSource::Read(unsigned long long, void*, unsigned int, unsigned int*)’
    APIModules/QTSSAccessModule/AccessChecker.o: In function `AccessChecker::UpdateUserProfiles()’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSAccessModule/AccessChecker.cpp:192: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSAccessModule/AccessChecker.cpp:210: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSAccessModule/AccessChecker.cpp:242: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/APIModules/QTSSAccessModule/AccessChecker.cpp:240: undefined reference to `QTSSModuleUtils::ReadEntireFile(char*, StrPtrLen*, long long, long long*)’
    QTFileLib/libQTFileLib.a(QTHintTrack.o): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [DarwinStreamingServer] Error 1
    Building RefMovieModule for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building DemoAuthorizationModule for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building RawFileModule for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building SpamDefenseModule for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building HomeDirectoryModule for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building StreamingProxy for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building qtpasswd for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building PlaylistBroadcaster for Linux.i686 with gcc
    gcc -o PlaylistBroadcaster ../CommonUtilitiesLib/daemon.o ../CommonUtilitiesLib/getopt.o BCasterTracker.o BroadcastLog.o NoRepeat.o PickerFromFile.o PlaylistBroadcaster.o PlaylistPicker.o playlist_broadcaster.o playlist_elements.o playlist_lists.o playlist_parsers.o playlist_SDPGen.o playlist_SimpleParse.o playlist_utils.o PLBroadcastDef.o ../APICommonCode/QTSSRollingLog.o ../RTSPClientLib/ClientSocket.o ../RTSPClientLib/RTSPClient.o BroadcasterSession.o ../APICommonCode/SDPSourceInfo.o ../APICommonCode/SourceInfo.o ../OSMemoryLib/OSMemory.o ../SafeStdLib/InternalStdLib.o ../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../CommonUtilitiesLib -L../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../CommonUtilitiesLib/libCommonUtilitiesLib.a ../QTFileLib/libQTFileExternalLib.a
    BroadcasterSession.o: In function `BroadcasterSession’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/PlaylistBroadcaster.tproj/BroadcasterSession.cpp:91: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/PlaylistBroadcaster.tproj/BroadcasterSession.cpp:91: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    ../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [PlaylistBroadcaster] Error 1
    Building MP3Broadcaster for Linux.i686 with gcc
    make: Nothing to be done for `all’.
    Building QTFileTools for Linux.i686 with gcc
    Building QTBroadcaster for Linux.i686 with gcc
    gcc -o QTBroadcaster QTBroadcaster.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTBroadcaster] Error 1
    Building QTFileInfo for Linux.i686 with gcc
    gcc -o QTFileInfo QTFileInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTFileInfo] Error 1
    Building QTFileTest for Linux.i686 with gcc
    gcc -o QTFileTest QTFileTest.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTFileTest] Error 1
    Building QTRTPFileTest for Linux.i686 with gcc
    gcc -o QTRTPFileTest QTRTPFileTest.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTRTPFileTest] Error 1
    Building QTRTPGen for Linux.i686 with gcc
    gcc -o QTRTPGen QTRTPGen.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTRTPGen] Error 1
    Building QTSDPGen for Linux.i686 with gcc
    gcc -o QTSDPGen QTSDPGen.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTSDPGen] Error 1
    Building QTSampleLister for Linux.i686 with gcc
    gcc -o QTSampleLister QTSampleLister.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTSampleLister] Error 1
    Building QTTrackInfo for Linux.i686 with gcc
    gcc -o QTTrackInfo QTTrackInfo.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../../CommonUtilitiesLib -L../../QTFileLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
    ../../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    ../../QTFileLib/libQTFileExternalLib.a(QTHintTrack.xo): In function `QTHintTrack::GetPacket(unsigned int, unsigned short, char*, unsigned int*, double*, unsigned short, unsigned short, unsigned int, QTHintTrack_HintTrackControlBlock*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1306: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1330: undefined reference to `OS::HostToNetworkSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileLib/QTHintTrack.cpp:1300: undefined reference to `OS::HostToNetworkSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [QTTrackInfo] Error 1
    Building StreamingLoadTool for Linux.i686 with gcc
    gcc -o StreamingLoadTool StreamingLoadTool.o ../SafeStdLib/InternalStdLib.o ../RTSPClientLib/ClientSocket.o ../RTSPClientLib/RTSPClient.o ../RTSPClientLib/ClientSession.o ../RTCPUtilitiesLib/RTCPAckPacket.o ../RTCPUtilitiesLib/RTCPAPPNADUPacket.o ../RTCPUtilitiesLib/RTCPAPPPacket.o ../RTCPUtilitiesLib/RTCPAPPQTSSPacket.o ../RTCPUtilitiesLib/RTCPPacket.o ../RTCPUtilitiesLib/RTCPSRPacket.o ../PrefsSourceLib/FilePrefsSource.o ../APICommonCode/SDPSourceInfo.o ../APICommonCode/SourceInfo.o ../RTPMetaInfoLib/RTPMetaInfoPacket.o ../OSMemoryLib/OSMemory.o -D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -L../CommonUtilitiesLib -lpthread -ldl -lstdc++ -lm -lcrypt -lCommonUtilitiesLib ../CommonUtilitiesLib/libCommonUtilitiesLib.a
    ../RTSPClientLib/ClientSession.o: In function `ClientSession’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/../RTSPClientLib/ClientSession.cpp:150: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/../RTSPClientLib/ClientSession.cpp:150: undefined reference to `TimeoutTask::TimeoutTask(Task*, long long)’
    ../RTPMetaInfoLib/RTPMetaInfoPacket.o: In function `RTPMetaInfoPacket::ParsePacket(unsigned char*, unsigned int, int*)’:
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:197: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:186: undefined reference to `OS::NetworkToHostSInt64(int)’
    /tmp/DarwinStreamingSrvr6.0.3-Source/QTFileTools/QTBroadcaster.tproj/../../RTPMetaInfoLib/RTPMetaInfoPacket.cpp:180: undefined reference to `OS::NetworkToHostSInt64(int)’
    collect2: ld returned 1 exit status
    make: *** [StreamingLoadTool] Error 1

  12. oscar says:

    Hey, I’ve got the same errors on ubuntu 10.04

    undefined reference to `OS::NetworkToHostSInt64(int)’

  13. Pingback: Media Streaming

  14. Arnie says:

    When I run the Buildit command, I get the following errors

    OSHeaders.h:158: error: two or more data types in declaration specifiers
    OSHeaders.h:159: error: two or more data types in declaration specifiers

    ../CommonUtilitiesLib/OSHeaders.h:158: error: two or more data types in declaration of ‘SInt64’
    ../CommonUtilitiesLib/OSHeaders.h:159: error: two or more data types in declaration of ‘UInt64’

    \
    ../CommonUtilitiesLib/OSRef.h:230: error: ‘kUInt32_Max’ was not declared in this scope

    BroadcasterMain.cpp: In function ‘void RegisterEventHandlers()’:
    BroadcasterMain.cpp:232: error: expected `)’ before ‘_SPOINTERSIZEARG_’
    BroadcasterMain.cpp:239: error: expected `)’ before ‘_SPOINTERSIZEARG_’
    BroadcasterMain.cpp:247: error: expected `)’ before ‘_SPOINTERSIZEARG_’
    BroadcasterMain.cpp:255: error: expected `)’ before ‘_SPOINTERSIZEARG_’
    BroadcasterMain.cpp:263: error: expected `)’ before ‘_SPOINTERSIZEARG_’
    BroadcasterMain.cpp: In function ‘void SignalEventHandler(int)’:
    BroadcasterMain.cpp:285: error: expected `)’ before ‘_SPOINTERSIZEARG_’
    make: *** [BroadcasterMain.o] Error 1

    ../CommonUtilitiesLib/OSRef.h:230: error: ‘kUInt32_Max’ was not declared in this scope
    ../RTSPClientLib/RTSPClient.h: At global scope:
    ../RTSPClientLib/RTSPClient.h:253: error: ‘kUInt32_Max’ was not declared in this scope
    ../RTSPClientLib/RTSPClient.h:357: error: ‘kUInt32_Max’ was not declared in this scope
    ../RTSPClientLib/RTSPClient.h:403: error: ‘kUInt32_Max’ was not declared in this scope

    I am building on a RH 5.4 system

    Any ideas?

    Thanks
    Arnie

  15. Arnie says:

    Please excuse my last post. I had run the patch commands with -pl (el) instead of -p1.
    Once I redid things, the build worked fine.

    Arnie

  16. Arnie says:

    No problem installing and starting up the Darwin server after picking up the updated Install file, however when I attempted to run the

    /usr/local/sbin/sreamingadminserver.pl script, I get the following error message:

    Couldn’t find the en language messages file! at /usr/local/sbin/streamingadminserver.pl line 2168.

    NOTE: One other thing that I got during the install was

    WARNING: No ssers file found at /etc/streaming/qtusers
    WARNING No groups file found at /etc/streaming qtgroups

    Any help would be apprecieated.

    Thanks
    Arnie

  17. Bill says:

    Arnie,

    I had the same issue on my server (Debian Squeeze). For whatever reason the new Install.sh file does not create the /var/streaming/AdminHtml folder. I created it manually and ran Install.sh and it worked.

    Bill

  18. Axel says:

    Hello Hitesh,

    I followed your instructions, and with the help of the other comments I managed to install DSS 6.0.3 on Suse 11.3. I can access the admin web app, and I can see the videos, when I paste the url into the quick time player. But, I cannot see them in an embedded html page.
    Take a look: http://213.165.71.140/testpage.html, where I embed the player like this:

    What am I doing wrong?

    Thanks,
    Axel

  19. Axel says:

    Hello Hitesh,

    I followed your instructions, and with the help of the other comments I managed to install DSS 6.0.3 on Suse 11.3. I can access the admin web app, and I can see the videos, when I paste the

    url into the quick time player. But, I cannot see them in an embedded html page.
    Take a look: http://213.165.71.140/testpage.html, where I embed the player like this:

    What am I doing wrong?

    Thanks,
    Axel

  20. [email protected] says:

    @Arnie
    >Couldn’t find the en language messages file! at /usr/local/sbin/streamingadminserver.pl line 2168.

    that’s maybe because you didn’t run is as root. i found out that it’s not required to run the perl script.

    $ ls -l /usr/local/sbin/streamingadminserver.pl
    -rwxr-xr-x 1 root staff 61523 Feb 21 01:55 /usr/local/sbin/streamingadminserver.pl
    $

  21. Barnaby says:

    Any one had this problem ?

    ./Install.sh: line 408: /usr/local/bin/qtusers: No such file or directory
    ./Install.sh: line 416: /usr/local/bin/qtpasswd: No such file or directory

  22. Patrick says:

    Hello Hitesh,
    I have tried several times to install however the DarwinStremaingServer located in ?usr/local/sbin is never created. I’m unable to start the server. I have checked the script and see the entries however it will not install. I am running as root.

    Any suggestions will be greatly appreciated.

    Environment RHEL5.8 and Fedora 16 using DSS6.0.3

  23. Patrick says:

    @ Barnaby
    Hi Barnaby

    I get the same error. Does your serer run?

  24. Pingback: Need help regarding hosting a streaming server for a school.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>