Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

xCode 1.5 - Problem find routines in another source file

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  OS X 10.2.8 won't start  
Author Message
tom57

External


Since: Dec 07, 2004
Posts: 3



(Msg. 1) Posted: Mon Jul 11, 2005 2:10 pm
Post subject: xCode 1.5 - Problem find routines in another source file
Archived from groups: comp>sys>mac>programmer>help (more info?)

For some reason I get a runtime errors when I call a routine that is
defined in another source file. Some do work some don't. Still trying
to find the pattern. Anyone know what would effect this. Below is what
I see in the stack window or whatever the window is that shows this
stuff. (excuse my newbie ignorance, this is my fist exposure to xCode).

(This is a port from codewarrior just incase that shines any lights or
raises any flags.)


#0 0x9004310c in kill
#1 0x9009fb9c in abort
#2 0x7fdf0cb8 in undefinedHandler
#3 0x8fe0a098 in __dyld_check_and_report_undefineds
#4 0x8fe113b0 in __dyld_link_in_need_modules
#5 0x8fe130ec in __dyld__dyld_link_module
#6 0x9003fc88 in NSLinkModule
#7 0x7fdf0c00 in findSymbolInSet
#8 0x7fdf0c84 in undefinedHandler
#9 0x8fe0a098 in __dyld_check_and_report_undefineds
#10 0x8fe113b0 in __dyld_link_in_need_modules
#11 0x8fe130ec in __dyld__dyld_link_module
#12 0x9003fc88 in NSLinkModule
#13 0x7fdf0c00 in findSymbolInSet
#14 0x7fdf0c84 in undefinedHandler
#15 0x8fe0a098 in __dyld_check_and_report_undefineds
#16 0x8fe113b0 in __dyld_link_in_need_modules
#17 0x8fe10f6c in __dyld_bind_lazy_symbol_reference
#18 0x8fe01040 in __dyld_stub_binding_helper_interface
#19 0x004af690 in _Z7ReadOTDP6FSSpec at FFMain.c:1598
#20 0x004ad618 in _Z10Initializev at FFMain.c:640
#21 0x002e8f70 in main at InterfaceMain.c:903


Any insight into this would be greatly appreciated. Thanks.

 >> Stay informed about: xCode 1.5 - Problem find routines in another source file 
Back to top
Login to vote
Eric Albert1

External


Since: Jan 09, 2004
Posts: 408



(Msg. 2) Posted: Mon Jul 11, 2005 2:10 pm
Post subject: Re: xCode 1.5 - Problem find routines in another source file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <tom-5226B1.14102111072005 RemoveThis @corp-radius.supernews.com>,
Tom Meehan <tom RemoveThis @tpmeehan.com> wrote:

> For some reason I get a runtime errors when I call a routine that is
> defined in another source file. Some do work some don't. Still trying
> to find the pattern. Anyone know what would effect this. Below is what
> I see in the stack window or whatever the window is that shows this
> stuff. (excuse my newbie ignorance, this is my fist exposure to xCode).
>
> (This is a port from codewarrior just incase that shines any lights or
> raises any flags.)
>
>
> #0 0x9004310c in kill
> #1 0x9009fb9c in abort
> #2 0x7fdf0cb8 in undefinedHandler
> #3 0x8fe0a098 in __dyld_check_and_report_undefineds
> #4 0x8fe113b0 in __dyld_link_in_need_modules

Try turning off ZeroLink and see if that helps.

-Eric

--
Eric Albert ejalbert RemoveThis @cs.stanford.edu
http://outofcheese.org/

 >> Stay informed about: xCode 1.5 - Problem find routines in another source file 
Back to top
Login to vote
Ulrich Hobelmann

External


Since: Mar 24, 2005
Posts: 74



(Msg. 3) Posted: Mon Jul 11, 2005 6:55 pm
Post subject: Re: xCode 1.5 - Problem find routines in another source file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tom Meehan wrote:
> For some reason I get a runtime errors when I call a routine that is
> defined in another source file. Some do work some don't. Still trying
> to find the pattern. Anyone know what would effect this. Below is what
> I see in the stack window or whatever the window is that shows this
> stuff. (excuse my newbie ignorance, this is my fist exposure to xCode).

Do you maybe have the code that throws this error? i.e. do you
know which line and what does it do? Are all methods that get
called, implemented (no typos)? If you don't know the line, set
some printf()s or NSLog()s inbetween or try the debugger (which is
actually rather nice in XCode).

--
By claiming a patent [...], I'm saying that you are not permitted
to use your own knowledge to further your ends. By what right?
Roderick T. Long
 >> Stay informed about: xCode 1.5 - Problem find routines in another source file 
Back to top
Login to vote
David M. Palmer

External


Since: Jan 25, 2004
Posts: 12



(Msg. 4) Posted: Tue Jul 12, 2005 12:20 am
Post subject: Re: xCode 1.5 - Problem find routines in another source file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]


Are you declaring things 'extern "C"' appropriately?

(When you have a C function that is called from C++ (I don't know about
objective C) you need to set things up properly.)


This may or may not have anything to do with your current problem. But
if you don't know about extern "C", you'll have to learn about it some
time.



In article <tom-5226B1.14102111072005 DeleteThis @corp-radius.supernews.com>, Tom
Meehan <tom DeleteThis @tpmeehan.com> wrote:

> For some reason I get a runtime errors when I call a routine that is
> defined in another source file. Some do work some don't. Still trying
> to find the pattern. Anyone know what would effect this. Below is what
> I see in the stack window or whatever the window is that shows this
> stuff. (excuse my newbie ignorance, this is my fist exposure to xCode).
>
> (This is a port from codewarrior just incase that shines any lights or
> raises any flags.)
>
>
> #0 0x9004310c in kill
> #1 0x9009fb9c in abort
> #2 0x7fdf0cb8 in undefinedHandler
> #3 0x8fe0a098 in __dyld_check_and_report_undefineds
> #4 0x8fe113b0 in __dyld_link_in_need_modules
> #5 0x8fe130ec in __dyld__dyld_link_module
> #6 0x9003fc88 in NSLinkModule
> #7 0x7fdf0c00 in findSymbolInSet
> #8 0x7fdf0c84 in undefinedHandler
> #9 0x8fe0a098 in __dyld_check_and_report_undefineds
> #10 0x8fe113b0 in __dyld_link_in_need_modules
> #11 0x8fe130ec in __dyld__dyld_link_module
> #12 0x9003fc88 in NSLinkModule
> #13 0x7fdf0c00 in findSymbolInSet
> #14 0x7fdf0c84 in undefinedHandler
> #15 0x8fe0a098 in __dyld_check_and_report_undefineds
> #16 0x8fe113b0 in __dyld_link_in_need_modules
> #17 0x8fe10f6c in __dyld_bind_lazy_symbol_reference
> #18 0x8fe01040 in __dyld_stub_binding_helper_interface
> #19 0x004af690 in _Z7ReadOTDP6FSSpec at FFMain.c:1598
> #20 0x004ad618 in _Z10Initializev at FFMain.c:640
> #21 0x002e8f70 in main at InterfaceMain.c:903
>
>
> Any insight into this would be greatly appreciated. Thanks.

--
David M. Palmer dmpalmer DeleteThis @email.com (formerly @clark.net, @ematic.com)
 >> Stay informed about: xCode 1.5 - Problem find routines in another source file 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]