Low Level Exception Handling - Missing Symbols |
By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $31.99
Cover | Table of Contents | Forum | Colophon
![]() ![]() |
Low Level Exception Handling - Missing Symbols |
May 8 2008, 11:51 PM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 4 Joined: 8-May 08 Member No.: 277 |
I'm trying to install a low level exception handler using NewExceptionHandlerUPP and InstallExceptionHandler defined in CarbonCore/MachineExceptions.h.
It compiles fine, but can't find either of the two symbols when linking. If I try to add the framework CarbonCore, it can't find that either. I'm using the unofficial SDK. Your help would be much appreciated. BTW, the book has been really helpful. |
|
|
|
May 9 2008, 03:28 AM
Post
#2
|
|
|
Active Member ![]() ![]() Group: Members Posts: 25 Joined: 1-April 08 Member No.: 187 |
What are the missing symbols? Can you paste the compiler output?
You can 'nm' the various frameworks to try and locate them; it's possible they may not have gotten built into the iPhone build of Leopard. But if you can give me specific symbol names, I can help look. |
|
|
|
May 15 2008, 11:54 PM
Post
#3
|
|
|
New Member ![]() Group: Members Posts: 4 Joined: 8-May 08 Member No.: 277 |
What are the missing symbols? Can you paste the compiler output? You can 'nm' the various frameworks to try and locate them; it's possible they may not have gotten built into the iPhone build of Leopard. But if you can give me specific symbol names, I can help look. Thanks for your help. Here's the relevant output from the link step: usr/local/bin/arm-apple-darwin-ld: Undefined symbols: _InstallExceptionHandler _NewExceptionHandlerUPP collect2: ld returned 1 exit status These are calls defined in CarbonCore/MachineExceptions.h. |
|
|
|
May 16 2008, 12:47 PM
Post
#4
|
|
|
Active Member ![]() ![]() Group: Members Posts: 25 Joined: 1-April 08 Member No.: 187 |
I don't see these symbols in any framework or library. My guess is Apple either didn't include them, or intentionally renamed them.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th July 2008 - 12:39 PM |