[mythtv] Errors compiling mythfrontend

Andrew Kimpton awk at awkward.org
Mon Aug 21 15:13:40 UTC 2006


Quoting Geoffrey Kruse <gkruse at gmail.com>:

> Sorry, forgot to include the actual error.
>
> Geoff
>
> ccache 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 -Wall -W -O3 -I/Users/geoff/Desktop/.osx-packager/build/
> include -no-cpp-precomp -pipe -fomit-frame-pointer -
> force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -fno-inline-
> functions -I/Users/geoff/Desktop/.osx-packager/build/include/ freetype2
> -I/Users/geoff/Desktop/.osx-packager/build/include -DPIC - fPIC
> -DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=
> \"/Users/geoff/Desktop/.osx-packager/build\" -DLIBDIR=\"/Users/geoff/
> Desktop/.osx-packager/build/lib\" -D_LARGEFILE_SOURCE -
> DUSING_H264TOOLS -DUSING_FRONTEND -DUSING_CRC_IP_NETWORK_REC -
> DUSING_DBOX2 -DUSING_FREEBOX -DUSING_HDHOMERUN -DUSING_BACKEND -
> DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -
> DQT_ACCESSIBILITY_SUPPORT -I/Users/geoff/Desktop/.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 -I../
> libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/
> groupsock/include -I../libmythlivemedia/liveMedia/include -I../
> libmythlivemedia/UsageEnvironment/include -I/Users/geoff/Desktop/.osx-
> packager/src/qt-mac-free-3.3.6/include -o interactivetv.o
> interactivetv.cpp
> /usr/include/architecture/ppc/math.h:179: error: 'always_inline' was
> not declared in this scope

It seems that moving the :

#include "../libavcodec/avcodec.h"

line in libs/libmythtv/mhi.h to the end of the header include list  
resolves the error (at least for libmythtv). I also noted however that  
removing this line entirely doesn't seem to cause any compilation  
errors (at least on the Mac 8-)

I'll open a bug and attach the patch shortly.

Andrew 8-)



More information about the mythtv-dev mailing list