• 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
"Unknown symbol" though file is in the project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Unknown symbol" though file is in the project


  • Subject: "Unknown symbol" though file is in the project
  • From: "Red Marble Games" <email@hidden>
  • Date: Mon, 18 Jul 2005 16:13:27 -0400
  • Importance: Normal

Title: "Unknown symbol" though file is in the project

This is surely a FAQ, because I'm so new to XCode, but help would be appreciated.  Some of my code seems to be ignored by the linker, even though the relevant files are in the project, the "target" box is checked in the file listing, and XCode is generating .o and .ob files and in every other way indicating that these files are part of my app.  Yet when some other routine calls one of these, the app generates a SIGABRT because it can't find the symbol.  (If it matters, the chain goes from the working routine to dyld_stub_binding_helper_interface, to dyld_bind_lazy_symbol_reference, to dyld_link_in_need_modules, to dyld_check_and_report_undefineds, and so to the undefinedHandler, abort, and kill). 

It happened first with some Apple sample code (OpenGL_Image_Loading.c); in frustration I got around that by cutting and pasting the code into one of my source files that XCode is willing to recognize.  Now it's happening with another .c file that I just added to the project.  All of the unrecognized code so far is in .c files, if that's a clue, though I tried renaming the current problem file to .cpp, to see if that would affect anything, but it didn't. 

Any ideas?  Many thanks.


Mark Batten
Red Marble Games
http://www.redmarblegames.com


 _______________________________________________
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: "Unknown symbol" though file is in the project
      • From: Sailesh Agrawal <email@hidden>
  • Prev by Date: Re: Docs for XCode plugins
  • Next by Date: "Program exited with status value:45. mi_cmd_stack_list_frames_lite: No stack." Eh?
  • Previous by thread: Re: Library not loaded: @executable_path/..
  • Next by thread: Re: "Unknown symbol" though file is in the project
  • Index(es):
    • Date
    • Thread