[mythtv] Still muddling along w/ Snow Leopard compile issues

John Sturgeon john.sturgeon at gmail.com
Wed Mar 3 23:10:02 UTC 2010




On Mar 3, 2010, at 8:29 AM, MythTV wrote:

> 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:
[snip]
>> ld: symbol(s) not found
>> 
>> 
>> Thoughts?
>> 
>> -- 
>> John Sturgeon
>> john.sturgeon at gmail.com
>> 
> 
> 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

Woohoo..

Success building, 

Now MythBackend crashes with

Process:         MythBackend [19866]
Path:            /Users/johnsturgeon/Documents/mythtv/MythBackend.app/Contents/MacOS/MythBackend
Identifier:      org.osx-bundler.MythBackend
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [300]

Date/Time:       2010-03-03 14:55:24.798 -0800
OS Version:      Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:          539509 sec
Crashes Since Last Report:           -82
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      A8006D32-FE78-4E8C-90F2-D05A83742B57

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread:  1  Dispatch queue: com.apple.libdispatch-manager

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Do not close random Unix descriptors

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x948edc06 read$NOCANCEL$UNIX2003 + 10
1   libSystem.B.dylib             	0x94918661 _sread + 41
2   libSystem.B.dylib             	0x94922840 __srefill1 + 34
3   libSystem.B.dylib             	0x94922710 fread + 225
4   libSystem.B.dylib             	0x949cf779 _Read_RuneMagi + 225
5   libSystem.B.dylib             	0x949cefcf __setrunelocale + 650
6   libSystem.B.dylib             	0x949cf356 __wrap_setrunelocale + 25
7   libSystem.B.dylib             	0x9491d2f9 loadlocale + 308
8   libSystem.B.dylib             	0x94900586 setlocale + 853
9   org.osx-bundler.QtCore        	0x8dfa8d01 QCoreApplication::init() + 49
10  org.osx-bundler.QtGui         	0x8e12b607 QApplication::QApplication(int&, char**, bool, int) + 87
11  org.osx-bundler.MythBackend   	0x00043515 main + 169


I've checked http://svn.mythtv.org/trac/ticket/7582 and it seems that the patch that is mentioned in that crasher *is* applied in the src, so I'm not sure what is causing this.

Once again, any help
-- 
John Sturgeon
john.sturgeon at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20100303/a0faebbb/attachment.htm>


More information about the mythtv-dev mailing list