Re: [Solved] Code moved to plugin, undefined symbol
Re: [Solved] Code moved to plugin, undefined symbol
- Subject: Re: [Solved] Code moved to plugin, undefined symbol
- From: Philip Dow <email@hidden>
- Date: Tue, 17 Jan 2006 20:09:58 +0100
Apologies for the post. Should have taken a close look. I was under
the impression that GetCurrentEvenTime was defined in libgen.h, but
it was just a regular carbon function, and I wasn't including the
carbon framework in the plugin. <slap on head>
-Phil
Am Jan 17, 2006 um 7:46 PM schrieb Philip Dow:
I am building a plugin that includes a standard header file,
#include <libgen.h>. The code compiles fine, but at link I get an
undefined symbol error for _GetCurrentEvenTime. I am in fact using
this function.
The code that includes this function has been moved from a previous
standalone project, a test to see if the plugin would at all be
worth pursuing. That project compiles, links and runs fine.
As far as I can tell, I have set up the environment for both
projects to be as identical as possible. Both use a precompiled
prefix header with a number of imports, both are built using the
10.4sdk, both are universal binary, both use other linker flags "-
bind_at_load -weak_framework QTKit -weak_framework CoreAudioKit"
and both are built with a 10.3 deployment target.
Any ideas on what would cause this linker error? I'm stumped.
-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden