On Thu, Jan 07, 2010 at 04:46:26PM +0800, Jinson Wang scratched on the wall:
> Hi,all
> 
> Thers is an example "Loading and Saving In-Memory Databases" at
> http://www.sqlite.org/backup.html.
> I used this function in my code, but when I compiled it, that displays"
> " gcc src.c -lsqlite3
> /tmp/ccEdrLUm.o: In function `loadOrSaveDb':
> flbsql.c:(.text+0x4fe): undefined reference to `sqlite3_backup_init'
> flbsql.c:(.text+0x517): undefined reference to `sqlite3_backup_step'
> flbsql.c:(.text+0x520): undefined reference to `sqlite3_backup_finish'
> collect2: ld returned 1 exit status"

  The backup API is fairly new.  Whatever SQLite library you're using
  is too old.  You need to upgrade.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Our opponent is an alien starship packed with atomic bombs.  We have
 a protractor."   "I'll go home and see if I can scrounge up a ruler
 and a piece of string."  --from Anathem by Neal Stephenson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to