Unresolved errors in Release build??
Unresolved errors in Release build??
- Subject: Unresolved errors in Release build??
- From: Claude Biron <email@hidden>
- Date: Sat, 18 Nov 2006 10:18:08 -0800
- Thread-topic: Unresolved errors in Release build??
I'm getting successful Debug builds, but I get Undefined errors with the
Release build. I've gone over the build settings several times and I'm at a
loss as to how to resolve this. All the Undefined errors have to do with
MySQL. (new to Xcode)
cd "/Users/claudebiron/Carbon Projects/TelemarketingBlocker"
/usr/bin/g++-4.0 -o /Users/claudebiron/Carbon\
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/TelemarketingBlocker\ Release
-L/Users/claudebiron/Carbon\ Projects/TelemarketingBlocker/build/Release
-L/usr/local/mysql/lib
-L/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/IOKit.framework
-F/Users/claudebiron/Carbon\ Projects/TelemarketingBlocker/build/Release
-filelist /Users/claudebiron/Carbon\
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/TelemarketingBlocker\
Release.LinkFileList -framework Carbon
/System/Library/Frameworks/IOKit.framework/IOKit -lmysqlclient -framework
QuickTime -arch ppc -Wl,-Y,1455 -mmacosx-version-min=10.4 -Wl,-dead_strip
-no_dead_strip_inits_and_terms -bind_at_load -lz -isysroot
/Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: warning /usr/local/mysql/lib/libmysqlclient.a archive's cputype
(7, architecture i386) does not match cputype (18) for specified -arch flag:
ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_mysql_server_end
_mysql_errno
_mysql_error
_mysql_fetch_row
_mysql_free_result
_mysql_init
_mysql_num_fields
_mysql_num_rows
_mysql_query
_mysql_real_connect
_mysql_store_result
_mysql_use_result
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/main.o reference to undefined
_mysql_server_end
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_close
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_errno
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_error
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_fetch_row
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_free_result
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_init
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_num_fields
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_num_rows
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_query
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_real_connect
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_store_result
/Users/claudebiron/Carbon
Projects/TelemarketingBlocker/build/TelemarketingBlocker.build/Release/Telem
arketingBlocker.build/Objects-normal/ppc/MySqlWrapper.o reference to
undefined _mysql_use_result
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