• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Helper Tool Include Foundation Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Core Data Many2Many Relationships
  • Next by Date: Re: NSTableView bottleneck
  • Previous by thread: Re: Using C++ AutoPtr within an Obj C file.
  • Next by thread: TextThingys
  • Index(es):
    • Date
    • Thread