• 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
gcov cannot find $UNIX2003 symbols in Xcode 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcov cannot find $UNIX2003 symbols in Xcode 3


  • Subject: gcov cannot find $UNIX2003 symbols in Xcode 3
  • From: Aaron Montgomery <email@hidden>
  • Date: Mon, 29 Oct 2007 07:13:01 -0700

Hopefully this isn't sitting in some FAQ somewhere. Just upgraded to Xcode 3.0 with a small Carbon project that uses Unit Tests (CPTest) and gcov. I am now getting a linker error. Looks like the gcov library is failing to find some functions (link line and errors below).

I don't remember if I've tried compiling this since moving to an Intel processor, so perhaps the Xcode 3 is a red herring and this is really an i386 issue.

Any suggestions?
Aaron

Ld /Users/eeyore/Developer/SuperAdd/build/Debug/SuperAdd.app/ Contents/MacOS/SuperAdd normal i386
cd /Users/eeyore/Developer/SuperAdd
/Developer/usr/bin/g++-4.0 -o /Users/eeyore/Developer/SuperAdd/ build/Debug/SuperAdd.app/Contents/MacOS/SuperAdd -L/Users/eeyore/ Developer/SuperAdd/build/Debug -F/Users/eeyore/Developer/SuperAdd/ build/Debug -filelist /Users/eeyore/Developer/SuperAdd/build/ SuperAdd.build/Debug/SuperAdd.build/Objects-normal/i386/ SuperAdd.LinkFileList -framework Carbon -arch i386 -mmacosx-version- min=10.4 -lgcov -isysroot /Developer/SDKs/MacOSX10.4u.sdk
Undefined symbols:
"_fcntl$UNIX2003", referenced from:
___gcov_open in libgcov.a(_gcov.o)
"_close$UNIX2003", referenced from:
___gcov_open in libgcov.a(_gcov.o)
"_open$UNIX2003", referenced from:
___gcov_open in libgcov.a(_gcov.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
_______________________________________________
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: gcov cannot find $UNIX2003 symbols in Xcode 3
      • From: Alastair Houghton <email@hidden>
    • Re: gcov cannot find $UNIX2003 symbols in Xcode 3
      • From: Peter O'Gorman <email@hidden>
    • Re: gcov cannot find $UNIX2003 symbols in Xcode 3
      • From: Philip Aker <email@hidden>
  • Prev by Date: Xcode 3 Recursive paths going missing
  • Next by Date: Perforce vs Xcode 3 => 100% cpu usage
  • Previous by thread: Re: Xcode 3 Recursive paths going missing
  • Next by thread: Re: gcov cannot find $UNIX2003 symbols in Xcode 3
  • Index(es):
    • Date
    • Thread