Cannot build server on Darwin (OS X 10.5 PPC)

Message boards : Questions and problems : Cannot build server on Darwin (OS X 10.5 PPC)
Message board moderation

To post messages, you must log in.

AuthorMessage
Alex

Send message
Joined: 9 Jul 11
Posts: 1
United States
Message 38856 - Posted: 9 Jul 2011, 15:12:50 UTC

I am having difficulty building the server on an OS X 10.5 PPC machine. I have successfully built on a 10.6 intel machine, but it is a laptop unsuitable for using an a server.

I would appreciate any suggestions on how to overcome this.

The error I have encountered is in the QBacktrace.c file with the following output:

mac/QBacktrace.c: In function 'PowerPCHandleLeaf':
mac/QBacktrace.c:1040: error: 'struct __darwin_ppc_thread_state' has no member named 'srr0'
mac/QBacktrace.c:1041: error: 'struct __darwin_ppc_thread_state' has no member named 'lr'
mac/QBacktrace.c:1042: error: 'struct __darwin_ppc_thread_state' has no member named 'r1'
mac/QBacktrace.c:1045: error: 'struct __darwin_ppc_thread_state64' has no member named 'srr0'
mac/QBacktrace.c:1046: error: 'struct __darwin_ppc_thread_state64' has no member named 'lr'
mac/QBacktrace.c:1047: error: 'struct __darwin_ppc_thread_state64' has no member named 'r1'
mac/QBacktrace.c: In function 'QBTCreateThreadStateSelf':
mac/QBacktrace.c:2460: error: 'struct __darwin_ppc_thread_state' has no member named 'srr0'
mac/QBacktrace.c:2461: error: 'struct __darwin_ppc_thread_state' has no member named 'r1'
make[2]: *** [libboinc_la-QBacktrace.lo] Error 1
ID: 38856 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 38865 - Posted: 9 Jul 2011, 21:31:36 UTC - in response to Message 38856.  

I forwarded your plight to the developer for the Mac, earlier. Here's what he replied to me.

Sorry, we don't support using Macs for BOINC servers, but that doesn't mean it can't be done. WE just don't support it.

That said, he needs to use the OS 10.4 SDK, which should solve this problem. He can find some information about how to do this in http://boinc.berkeley.edu/trac/wiki/BuildMacApp and by looking at boinc/mac_build/buildcurl.sh in the SVN trunk and
http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html%23 in the section "Configuring a Makefile-Based Project".

ID: 38865 · Report as offensive

Message boards : Questions and problems : Cannot build server on Darwin (OS X 10.5 PPC)

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.