[mythtv-commits] Ticket #3042: Mac OSX compile error with Firewire SDK 23
MythTV
mythtv at cvs.mythtv.org
Sun Feb 4 14:26:53 UTC 2007
#3042: Mac OSX compile error with Firewire SDK 23
---------------------+------------------------------------------------------
Reporter: danielk | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium |
---------------------+------------------------------------------------------
We use some of the example code in the Firewire SDK in our OS X firewire
recorder, but this code has changed in version 23 of the SDK. Long term we
should eliminate our usage of the example code, short term we should rejig
the includes so that this compiles as is with the new SDK.
{{{
g++ -c -pipe -mcpu=7450 -mtune=7450 -mpowerpc-gfxopt -faltivec -Wno-long-
double
-F/System/Library/Frameworks/{AGL,ApplicationServices,Carbon,Cocoa,OpenGL,QuickTime}.framework/Frameworks
-F/System/Library/PrivateFrameworks/{DVD}.framework/Frameworks
-F/Developer/FireWireSDK23/Examples/Framework -Wall -W -O3
-I/nobackup/myth/.osx-packager/build/include -no-cpp-precomp -pipe
-force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -Wall -Wno-
switch -Wno-non-virtual-dtor -fno-inline-functions -I/nobackup/myth/.osx-
packager/build/include/freetype2 -I/nobackup/myth/.osx-
packager/build/include -DPIC -fPIC -DUSING_APPLEREMOTE -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/nobackup/myth/.osx-packager/build\"
-DLIBDIR=\"/nobackup/myth/.osx-packager/build/lib\" -D_LARGEFILE_SOURCE
-DUSING_H264TOOLS -DUSING_FRONTEND -DUSING_OSX_FIREWIRE -DUSING_FIREWIRE
-DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_BACKEND -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUP
PORT -I/nobackup/myth/.osx-packager/src/qt-mac-free-3.3.6/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include -I../..
-I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2
-Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/nobackup/myth/.osx-
packager/src/qt-mac-free-3.3.6/include -o darwinfirewiredevice.o
darwinfirewiredevice.cpp
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:56:
error: 'kFWAVCStreamReceivedBadPacket' was not declared in this scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:57:
error: 'kFWAVCStreamDCLOverrun' was not declared in this scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:58:
error: 'kFWAVCStreamAllocateIsochPort' was not declared in this scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:59:
error: 'kFWAVCStreamReleaseIsochPort' was not declared in this scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:73:
error: 'kFWAVCNumMPEG2ReceiveSegments' was not declared in this scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:74:
error: 'kFWAVCCyclesPerMPEG2ReceiveSegment' was not declared in this scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:75:
error: 'kFWAVCMaxNumMPEG2ReceivePacketsPerCycle' was not declared in this
scope
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:149:
error: 'FWAVCMPEGReceiveCycleData' does not name a type
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:152:
error: 'MPEGReceiveCycleData' has not been declared
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:262:
error: ISO C++ forbids declaration of 'MPEGReceiveCycleData' with no type
/Developer/FireWireSDK23/Examples/Framework/AVCVideoServices.framework/Headers/MPEG2Receiver.h:262:
error: expected ';' before '*' token
make[2]: *** [darwinfirewiredevice.o] Error 1
make[1]: *** [sub-libmythtv] Error 2
make: *** [sub-libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make " with error code 2
Died at /nobackup/myth/.osx-packager/src/myth-svn/mythtv/contrib/OSX/osx-
packager.pl line 885.
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3042>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list