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

Re: Interpreting "undefined symbols"


  • Subject: Re: Interpreting "undefined symbols"
  • From: Steve Checkoway <email@hidden>
  • Date: Sun, 16 Dec 2007 16:46:22 -0800


On Dec 16, 2007, at 2:46 PM, Adam wrote:

Really? I could have sworn it was the whole project... actually, you're right - I did delete files that had nothing to do with the project... and I couldn't say whether or not the plist was bad because I don't know anything about that sort of thing... try the link again, I removed the extra files...

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


The latest project file has the same problem I identified with the last one. Namely, SDLMain.m isn't being built. Go back and read what I wrote. I strongly suspect that will fix your problem since SDL.h includes SDL_main.h which has
#define main SDL_main


Your main is being renamed to SDL_main. (If you do as others have suggested and run nm on the object files, you'll see _SDL_main there.) You need the main in SDLMain.m.

--
Steve Checkoway

    "Anyone who says that the solution is to educate the users
    hasn't ever met an actual user." -- Bruce Schneier




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Re: Interpreting "undefined symbols" (From: Adam <email@hidden>)
 >Re: Interpreting "undefined symbols" (From: Philip Aker <email@hidden>)
 >Re: Interpreting "undefined symbols" (From: Adam <email@hidden>)
 >Re: Interpreting "undefined symbols" (From: Philip Aker <email@hidden>)
 >Re: Interpreting "undefined symbols" (From: Adam <email@hidden>)

  • Prev by Date: Re: Interpreting "undefined symbols"
  • Next by Date: Text Key Binding "Execute User Pipe"
  • Previous by thread: Re: Interpreting "undefined symbols"
  • Next by thread: Re: Interpreting "undefined symbols"
  • Index(es):
    • Date
    • Thread