[mythtv-commits] Ticket #4170: MythTV on OS X is not building - fails with error "You need to add endian swap macros for you're system"

MythTV mythtv at cvs.mythtv.org
Tue Nov 13 21:51:54 UTC 2007


#4170: MythTV on OS X is not building - fails with error "You need to add endian
swap macros for you're system"
-------------------------------+--------------------------------------------
 Reporter:  ryebrye at gmail.com  |       Owner:  ijr    
     Type:  defect             |      Status:  new    
 Priority:  minor              |   Milestone:  unknown
Component:  mythtv             |     Version:  head   
 Severity:  medium             |     Mlocked:  0      
-------------------------------+--------------------------------------------
 Running osx-packager.pl on the current svn trunk doesn't work. It fails.
 Here is a paste of the results of running osx-packager.pl --verbose
 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
 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 nav_read.o nav_read.c
 In file included from nav_read.c:26:
 bswap.h:98:2: error: #error "You need to add endian swap macros for you're
 system"
 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]: *** [nav_read.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: *** [ifo_read.o] Error 1
 make[1]: *** [sub-libmythdvdnav] Error 2
 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.

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


More information about the mythtv-commits mailing list