a link error,please help

Apprentice
Posts: 19
Joined: 2007.07
Post: #1
i built a project in the debug status sucessfully, but i was failed to build it in the release status with a error :
Linking /User/admin/.../MyProgram (1 error)
undefined symbols: __error()
collect2:ld return 1 exit status.
There must be something i forgot.:blink:Please give me a advice.Thank u.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
SDK mixup maybe? Mixing GCC 3 and GCC 4 code? That's a very peculiar error!
Quote this message in a reply
Apprentice
Posts: 19
Joined: 2007.07
Post: #3
In fact, i always use GCC 4.0.My project is a C++ command_line with a Carbon static library.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Link error collada framework mac port BBBert 3 3,707 Dec 28, 2011 04:59 PM
Last Post: OneSadCookie
  'Unidentified error' error in Xcode scgames 2 3,660 Jun 10, 2006 01:38 AM
Last Post: scgames