• 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
unwind_resume...again! (and again, and again...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unwind_resume...again! (and again, and again...)


  • Subject: unwind_resume...again! (and again, and again...)
  • From: Matthew Peterson <email@hidden>
  • Date: Mon, 25 Aug 2008 15:06:34 -0400

Hi all,

   I'm trying to integrate the code for my eye tracker with the code for ioQuake3.  Separately, I've been able to compile and run ioQuake successfully.  My problem is integrating my .cpp files.  I've modified the ioQuake3 makefile to include my code and libraries.  The problem is that I get the dreaded unwind_resume errors:

--------------
g++ build/release-darwin-ppc/ioquake3.ppc
Undefined symbols:
  "__Unwind_Resume", referenced from:
      GetAKeyNoWait()     in Psyio.o
  "___cxa_atexit", referenced from:
      __static_initialization_and_destruction_0(int, int)in ioQuake-MSP-Extras.o
      __static_initialization_and_ destruct k2.o
      __static_initialization_and_destruction_0(int, int)in EYE_FIND2.o
      __static_initialization_and_destruction_0(int, int)in mac_cam_graf2.o
      __static_initialization_and_destruction_0(int, int)in mac_eye_graf2.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [build/release-darwin-ppc/ioquake3.ppc] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2
--------------


Before I addded -lstdc++ to the LDFLAGS, I got far more errors:
--------------
...g++ build/release-darwin-ppc/ioquake3.ppc
Undefined symbols:
  "___cxa_guard_acquire", referenced from:
      GetAKeyNoWait()     in Psyio.o
  "operator new[](unsigned long) ", refer sp;     DoubleDataBase::InitVector(long, int)in PsyNumerics.o
      DoubleDataBase::InitVector(long, int)in PsyNumerics.o
      DoubleDataBase::InitVector(long, int)in PsyNumerics.o
      DoubleDataBase::InitVector(long, int)in PsyNumerics.o
      DoubleDataBaseMatrix::InitMatrix(int, long, int)in PsyNumerics.o
  "___cxa_guard_abort", referenced from:
      GetAKeyNoWait()     in Psyio.o
...[too many to list, but it gives you the idea]
--------------

I've tried to force it to link with g++, but obviously that's not working (or working correctly).  I tried to force the entire thing to compile with g++, but the ioQuake files weren't completely compatible with c++ (also sorts of type cast errors), so it seemed best to let gcc do the compi ling. &n ling with -fexceptions, but that didn't do a thing.

 BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes -fexceptions # MSP added -fexceptions 


Any ideas?  At this point I'm about ready to throw in the towel on using the ioQuake make file and roll my own XCode projects from scratch.


much thanks in advance...
-Matt




---------------------------------------------------------------- 

Dr. Matt Peterson, Ph.D. 

Department of Psychology

George Mason University                    Ph: (703) 993-4255 

MS 3F5    &nb sp; &nbs nbsp;                     fax: (703) 993-1359 

4400 University Dr.                   email: email@hidden 

Fairfax, VA 22030                  archlab.gmu.edu/~mpeters2/                        

---------------------------------------------------------------- 



 _______________________________________________
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: monitoring file system
  • Next by Date: Is malloc/new thread safe on OSX?
  • Previous by thread: Link Error: undefined symbol: typeinfo for Class
  • Next by thread: Is malloc/new thread safe on OSX?
  • Index(es):
    • Date
    • Thread