On Jun 14, 2004, at 12:12 AM, Phil Calvert wrote:

ld: -undefined: unknown argument: dynamic_lookup

I noticed in an older reply that you're using GCC 3.1, and you've upgraded to 10.3.4. If you upgraded from Jaguar (or earlier), and you haven't installed Xcode yet, do that - you'll get the newer GCC 3.3 with it.


Then, do a 'sudo gcc_select 3.3' - that will make the newer GCC 3.3 the default instead of 3.1. (You can also do a 'gcc_select --list' to show what versions are installed, and 'gcc_select' w/o parameters to show the current default.)

Like Ed mentioned, GCC versions prior to 3.3 may not understand the -undefined dynamic_lookup switch.

At this point, maybe the best thing would be to reinstall osX?

I'm guessing you're a recent refugee from Windows? ;-)

That's not a slam. Re-installing *is* common on Windows, simply because everything is so opaque and undocumented that it's often virtually impossible to do much else. Mac OS X, like most *nix variants, is much more transparent. It's much easier to get under the hood and troubleshoot what's going on, so you don't have to resort to wiping the slate and starting over nearly as quickly or as often.

sherm--



Reply via email to