sqlite-users  

Re: [sqlite] problem with undefined reference

Dennis Cote
Mon, 07 Apr 2008 07:39:35 -0700

dark0s dark0s wrote:
> bash-3.1# gcc CreaDB.c sqlite3.c -o CreaDb
> gcc: sqlite3.c: No such file or directory
> 
> What is the problem? CreaDB is not present
> 

You don't have sqlite3.c in the same directory as your source CreaDB.c. 
You can download the sqlite3 amalgamation source and use that or try 
linking to the sqlite3 library installed on your system (if there is 
one). Try this:

   gcc CreaDB.c -lsqlite3 -o CreaDB

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