[mythtv] Problem building svn trunk on my intel mac - "You need to add endian swap macros for you're system"

Ryan Gardner ryebrye at gmail.com
Fri Nov 9 18:25:24 UTC 2007


When running osx-packager in verbose mode, here are the lines leading  
up to the error message:

gcc -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -I/Users/ 
ryangardner/src/myth-svn/mythtv/contrib/OSX/.osx-packager/build/ 
include -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare  
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant- 
decls -Wno-pointer-sign -fPIC -DPIC -fno-common -w  -DMMX -Di386 - 
DUSING_APPLEREMOTE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/ 
Users/ryangardner/src/myth-svn/mythtv/contrib/OSX/.osx-packager/build 
\" -DLIBDIR=\"/Users/ryangardner/src/myth-svn/mythtv/contrib/OSX/.osx- 
packager/build/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE - 
DDVDNAV_COMPILE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED - 
DQT_ACCESSIBILITY_SUPPORT -I/Users/ryangardner/src/myth-svn/mythtv/ 
contrib/OSX/.osx-packager/build/mkspecs/default -I. -I../../../../../ 
build/include -I../../../../../build/include -I.. -I../.. -I/Users/ 
ryangardner/src/myth-svn/mythtv/contrib/OSX/.osx-packager/build/ 
include -o ifo_read.o ifo_read.c
In file included from ifo_read.c:28:
bswap.h:98:2: error: #error "You need to add endian swap macros for  
you're system"
make[2]: *** [ifo_read.o] Error 1
make[1]: *** [sub-libmythdvdnav] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j2 " with error code 2
Died at ./osx-packager.pl line 905.

----
I built it a week or so ago with no problems. Anyone else having this  
problem, or is this unique to me?

Ryan


More information about the mythtv-dev mailing list