compile (darwin streaming server) error on linux
compile (darwin streaming server) error on linux
- Subject: compile (darwin streaming server) error on linux
- From: Manos Moschous <email@hidden>
- Date: Tue, 06 Sep 2005 12:08:15 +0300
Hi,
I am trying to compile the source code of Darwin streaming server
(5.5.1) on a linux platform but i get some errors and the compilation fails.
The errors and warnings i got:
MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
OSRef.h:111: error: 'OSRefKey' was not declared in this scope
OSRef.h:111: error: template argument 2 is invalid
OSRef.h:111: error: friend declaration does not name a class or function
OSRef.h:112: error: 'OSRefKey' was not declared in this scope
OSRef.h:112: error: template argument 2 is invalid
OSRef.h:112: error: friend declaration does not name a class or function
make: *** [EventContext.o] Error 1
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
QTHintTrack.cpp: In member function 'virtual QTTrack::ErrorCode QTHintTrack::Initialize()':
QTHintTrack.cpp:317: warning: 'trackID' may be used uninitialized in this function
QTHintTrack.cpp: In member function 'QTTrack::ErrorCode QTHintTrack::GetPacket(UInt32, UInt16, char*, UInt32*, Float64*, Bool16, Bool16, UInt32, QTHintTrack_HintTrackControlBlock*)':
QTHintTrack.cpp:1153: warning: 'hdrData$hintFlags' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$dataEntryCount' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$tlvTimestampOffset' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$relativePacketTransmissionTime' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$rtpHeaderBits' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$rtpSequenceNumber' may be used uninitialized in this function
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
QTRTPFile.cpp: In member function 'QTRTPFile::ErrorCode QTRTPFile::AddTrack(UInt32, Bool16)':
QTRTPFile.cpp:680: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'void QTRTPFile::SetTrackSSRC(UInt32, UInt32)':
QTRTPFile.cpp:759: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'void QTRTPFile::SetTrackCookies(UInt32, void*, UInt32)':
QTRTPFile.cpp:775: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'void QTRTPFile::SetTrackRTPMetaInfo(UInt32, SInt32*, Bool16)':
QTRTPFile.cpp:805: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'UInt16 QTRTPFile::GetNextTrackSequenceNumber(UInt32)':
QTRTPFile.cpp:1217: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'Float64 QTRTPFile::GetTrackDuration(UInt32)':
QTRTPFile.cpp:727: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'UInt32 QTRTPFile::GetTrackTimeScale(UInt32)':
QTRTPFile.cpp:743: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'UInt32 QTRTPFile::GetSeekTimestamp(UInt32)':
QTRTPFile.cpp:1157: warning: 'trackEntry' may be used uninitialized in this function
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
ar: creating libQTFileLib.a
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
QTHintTrack.cpp: In member function 'virtual QTTrack::ErrorCode QTHintTrack::Initialize()':
QTHintTrack.cpp:317: warning: 'trackID' may be used uninitialized in this function
QTHintTrack.cpp: In member function 'QTTrack::ErrorCode QTHintTrack::GetPacket(UInt32, UInt16, char*, UInt32*, Float64*, Bool16, Bool16, UInt32, QTHintTrack_HintTrackControlBlock*)':
QTHintTrack.cpp:1153: warning: 'hdrData$hintFlags' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$dataEntryCount' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$tlvTimestampOffset' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$relativePacketTransmissionTime' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$rtpHeaderBits' may be used uninitialized in this function
QTHintTrack.cpp:1153: warning: 'hdrData$rtpSequenceNumber' may be used uninitialized in this function
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
QTRTPFile.cpp: In member function 'QTRTPFile::ErrorCode QTRTPFile::AddTrack(UInt32, Bool16)':
QTRTPFile.cpp:680: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'void QTRTPFile::SetTrackSSRC(UInt32, UInt32)':
QTRTPFile.cpp:759: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'void QTRTPFile::SetTrackCookies(UInt32, void*, UInt32)':
QTRTPFile.cpp:775: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'void QTRTPFile::SetTrackRTPMetaInfo(UInt32, SInt32*, Bool16)':
QTRTPFile.cpp:805: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'UInt16 QTRTPFile::GetNextTrackSequenceNumber(UInt32)':
QTRTPFile.cpp:1217: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'Float64 QTRTPFile::GetTrackDuration(UInt32)':
QTRTPFile.cpp:727: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'UInt32 QTRTPFile::GetTrackTimeScale(UInt32)':
QTRTPFile.cpp:743: warning: 'trackEntry' may be used uninitialized in this function
QTRTPFile.cpp: In member function 'UInt32 QTRTPFile::GetSeekTimestamp(UInt32)':
QTRTPFile.cpp:1157: warning: 'trackEntry' may be used uninitialized in this function
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
ar: creating libQTFileExternalLib.a
CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
CommonUtilitiesLib/OSRef.h:111: error: 'OSRefKey' was not declared in this scope
CommonUtilitiesLib/OSRef.h:111: error: template argument 2 is invalid
CommonUtilitiesLib/OSRef.h:111: error: friend declaration does not name a class or function
CommonUtilitiesLib/OSRef.h:112: error: 'OSRefKey' was not declared in this scope
CommonUtilitiesLib/OSRef.h:112: error: template argument 2 is invalid
CommonUtilitiesLib/OSRef.h:112: error: friend declaration does not name a class or function
PrefsSourceLib/PrefsSource.h:46: warning: 'class PrefsSource' has virtual functions but non-virtual destructor
PrefsSourceLib/XMLParser.h:35: warning: 'class DTDVerifier' has virtual functions but non-virtual destructor
CommonUtilitiesLib/UDPDemuxer.h:88: error: 'UDPDemuxerKey' was not declared in this scope
CommonUtilitiesLib/UDPDemuxer.h:88: error: template argument 2 is invalid
CommonUtilitiesLib/UDPDemuxer.h:88: error: friend declaration does not name a class or function
make: *** [Server.tproj/QTSSCallbacks.o] Error 1
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)':
../../CommonUtilitiesLib/SDPUtils.h:92: warning: array subscript has type 'char'
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTSSRefMovieModule'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTSSDemoAuthorizationModule'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTSSRawFileModule'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
QTSSSpamDefenseModule.cpp:61: error: 'IPAddrTableKey' was not declared in this scope
QTSSSpamDefenseModule.cpp:61: error: template argument 2 is invalid
QTSSSpamDefenseModule.cpp:61: error: friend declaration does not name a class or function
../../CommonUtilitiesLib/OSHashTable.h: In member function 'T* OSHashTable<T, K>::Map(K*) [with T = IPAddrTableElem, K = IPAddrTableKey]':
QTSSSpamDefenseModule.cpp:215: instantiated from here
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:100: error: within this context
../../CommonUtilitiesLib/OSHashTable.h: In member function 'void OSHashTable<T, K>::Add(T*) [with T = IPAddrTableElem, K = IPAddrTableKey]':
QTSSSpamDefenseModule.cpp:221: instantiated from here
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:63: error: within this context
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:66: error: within this context
../../CommonUtilitiesLib/OSHashTable.h: In member function 'void OSHashTable<T, K>::Remove(T*) [with T = IPAddrTableElem, K = IPAddrTableKey]':
QTSSSpamDefenseModule.cpp:277: instantiated from here
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:78: error: within this context
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:85: error: within this context
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:85: error: within this context
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:87: error: within this context
QTSSSpamDefenseModule.cpp:58: error: 'IPAddrTableElem* IPAddrTableElem::fNextHashEntry' is private
../../CommonUtilitiesLib/OSHashTable.h:88: error: within this context
make: *** [QTSSSpamDefenseModule.o] Error 1
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../../CommonUtilitiesLib/OSRef.h:111: error: 'OSRefKey' was not declared in this scope
../../CommonUtilitiesLib/OSRef.h:111: error: template argument 2 is invalid
../../CommonUtilitiesLib/OSRef.h:111: error: friend declaration does not name a class or function
../../CommonUtilitiesLib/OSRef.h:112: error: 'OSRefKey' was not declared in this scope
../../CommonUtilitiesLib/OSRef.h:112: error: template argument 2 is invalid
../../CommonUtilitiesLib/OSRef.h:112: error: friend declaration does not name a class or function
make: *** [DirectoryInfo.o] Error 1
proxy.c: In function 'service_session':
proxy.c:1023: warning: 'num' may be used uninitialized in this function
proxy_unix.c: In function 'set_socket_max_buf':
proxy_unix.c:375: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
proxy_unix.c:379: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
proxy_unix.c:381: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
proxy_unix.c:385: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
proxy_unix.c: In function 'get_interface_addr':
proxy_unix.c:468: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
proxy_unix.c: In function 'recv_udp':
proxy_unix.c:480: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
QTSSPasswd.cpp:421: warning: 'char* SetTempPath(char*, int, char*, int, char)' defined but not used
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
gcc: ../CommonUtilitiesLib/libCommonUtilitiesLib.a: No such file or directory
make: *** [qtpasswd] Error 1
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/OSRef.h:111: error: 'OSRefKey' was not declared in this scope
../CommonUtilitiesLib/OSRef.h:111: error: template argument 2 is invalid
../CommonUtilitiesLib/OSRef.h:111: error: friend declaration does not name a class or function
../CommonUtilitiesLib/OSRef.h:112: error: 'OSRefKey' was not declared in this scope
../CommonUtilitiesLib/OSRef.h:112: error: template argument 2 is invalid
../CommonUtilitiesLib/OSRef.h:112: error: friend declaration does not name a class or function
../CommonUtilitiesLib/UDPDemuxer.h:88: error: 'UDPDemuxerKey' was not declared in this scope
../CommonUtilitiesLib/UDPDemuxer.h:88: error: template argument 2 is invalid
../CommonUtilitiesLib/UDPDemuxer.h:88: error: friend declaration does not name a class or function
make: *** [BroadcastLog.o] Error 1
../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
../CommonUtilitiesLib/OSRef.h:111: error: 'OSRefKey' was not declared in this scope
../CommonUtilitiesLib/OSRef.h:111: error: template argument 2 is invalid
../CommonUtilitiesLib/OSRef.h:111: error: friend declaration does not name a class or function
../CommonUtilitiesLib/OSRef.h:112: error: 'OSRefKey' was not declared in this scope
../CommonUtilitiesLib/OSRef.h:112: error: template argument 2 is invalid
../CommonUtilitiesLib/OSRef.h:112: error: friend declaration does not name a class or function
make: *** [BroadcasterMain.o] Error 1
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTBroadcaster'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTFileInfo'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTFileTest'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTRTPFileTest'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTRTPGen'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTSDPGen'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTSampleLister'. Stop.
../../CommonUtilitiesLib/MyAssert.h:34: warning: 'class AssertLogger' has virtual functions but non-virtual destructor
make: *** No rule to make target `../../CommonUtilitiesLib/libCommonUtilitiesLib.a', needed by `QTTrackInfo'. Stop.
Could you please help me..?
Thanks in advance!
--
Manos Moschous
Postgraduate Student
Distributed Computing Systems (DCS)
Institute of Computer Science (ICS-FORTH)
Heraklion, Crete, Greece
Tel +30 (2810) 391663
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden