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

Re: SQLite3 symbols undefined?


  • Subject: Re: SQLite3 symbols undefined?
  • From: Andreas Monitzer <email@hidden>
  • Date: Sat, 14 May 2005 02:33:49 +0200

On May 14, 2005, at 02:16, Wesley wrote:

Using my shiny new copy of Tiger, I'm trying to play a bit with sqlite3, and using the code below, I get the following errors:
$ make sqTest
g++ -c -o sqTest.o sqTest.cpp
cc sqTest.o -o sqTest
/usr/bin/ld: Undefined symbols:
std::ios_base::Init::Init()
std::ios_base::Init::~Init()
___gxx_personality_v0
_sqlite3_close
_sqlite3_errmsg
_sqlite3_exec
_sqlite3_open
collect2: ld returned 1 exit status
make: *** [sqTest] Error 1

you're not linking with sqlite:

cc sqTest.o -o sqTest -lsqlite3

andy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >SQLite3 symbols undefined? (From: Wesley <email@hidden>)

  • Prev by Date: SQLite3 symbols undefined?
  • Next by Date: problem unmounting and ejecting a disk image
  • Previous by thread: SQLite3 symbols undefined?
  • Next by thread: Re: SQLite3 symbols undefined?
  • Index(es):
    • Date
    • Thread