• 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
X-Code not linking properly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

X-Code not linking properly


  • Subject: X-Code not linking properly
  • From: John Draper <email@hidden>
  • Date: Sun, 06 Feb 2005 17:39:47 -0800

X-Code problem...

I added a series of .c modules into my project. It's the GSM from TU Berlin.
All compiles just fine, and for neatness, I put all of them into a folder
I call "GSM" not surprisingly.


But when I call the GSM routine,  the runtime crashes,  and I cannot even
get to the code...

I get to the statement in the debugger,  then when I try and "step into" it,
it crashes.

0xffff8660  <+0096>  .long 0x0    <--- Jumps to here.
0xffff8664  <+0100>  .long 0x0
0xffff8668  <+0104>  .long 0x0
0xffff866c  <+0108>  .long 0x0
0xffff8670  <+0112>  .long 0x0
0xffff8674  <+0116>  .long 0x0
0xffff8678  <+0120>  .long 0x0

I wrapped an Obj C wrapper around the GSM and made it into an Object.

I get no compile errors when I try and compile it,  but it seems to me
that X-Code is not linking to this routine...

result = working_gsm(gsm_endecode_initialize, r, compressed, unCompressed, num_frames, wav_fmt);
if (result != 0)
NSLog(@"Unable to initialize Codec");
return(self);


So - when I try and "Step into" the "working_gsm" function you see above,
I get the output you see.

What am I doing wrong,  or what is it I'm supposed to do to make sure these
modules are linked properly?

Someone also mentioned I should turn off ZeroLink. I have NO CLUE how to do
that. I'm going to need some serious "hand holding" here... I need
STEP BT STEP instructions on how to do that. Could someone please help me?


John

_______________________________________________
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


  • Prev by Date: Re: Subversion server
  • Next by Date: More on X-Code problem...
  • Previous by thread: gcc vtable layout compatibility with COM
  • Next by thread: Re: X-Code not linking properly
  • Index(es):
    • Date
    • Thread