[mythtv] Still seeing myth build errors on 10.5.7

Nigel Pearson nigel at ind.tansu.com.au
Wed Jul 8 01:05:55 UTC 2009


On 08/07/2009, at 10:53 AM, Stephen Hocking wrote:

> Hi Nigel,
>
> I'm still getting the following, even after a distclean at revision  
> 20827.
>
>
> g++ -headerpad_max_install_names -Wl,-search_paths_first
> -Wl,-dynamic,-search_paths_first -F/System/Library/Frameworks
> -L/usr/lib -L/src/MythTV/trunk/packaging/OSX/build/.osx-packager/ 
> build/lib
> -single_module -dynamiclib -single_module -seg1addr 0xC2000000
> -compatibility_version 0.22 -current_version   0.22.0 -install_name
> libmythswscale-0.22.0.dylib -o libmythswscale-0.22.0.22.0.dylib
> options.o rgb2rgb.o swscale.o yuv2rgb.o yuv2rgb_mmx.o    -L/usr/lib
> -L/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/lib
> -L../libavutil -lmythavutil-0.22 -lm -lz
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> _rgb24tobgr24_MMX from rgb2rgb.o not allowed in slidable image. Use
> '-read_only_relocs suppress' to enable text relocs
> collect2: ld returned 1 exit status
> make[2]: *** [libmythswscale-0.22.0.22.0.dylib] Error 1
> make[1]: *** [sub-libswscale-make_default] Error 2
> make: *** [sub-libs-make_default-ordered] Error 2
> [osx-pkg] Failed system call: " /usr/bin/make  " with error code 2
> Died at ./osx-packager.pl line 975.



Yes. 'tis all broken. Taking these old hacks out of libs/libavcodec/


macx {
     QMAKE_LFLAGS_SHLIB += -single_module
     QMAKE_LFLAGS_SHLIB += -seg1addr 0xC3000000
     QMAKE_LFLAGS_SHLIB += -read_only_relocs warning
}


will help, but on 10.4.11 (intel) still causes a problem
with linking flacdsp_mmx.o. I'm still exploring.

--
Nigel Pearson, nigel at ind.tansu.com.au|"Things  you  own  |
Telstra Net. Eng., Sydney, Australia | end up owning you"|
Office: 9202 3900    Fax:  9212 6348 |      Tyler,       |
Mobile: 0408 664435  Home: 9792 6998 |    Fight Club     |



More information about the mythtv-dev mailing list