Thanks for your reply, Howard. I just noticed something else that might
help solve the mystery: I have the problem only when I use the command-line
tools, or if I choose to create a "Mach-O" project using the IDE. My code
builds just fine as a Carbon console application.
Anyway, here is the link error I get from the command-line tools:
<begin command-line tools linker error>
### mwldppc Linker Error:
# ___register_global_object is undefined
Errors caused tool to abort.
### mwccppc Driver Error:
# linker '/usr/local/bin/mwldppc' returned with exit code 1
Errors caused tool to abort.
<end command-line tools linker error>
And here's what I get when I use the IDE:
<begin IDE linker errors>
prebinding disabled because of undefined symbols
Link Error : ___vt__Q23std8ios_base is undefined
Link Error : _id__Q23std8ctype<c> is undefined
Link Error : _id_count_s__Q33std6locale2id is undefined
Link Error : ___dl__FPv is undefined
Link Error : ___dt__Q23std8ios_baseFv is undefined
Link Error : _global__Q23std6localeFv is undefined
Link Error : _init__Q23std8ios_baseFPv is undefined
Link Error : ___end__catch is undefined
Link Error : ___nw__FUl is undefined
Link Error : ___ct__Q23std8ctype<c>FPCUcbUl is undefined
Link Error : ___unexpected is undefined
Link Error : ___throw is undefined
Link Error : ___nwa__FUl is undefined
Link Error : ___dla__FPv is undefined
<end IDE linker errors>
I confess that the whole Mac platform is pretty new to me. I'm not even
clear on what Mach-O is exactly. Maybe I should just stay away from it.
Regards,
Russell Hanneken