Re: [sqlite] Errors with quickstart.html's C example

2009-05-01 Thread Samuel Baldwin
2009/5/1 John Stanton : > What is your make file?  It seems to be missing a link library. I hadn't gotten to that point yet. But, as the other email said, linking to sqlite3 does magic. -- Samuel 'Shardz' Baldwin - staticfree.info/~samuel

Re: [sqlite] Errors with quickstart.html's C example

2009-05-01 Thread John Stanton
What is your make file? It seems to be missing a link library. Samuel Baldwin wrote: > Howdy. When I try to compile the small C program at the bottom of > http://www.sqlite.org/quickstart.html , I get the following errors: > > arrakis^library% gcc test.c > test.c: In function ‘main’: >

Re: [sqlite] Errors with quickstart.html's C example

2009-05-01 Thread Samuel Baldwin
Please, someone troll me like Theo de Raadt responding to someone saying OpenBSD is insecure... `gcc -lsqlite3 test.c' works like a charm. -- Samuel 'Shardz' Baldwin - staticfree.info/~samuel ___ sqlite-users mailing list sqlite-users@sqlite.org

[sqlite] Errors with quickstart.html's C example

2009-05-01 Thread Samuel Baldwin
Howdy. When I try to compile the small C program at the bottom of http://www.sqlite.org/quickstart.html , I get the following errors: arrakis^library% gcc test.c test.c: In function ‘main’: test.c:21: warning: incompatible implicit declaration of built-in function ‘exit’ test.c:27: warning: