Helper Tool Include Foundation Framework
Helper Tool Include Foundation Framework
- Subject: Helper Tool Include Foundation Framework
- From: Michael Bianco <email@hidden>
- Date: Thu, 4 Aug 2005 20:04:06 -0400
I have a Cocoa tool that has a helper tool that runs as root. I was
previously written in plain C using only BSD & standard library calls.
But for some updates I'm making I needed to add some obj-c stuff that
was in the foundation framework. I added the framework to linked
libraries section in the tools target. But it gives me a compiler
error:
/usr/bin/ld: Undefined symbols: _main
collect2: ld returned 1 exit status
Any ideas on why it would do this? I tried linking to the Cocoa
Library instead but it didn't work...
_______________________________________________
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