[mythtv-commits] Ticket #2212: libmythtv fails to compile on Mac OS X after upgrading to XCode 2.4

MythTV mythtv at cvs.mythtv.org
Mon Aug 21 15:16:46 UTC 2006


#2212: libmythtv fails to compile on Mac OS X after upgrading to XCode 2.4
-----------------------------+----------------------------------------------
 Reporter:  awk at awkward.org  |       Owner:  ijr
     Type:  defect           |      Status:  new
 Priority:  minor            |   Milestone:     
Component:  mythtv           |     Version:     
 Severity:  medium           |  
-----------------------------+----------------------------------------------
 libmythtv fails to compile with errors :

 g++ -c -pipe -mcpu=7450 -mtune=7450 -mpowerpc-gfxopt -faltivec
 -F/System/Library/Frameworks/{AGL,ApplicationServices,Carbon,Cocoa,OpenGL,QuickTime}.framework/Frameworks
 -F/System/Library/PrivateFrameworks/{DVD}.framework/Frameworks
 -F/Developer/FireWireSDK22/Examples/Framework -Wall -W -g
 -I/usr/local/include/freetype2 -I/usr/local/include -DPIC -fPIC
 -DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE
 -DUSING_H264TOOLS -DUSING_FRONTEND -DUSING_CRC_IP_NETWORK_REC
 -DUSING_FIREWIRE -DUSING_MAC_GO7007 -DUSING_DBOX2 -DUSING_FREEBOX
 -DUSING_HDHOMERUN -DUSING_BACKEND -DQT_THREAD_SUPPORT -DQT_SHARED
 -DQT_ACCESSIBILITY_SUPPORT -DQT_NO_DEBUG -I/Development/mythtv/qt-mac-
 free-3.3.6-snapshot-latest/mkspecs/default -I. -I/usr/local/include
 -I../.. -I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2
 -Idvbdev -Impeg -I../libmythlivemedia/BasicUsageEnvironment/include
 -I../libmythlivemedia/groupsock/include
 -I../libmythlivemedia/liveMedia/include
 -I../libmythlivemedia/UsageEnvironment/include -I/Development/mythtv/qt-
 mac-free-3.3.6-snapshot-latest/include -o interactivetv.o
 interactivetv.cpp
 /usr/include/architecture/ppc/math.h:179: error: 'always_inline' was not
 declared in this scope
 /usr/include/architecture/ppc/math.h:179: error: expected `)' before
 'inline'
 /usr/include/architecture/ppc/math.h:179: error: expected `)' before
 'inline'
 /usr/include/architecture/ppc/math.h:179: error: expected initializer
 before 'inline'

 after upgrading to XCode 2.4 - this is because of the underlying
 redefinition of always_inline in the ffmpeg (and by association mythtv)
 headers.

 The attached patch to mhi.h rearranges the header include order to fix the
 problem.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2212>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list