dark0s dark0s wrote:
> I written a little C program to begin with sqlite, and I posted it below:
>
> CreaDB.c:(.text+0x1f): undefined reference to `sqlite3_open'
> What is the problem?
>
>   
You need to link to the sqlite3 library, or add the sqlite3.c 
amalgamation source file to your compile command. If you have the 
amalgamation source file you can do this.

    gcc CreaDB.c sqlite3.c -o CreaDB

HTH
Dennis Cote
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to