• 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
Interpreting "undefined symbols"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interpreting "undefined symbols"


  • Subject: Interpreting "undefined symbols"
  • From: Adam <email@hidden>
  • Date: Sat, 15 Dec 2007 13:26:40 -0800
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Hello all,

When modifying an OpenGL program that I found on nehe.gamedev.net, for some reason I get the following error code:

/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status

...and yet I have the main function defined! Sorry if this is a stupid question or something, but my head hurts pretty bad right now from trying to figure this out... I bet it's something simple, but I can't figure it out. Code is here:

http://adam-0.tripod.com/tetris.html


All help is appreciated and thanks in advance.

~ < [ / Adam-o \ ] > ~

Mac OS 10.4.11
Powerbook G4


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Interpreting "undefined symbols"
      • From: "James W. Walker" <email@hidden>
  • Prev by Date: Re: Only two panes in the Build Results Window
  • Next by Date: Re: Interpreting "undefined symbols"
  • Previous by thread: Re: SOLVED: Only two panes in the Build Results Window
  • Next by thread: Re: Interpreting "undefined symbols"
  • Index(es):
    • Date
    • Thread