[mythtv] Compiling on Mac OS

Jean-Yves Avenard jyavenard at gmail.com
Sun Feb 27 23:27:21 UTC 2011


Hi

I have a 10.6.6 macbook ; I boot the kernel in 64 bits mode.

When I try to compile using the osx-packager.pl.

It stops with:

ccache g++ -headerpad_max_install_names -arch i386 -single_module
-dynamiclib -o libcrop.dylib filter_crop.o
-L../../external/FFmpeg/libavcodec -lmythavcodec
-L../../external/FFmpeg/libavcore -lmythavcore
-L../../external/FFmpeg/libavutil -lmythavutil
ld: file not found:
/Users/jeanyves_avenard/Work/mythtv/.osx-packager/build/lib/libmythavformat.dylib
for architecture i386
collect2: ld returned 1 exit status
ccache g++ -headerpad_max_install_names -arch i386 -single_module
-dynamiclib -o libadjust.dylib filter_adjust.o
-L../../external/FFmpeg/libavcodec -lmythavcodec
-L../../external/FFmpeg/libavcore -lmythavcore
-L../../external/FFmpeg/libavutil -lmythavutil
make[2]: *** [libkerneldeint.dylib] Error 1
make[1]: *** [sub-kerneldeint-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
ccache gcc -c -pipe
-I/Users/jeanyves_avenard/Work/mythtv/.osx-packager/build/include -m32
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_DARWIN_C_SOURCE -DPIC
-I/Users/jeanyves_avenard/Work/mythtv/.osx-packager/build/include -m32
-std=c99 -fPIC -g -Wall -Wno-parentheses -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings
-Wundef -Wmissing-prototypes -fno-math-errno -fno-tree-vectorize
-Wno-missing-prototypes -gdwarf-2 -arch i386 -DMMX -Di386
-DUSING_APPLEREMOTE -D_GNU_SOURCE
-I/Users/jeanyves_avenard/Work/mythtv/.osx-packager/build/mkspecs/macx-g++
-I. -I/usr/include
-I/Users/jeanyves_avenard/Work/mythtv/.osx-packager/build
-I/opt/local/include/libxml2 -I../../libs/libmythtv
-I../../libs/libmythbase -I../../external/FFmpeg -o filter_onefield.o
filter_onefield.c
rm -f libonefield.dylib
ccache g++ -headerpad_max_install_names -arch i386 -single_module
-dynamiclib -o libonefield.dylib filter_onefield.o
make: *** [filters] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j5 " with error code 2
Died at ./git/packaging/OSX/build/osx-packager.pl line 966.
me:mythtv jeanyves_avenard$

Is the issue with libavformat related to me running a 64 bits kernel ?

JY


More information about the mythtv-dev mailing list