[missing-sync-palmos-dev-talk] Link Error

Rich Burgis burgisr at comcast.net
Sun Mar 20 21:39:53 PST 2005


OK, I'm frustrated again, and this looks like a more substantial 
misunderstanding.

I added the following to my OpenConduitCarbon function:

   CONDHANDLE hAttendanceConduit = (CONDHANDLE)0;
   char conduitName[ 100 ];

    ::GetConduitName( conduitName, sizeof( conduitName ) );

This compiles nicely but will not link, stating that I have

ld: Undefined symbols:
_GetConduitName

(I originally left off the :: but had the same result)

OK, the template includes the SyncMgr.h file, but I don't see any of 
the CDK libraries. So I added them to the project, but this did not 
change the results. Then I noticed a number of calls to UserManager 
functions even without those libraries that link quite nicely. So it 
seems that these libraries aren't needed after all(?).

So two questions. First, what is the obvious thing that I'm overlooking 
here?

Second, my mental model of how things work is clearly lacking. Is there 
anything beyond the white paper that describes how this whole thing 
works? The MissingSync framework appears to address ObjectiveC only. 
But is included in the Carbon sample and the other functions clearly 
work, so it must be more than what I can see on the surface. Before I 
added the call to the GetConduitName function the whole thing worked 
even without the CDK libraries (At least not that I can find.)

So I'm confused.

Thanks
Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1708 bytes
Desc: not available
Url : http://lists.markspace.com/pipermail/missing-sync-palmos-dev-talk/attachments/20050320/d38420e1/attachment-0002.bin


More information about the missing-sync-palmos-dev-talk mailing list