[mythtv] Mac OS X patch 2

Joseph A. Caputo jcaputo1 at comcast.net
Tue Jun 1 22:20:12 EDT 2004


Nigel Pearson wrote:
>> What kind of setup are you using this patch on?
> 
> 
>     A PowerBook G4.
> 
>>   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 `)'
> 
> ...
> 
>> Looks like it might be having a problem with '__align8'.
>> Is that  perhaps just a G4/Altivec thing?
>>
> 
>     Interesting. I suspect so, but haven't found its definition yet.
> 
>     I would test on a G3, but that was burgled on the weekend,
> so that will be a bit trickier. Could you mail me your config.mak
> and config.h? That should be enough for me to reproduce this
> problem exactly.

Attached.

-JAC
-------------- next part --------------
# Automatically generated by configure - do not modify
OPTFLAGS=-Wall -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -faltivec -g -O3
TARGET_OS=Darwin
TARGET_ARCH_POWERPC=yes
WORDS_BIGENDIAN=yes
TARGET_ALTIVEC=yes
HAVE_FREETYPE2=yes

CONFIG_ENCODERS=yes
CONFIG_DECODERS=yes
CONFIG_AC3=yes
CONFIG_PP=yes
CONFIG_NETWORK=yes
CONFIG_ZLIB=yes
CONFIG_DARWIN=yes
CONFIG_RISKY=yes
SRC_PATH=/Users/ann/myth/mythtv
-------------- next part --------------
/* Automatically generated by configure - do not modify */
#define ARCH_POWERPC 1
#define TUNECPU generic
#define WORDS_BIGENDIAN 1
#define HAVE_ALTIVEC 1
// Enable the next line to use the reference C code instead of AltiVec
// #define ALTIVEC_USE_REFERENCE_C_CODE 1
#undef HAVE_ALTIVEC_H
#define HAVE_LOCALTIME_R 1
#define HAVE_LRINTF 1
#define CONFIG_ENCODERS 1
#define CONFIG_DECODERS 1
#define CONFIG_AC3 1
#define CONFIG_PP 1
#define CONFIG_MPEGAUDIO_HP 1
#define CONFIG_HAVE_DLOPEN 1
#define CONFIG_HAVE_DLFCN 1
#define CONFIG_NETWORK 1
#define CONFIG_ZLIB 1
#define CONFIG_DARWIN 1
#undef  HAVE_MALLOC_H
#undef  HAVE_MEMALIGN
#define SIMPLE_IDCT 1
#define CONFIG_RISKY 1
#define restrict __restrict__


More information about the mythtv-dev mailing list