[mythtv] Mac OS X patch 2

Joseph A. Caputo jcaputo1 at comcast.net
Tue Jun 1 10:24:00 EDT 2004


On Friday 28 May 2004 19:28, Nigel Pearson wrote:
> 	This fixes the nasty library problems I was having when
> CONFIG += release, and the nasty .pro file hacks I put in to
> work around those problems. (for the curious, -03 seems to
> optimise out some Qt moc symbols from libraries on Mac OS X).

What kind of setup are you using this patch on?  I have a G3 (white) 
iBook with OS X 10.2 (Jaguar), and it doesn't compile for me.  I get:

cd libavcodec && make -f Makefile
cc -c -pipe -w -g -O -DHAVE_AV_CONFIG_H -I.. -DPIC 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -maltivec 
-mabi=altivec  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/
local\" -DUSING_IVTV -DUSING_OSS -DHAVE_LINUX_SOUNDCARD_H 
-DQT_THREAD_SUPPORT -I../.. -I/usr/local/qt-mac-free-3.1.2/include -I/
usr/local/qt-mac-free-3.1.2/mkspecs/default -o h263.o h263.c
mpegvideo.h:126: illegal declaration, missing `;' after `)'
mpegvideo.h:126: illegal member declaration, missing name, found `;'
mpegvideo.h:485: illegal declaration, missing `;' after `)'
h263.c:232: bad macro argument list
h263.c:232: bad macro argument list
h263.c:232: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
<built-in>:1:1: no macro name given in #define directive
make[2]: *** [h263.o] Error 1
make[1]: *** [sub-libavcodec] Error 2
make: *** [sub-libs] Error 2

Looks like it might be having a problem with '__align8'.  Is that 
perhaps just a G4/Altivec thing?

-JAC


More information about the mythtv-dev mailing list