[mythtv] Still muddling along w/ Snow Leopard compile issues
MythTV
mythtv at taoyama.com
Wed Mar 3 16:29:00 UTC 2010
On Mar 3, 2010, at 5:52 AM, John Sturgeon wrote:
> The last problem I had (with regards to PIC clobbering my registers) I solved by stopping the osx-packager after it downloaded mythtv source, then removing -fPIC from all config files. Now... (getting closer). I get this:
>
> /usr/bin/gcc-4.0 -c -pipe -march=nocona -fomit-frame-pointer -O3 -I/Users/johnsturgeon/Documents/mythtv/.osx-packager/build/include -m32 -D_ISOC99_SOURCE -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -fno-math-errno -w -arch i386 -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/Users/johnsturgeon/Documents/mythtv/.osx-packager/build/mkspecs/macx-g++ -I. -I.. -I../.. -o rv40.o rv40.c
> Undefined symbols:
> "_CFNumberGetTypeID", referenced from:
> AppleRemote::_initCookies() in AppleRemote.o
> "_CGMainDisplayID", referenced from:
> mythtv_display() in DisplayResOSX.o
> DisplayResOSX::GetDisplayInfo(int&, int&, int&, int&, double&) constin DisplayResOSX.o
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> "_CFRunLoopTimerInvalidate", referenced from:
> ScreenSaverOSX::Restore() in screensaver-osx.o
> ScreenSaverOSX::~ScreenSaverOSX()in screensaver-osx.o
> ScreenSaverOSX::~ScreenSaverOSX()in screensaver-osx.o
> ScreenSaverOSX::~ScreenSaverOSX()in screensaver-osx.o
> "_CFArrayGetValueAtIndex", referenced from:
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> AppleRemote::_initCookies() in AppleRemote.o
> "_CFArrayGetCount", referenced from:
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> AppleRemote::_initCookies() in AppleRemote.o
> AppleRemote::_initCookies() in AppleRemote.o
> "_CFRunLoopStop", referenced from:
> AppleRemote::run() in AppleRemote.o
> "_CGDisplayCurrentMode", referenced from:
> DisplayResOSX::GetDisplayInfo(int&, int&, int&, int&, double&) constin DisplayResOSX.o
> "_ShowMenuBar", referenced from:
> MythMainWindow::Show() in mythmainwindow.o
> MythMainWindow::Init() in mythmainwindow.o
> "_CFNumberGetValue", referenced from:
> get_int_CF(__CFDictionary const*, __CFString const*)in util-osx.o
> get_float_CF(__CFDictionary const*, __CFString const*)in util-osx.o
> AppleRemote::_initCookies() in AppleRemote.o
> "_CGDisplayBestModeForParameters", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_CGDisplayCapture", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_UpdateSystemActivity", referenced from:
> ScreenSaverOSX::Reset() in screensaver-osx.o
> ScreenSaverOSXPrivate::timerCallback(__CFRunLoopTimer*, void*) in screensaver-osx.o
> "_CFRelease", referenced from:
> ScreenSaverOSX::Restore() in screensaver-osx.o
> ScreenSaverOSX::~ScreenSaverOSX()in screensaver-osx.o
> ScreenSaverOSX::~ScreenSaverOSX()in screensaver-osx.o
> ScreenSaverOSX::~ScreenSaverOSX()in screensaver-osx.o
> "_CFUUIDGetUUIDBytes", referenced from:
> AppleRemote::_createDeviceInterface(unsigned int)in AppleRemote.o
> "_HideMenuBar", referenced from:
> MythMainWindow::Show() in mythmainwindow.o
> MythMainWindow::Init() in mythmainwindow.o
> "_CFRunLoopAddSource", referenced from:
> AppleRemote::_openDevice() in AppleRemote.o
> "_CGCompleteDisplayConfiguration", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_CGDisplayIOServicePort", referenced from:
> DisplayResOSX::GetDisplayInfo(int&, int&, int&, int&, double&) constin DisplayResOSX.o
> "_CFGetTypeID", referenced from:
> AppleRemote::_initCookies() in AppleRemote.o
> "_CFRunLoopRun", referenced from:
> AppleRemote::run() in AppleRemote.o
> "_CGConfigureDisplayFadeEffect", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_CGDisplayAvailableModes", referenced from:
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> "_CGDisplayBestModeForParametersAndRefreshRate", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_CGDisplayRelease", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_CFDictionaryGetValue", referenced from:
> get_int_CF(__CFDictionary const*, __CFString const*)in util-osx.o
> get_float_CF(__CFDictionary const*, __CFString const*)in util-osx.o
> AppleRemote::_initCookies() in AppleRemote.o
> "_kCFRunLoopDefaultMode", referenced from:
> _kCFRunLoopDefaultMode$non_lazy_ptr in AppleRemote.o
> "_CGBeginDisplayConfiguration", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> "_CFRunLoopTimerCreate", referenced from:
> ScreenSaverOSX::Disable() in screensaver-osx.o
> "_CFAbsoluteTimeGetCurrent", referenced from:
> ScreenSaverOSX::Disable() in screensaver-osx.o
> "_kCFRunLoopCommonModes", referenced from:
> _kCFRunLoopCommonModes$non_lazy_ptr in screensaver-osx.o
> "___CFConstantStringClassReference", referenced from:
> cfstring=DisplayHorizontalImageSize in DisplayResOSX.o
> cfstring=DisplayVerticalImageSize in DisplayResOSX.o
> cfstring=Width in DisplayResOSX.o
> cfstring=Height in DisplayResOSX.o
> cfstring=RefreshRate in DisplayResOSX.o
> cfstring=ElementCookie in AppleRemote.o
> "_FrontNonFloatingWindow", referenced from:
> mythtv_display() in DisplayResOSX.o
> DisplayResOSX::GetDisplayInfo(int&, int&, int&, int&, double&) constin DisplayResOSX.o
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> "_GetWindowBounds", referenced from:
> mythtv_display() in DisplayResOSX.o
> DisplayResOSX::GetDisplayInfo(int&, int&, int&, int&, double&) constin DisplayResOSX.o
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> "_CFRunLoopAddTimer", referenced from:
> ScreenSaverOSX::Disable() in screensaver-osx.o
> "_CGGetDisplaysWithPoint", referenced from:
> mythtv_display() in DisplayResOSX.o
> DisplayResOSX::GetDisplayInfo(int&, int&, int&, int&, double&) constin DisplayResOSX.o
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> DisplayResOSX::GetVideoModes() const in DisplayResOSX.o
> "_CFRunLoopGetCurrent", referenced from:
> ScreenSaverOSX::Disable() in screensaver-osx.o
> AppleRemote::run() in AppleRemote.o
> AppleRemote::_openDevice() in AppleRemote.o
> "_CFUUIDGetConstantUUIDWithBytes", referenced from:
> AppleRemote::_createDeviceInterface(unsigned int)in AppleRemote.o
> AppleRemote::_createDeviceInterface(unsigned int)in AppleRemote.o
> AppleRemote::_createDeviceInterface(unsigned int)in AppleRemote.o
> "_CGConfigureDisplayMode", referenced from:
> DisplayResOSX::SwitchToVideoMode(int, int, double)in DisplayResOSX.o
> ld: symbol(s) not found
>
>
> Thoughts?
>
> --
> John Sturgeon
> john.sturgeon at gmail.com
>
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
You must be using Qt 4.6.2. Add this to the bottom of the settings.pro in both the mythtv and mythplugins directory.
macx:LIBS += -framework AppKit -framework Carbon
Qt 4.6.2 stopped implicitly including them.
I have 0.22-fixes building successfully. I'll have some patches available once I get trunk building.
Mino
More information about the mythtv-dev
mailing list