• 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
ld: undefined symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld: undefined symbols


  • Subject: ld: undefined symbols
  • From: moxou <email@hidden>
  • Date: Thu, 10 Oct 2002 18:50:31 +0200

hello
I'm trying to use a cocoa framework wrapping around MySQL ie:
(http://home.triad.rr.com/mlsmithjr/osx/mysqlcocoa.zip)
I've compiled the framework under Jaguar
in my project I add the framework and the used library (mysqlclient & z)
but I've got a linking error :

ld: Undefined symbols:
.objc_class_name_MySQLConnection

I've cheked that my program is linked with the framework

bash-2.05a$ /usr/bin/gcc3 -o
"/Users/moxou/Developer/DDTreasure/build/DDTreasure.app/Contents/MacOS/
DDTreasure" "-L/Users/moxou/Developer/DDTreasure/build" "-L/usr/lib"
"-L/usr/local/lib/mysql" "-F/Users/moxou/Developer/DDTreasure/build"
-filelist
"/Users/moxou/Developer/DDTreasure/build/DDTreasure.build/
DDTreasure.build/Objects-normal/LinkFileList" "-arch" "ppc"
"-framework" "Cocoa" "-framework" "ABCApplication" "-framework"
"ABCFoundation" "-framework" "MySQLCocoa" "-lz" "-lmysqlclient"

and that the framework contain the symbol

bash-2.05a$ nm MySQLCocoa | grep MySQLConnection
00000e18 t +[MySQLConnection allocConnection:db:userId:password:]
00001140 t -[MySQLConnection close]
00001064 t -[MySQLConnection connect:db:userId:password:]
000011a4 t -[MySQLConnection dealloc]
00001220 t -[MySQLConnection errorDesc]
0000128c t -[MySQLConnection getDBList:]
000013cc t -[MySQLConnection getFieldsForTable:]
00000fec t -[MySQLConnection prepareStatement:]
00000f84 t -[MySQLConnection prepareStatementWithCString:]
00000000 A .objc_class_name_MySQLConnection

can some one help me tks
guillaume
Antonin de Saint-Amand
<< En ce temps-la quand les hommes se multipliaient, apres d'Adam eu
quitte le Paradi. Les Nephilim marchaient sur la terre. >> Bible,
Genese 6:4
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: case-insensitive strings
  • Next by Date: Re: cascading documents
  • Previous by thread: Re: Wrapping C
  • Next by thread: Invalidating menu items
  • Index(es):
    • Date
    • Thread