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
For some reason I haven't seen the response to my previous post, but
(obviously) I've seen this one.
Didier Spaier wrote:
> May I suggest you don't use precompiled packages when they are not "official"
> (i.e., included in Slackware distribution) ones, but make your own packages.
> Yuu can find
May I suggest you don't use precompiled packages when they are not "official"
(i.e., included in Slackware distribution) ones, but make your own packages.
Yuu can find Slackbuilds for sqlite-3.5.7 on slackbuild.org and salcky.eu
websites for that purpose.
There is a typo in your command:
bash-3.
>What did you download from
>http://www.sqlite.org/download.html ?
>sqlite-3.5.7.so.gz, or
>sqlite-amalgamation-3.5.7.tar.gz?
I've installed sqlite-3.5.7 precompiled package on my slackware system. Below
there is results of searches:
bash-3.1# find / -name sqlite3.c
bash-3.1#
bash-3.1# fin
dark0s dark0s wrote:
> sqlite3.c is not present in the system
>
> I type
>
> gcc CreaDB.c sqlite3.c -o CreaDB
>
> but after I don't find CreaDB also in my system.
>
You mentioned earlier that you are new to SQLite, but it seems you are
new to C programming as well. The following assumes y
I type also:
bash-3.1# find / -name sqlite3.c
bash-3.1#
sqlite3.c is not present in my system, and after
bash-3.1# gcc CreaDB.c sqlite3.c -o CreaDb
gcc: sqlite3.c: No such file or directory
CreaDB.c: In function 'main':
CreaDB.c:21: warning: incompatible implicit declaration of built-in functio
bash-3.1# gcc CreaDB.c sqlite3.c -o CreaDb
gcc: sqlite3.c: No such file or directory
CreaDB.c: In function 'main':
CreaDB.c:21: warning: incompatible implicit declaration of built-in function
'strlen'
CreaDB.c:5: warning: return type of 'main' is not 'int'
CreaDB.c:41:3: warning: no newline at end
On Sat, 5 Apr 2008 18:16:47 +0200 (CEST)
dark0s dark0s <[EMAIL PROTECTED]> wrote:
> Hi all, I am newbye in sqlite programming.
> I written a little C program to begin with sqlite, and I posted it below:
>
> #include
> #include
> #include
>
> void main() {
>
> int rc, i;
> sqlite3* db;
>
sqlite3.c is not present in the system
I type
gcc CreaDB.c sqlite3.c -o CreaDB
but after I don't find CreaDB also in my system.
savio
-
Inviato da Yahoo! Mail.
La casella di posta intelligente.
___
sqlite-
Ok, excuse my ignorance, how can I to connect dinamic library with gcc
Thanks,
savio
-
Inviato da Yahoo! Mail.
La casella di posta intelligente.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite
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 com
Hi all, I am newbye in sqlite programming.
I written a little C program to begin with sqlite, and I posted it below:
#include
#include
#include
void main() {
int rc, i;
sqlite3* db;
sqlite3_stmt* stmt;
char* sql;
const char* tail;
rc = sqlite3_open("prova.db", &db);
if (rc) {
12 matches
Mail list logo