Re: [sqlite] error in sqlite3_extension_init

2008-04-11 Thread Dennis Cote
dark0s dark0s wrote: > But I don't understand where is the error in row below: > > int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg, const > sqlite3_api_rountines *pApi) { > This is one of those groaners. :-) Compare these two lines. sqlite3_api_routines sqlite3_api_rountines

[sqlite] error in sqlite3_extension_init

2008-04-11 Thread dark0s dark0s
But I don't understand where is the error in row below: int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg, const sqlite3_api_rountines *pApi) { Can some suggest me something? - #include #include #include #include SQLITE_EXTENSION_INIT1 void

Re: [sqlite] error in sqlite3_extension_init

2008-04-11 Thread Dan
On Apr 12, 2008, at 12:36 AM, dark0s dark0s wrote: > Excuse me for my stupid topic, but I am crazying to find error in > program below. > > My output is: > > bash-3.1# gcc -shared labsinf.c -o inf.so > labsinf.c:61: error: expected ';', ',' or ')' before '*' token > > The errror is for

[sqlite] error in sqlite3_extension_init

2008-04-11 Thread dark0s dark0s
Excuse me for my stupid topic, but I am crazying to find error in program below. My output is: bash-3.1# gcc -shared labsinf.c -o inf.so labsinf.c:61: error: expected ';', ',' or ')' before '*' token The errror is for sqlit3_extension_init row, but I don't see strange things #include #include