pike-devel-request,您好!
this error msg is so long that i received this mail for almost 2 miniutes...... and it's hard to read.......
======= 2006-04-20 15:00:04 您在来信中写道:=======
Send Pike-devel mailing list submissions to pike-devel@lists.lysator.liu.se
To subscribe or unsubscribe via the World Wide Web, visit http://lists.lysator.liu.se/mailman/listinfo/pike-devel or, via email, send a message with subject or body 'help' to pike-devel-request@lists.lysator.liu.se
You can reach the person managing the list at pike-devel-owner@lists.lysator.liu.se
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pike-devel digest..."
Today's Topics:
- Re: SQLite (Bill Welliver)
- Re: SQLite (Marc Dirix)
- Re: SQLite (Bill Welliver)
- Re: SQLite (Marc Dirix)
- Re: Pike 7.8 (Marc Dirix)
- Re: SQLite (David Hedbor (Amazon.com) @ Pike (-) developers forum)
- Re: SQLite (David Hedbor (Amazon.com) @ Pike (-) developers forum)
- Re: SQLite (David Hedbor (Amazon.com) @ Pike (-) developers forum)
- Re: SQLite (David Hedbor (Amazon.com) @ Pike (-) developers forum)
- Re: SQLite (Marc DIrix)
Message: 1 Date: Wed, 19 Apr 2006 16:18:10 -0400 (EDT) From: Bill Welliver hww3@riverweb.com Subject: Re: SQLite To: Marc Dirix marc@electronics-design.nl Cc: pike-devel@lists.lysator.liu.se Message-ID: Pine.GSO.4.33.0604191616120.17681-100000@buoy Content-Type: TEXT/PLAIN; charset=US-ASCII
I don't knwo that it's a bug per se, because I think you'll end up with a SQLite module that doesn't actually do anything (much like the other database access modules). It's actually kind of frustrating, but I understand the rationale behind doing it that way (avoiding non-existent symbol errors during compilation, etc).
To the point of the error, there doesn't actually appear to be an error... did it get printed out somewhere outside of what you included in your mail?
Bill
On Wed, 19 Apr 2006, Marc Dirix wrote:
This might be a configure bug, although it doesn't find SQLite prerequisites it tries to compile anyway.
...
Message: 2 Date: Wed, 19 Apr 2006 22:32:00 +0200 From: Marc Dirix marc@electronics-design.nl Subject: Re: SQLite To: Bill Welliver hww3@riverweb.com Cc: pike-devel@lists.lysator.liu.se Message-ID: 30524C4B-30B2-4708-B572-509B4B8C3065@electronics-design.nl Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
The start of the error was way up, I didn't copy the whole error message, because I didn't want to overload the message. I don't want to have a SQLite module, working or not, I just want to have a compiled version of Pike which SQLite is blocking, regardless of adding --without-SQLite to configure.
Op 19-apr-2006, om 22:18 heeft Bill Welliver het volgende geschreven:
I don't knwo that it's a bug per se, because I think you'll end up with a SQLite module that doesn't actually do anything (much like the other database access modules). It's actually kind of frustrating, but I understand the rationale behind doing it that way (avoiding non- existent symbol errors during compilation, etc).
To the point of the error, there doesn't actually appear to be an error... did it get printed out somewhere outside of what you included in your mail?
Bill
On Wed, 19 Apr 2006, Marc Dirix wrote:
This might be a configure bug, although it doesn't find SQLite prerequisites it tries to compile anyway.
...
Message: 3 Date: Wed, 19 Apr 2006 16:56:40 -0400 (EDT) From: Bill Welliver hww3@riverweb.com Subject: Re: SQLite To: Marc Dirix marc@electronics-design.nl Cc: pike-devel@lists.lysator.liu.se Message-ID: Pine.GSO.4.33.0604191655470.17845-100000@buoy Content-Type: TEXT/PLAIN; charset=US-ASCII
You could just remove the SQLite directory temporarily. It [the error message] might be helpful to the original developers of that module (Nilsson was one of them, iirc).
Bill
On Wed, 19 Apr 2006, Marc Dirix wrote:
The start of the error was way up, I didn't copy the whole error message, because I didn't want to overload the message. I don't want to have a SQLite module, working or not, I just want to have a compiled version of Pike which SQLite is blocking, regardless of adding --without-SQLite to configure.
Message: 4 Date: Wed, 19 Apr 2006 23:20:34 +0200 From: Marc Dirix marc@electronics-design.nl Subject: Re: SQLite To: Bill Welliver hww3@riverweb.com Cc: pike-devel@lists.lysator.liu.se Message-ID: E3B36003-E47D-43C7-91BB-8E964D08D5D1@electronics-design.nl Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
You could just remove the SQLite directory temporarily. It [the error message] might be helpful to the original developers of that module (Nilsson was one of them, iirc).
Yes, I already did that, but it does contain a bug, and reporting a bug is always good, right?
Message: 5 Date: Wed, 19 Apr 2006 23:21:56 +0200 From: Marc Dirix marc@electronics-design.nl Subject: Re: Pike 7.8 To: "Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Cc: pike-devel@lists.lysator.liu.se Message-ID: 06AA2190-6B5A-49FB-B898-A98FF9E1B56A@electronics-design.nl Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I'm not sure how this relates to a 7.8 release, but in 7.7-cvs Stdio.file_size() still returns 4096 for directories. (Instead of -2).
Message: 6 Date: Wed, 19 Apr 2006 21:55:02 +0000 (UTC) From: "David Hedbor (Amazon.com) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Subject: Re: SQLite To: pike-devel@lists.lysator.liu.se Message-ID: 14332076..Exportoeren.1145483702-32645811@kom.lysator.liu.se Content-Type: text/plain; charset=iso-8859-1
Yes, I already did that, but it does contain a bug, and reporting a bug is always good, right?
Except you still haven't reported the actual error you got, just the "make failed" part. If you send the actual error, fixing it will require less effort which helps improve the chances of a more immediate fix.
Just an idea.
Message: 7 Date: Wed, 19 Apr 2006 22:00:02 +0000 (UTC) From: "David Hedbor (Amazon.com) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Subject: Re: SQLite To: pike-devel@lists.lysator.liu.se Message-ID: 14332076..Exportoeren.1145484002-95213760@kom.lysator.liu.se Content-Type: text/plain; charset=iso-8859-1
Yes, I already did that, but it does contain a bug, and reporting a bug is always good, right?
Except you still haven't reported the actual error you got, just the "make failed" part. If you send the actual error, fixing it will require less effort which helps improve the chances of a more immediate fix.
Just an idea.
Message: 8 Date: Wed, 19 Apr 2006 22:05:02 +0000 (UTC) From: "David Hedbor (Amazon.com) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Subject: Re: SQLite To: pike-devel@lists.lysator.liu.se Message-ID: 14332076..Exportoeren.1145484302-67314238@kom.lysator.liu.se Content-Type: text/plain; charset=iso-8859-1
Yes, I already did that, but it does contain a bug, and reporting a bug is always good, right?
Except you still haven't reported the actual error you got, just the "make failed" part. If you send the actual error, fixing it will require less effort which helps improve the chances of a more immediate fix.
Just an idea.
Message: 9 Date: Wed, 19 Apr 2006 22:10:01 +0000 (UTC) From: "David Hedbor (Amazon.com) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Subject: Re: SQLite To: pike-devel@lists.lysator.liu.se Message-ID: 14332076..Exportoeren.1145484601-82305357@kom.lysator.liu.se Content-Type: text/plain; charset=iso-8859-1
Yes, I already did that, but it does contain a bug, and reporting a bug is always good, right?
Except you still haven't reported the actual error you got, just the "make failed" part. If you send the actual error, fixing it will require less effort which helps improve the chances of a more immediate fix.
Just an idea.
Message: 10 Date: Thu, 20 Apr 2006 08:59:01 +0200 From: Marc DIrix marc@electronics-design.nl Subject: Re: SQLite To: "David Hedbor (Amazon.com) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Cc: pike-devel@lists.lysator.liu.se Message-ID: 20060420065901.GA21325@angus.electronics-design.nl Content-Type: text/plain; charset="us-ascii"
Because, I didn't get cvs to check the SQLite dir again, I hadn't had the chance to recompile.
Please find the error output of the make attached.
Hope it helps.
On Wed, Apr 19, 2006 at 10:10:01PM +0000, David Hedbor (Amazon.com) @ Pike (-) developers forum wrote:
Yes, I already did that, but it does contain a bug, and reporting a bug is always good, right?
Except you still haven't reported the actual error you got, just the "make failed" part. If you send the actual error, fixing it will require less effort which helps improve the chances of a more immediate fix.
Just an idea.
-------------- next part -------------- Makefile:444: warning: overriding commands for target `depend' Makefile:231: warning: ignoring old commands for target `depend' Makefile:444: warning: overriding commands for target `depend' Makefile:231: warning: ignoring old commands for target `depend' Makefile:450: warning: overriding commands for target `depend' Makefile:232: warning: ignoring old commands for target `depend' Makefile:450: warning: overriding commands for target `depend' Makefile:232: warning: ignoring old commands for target `depend' `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:31: error: syntax error before '*' token /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'step': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: warning: implicit declaration of function 'sqlite3_step' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: error: 'stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: error: (Each undeclared identifier is reported only once /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: error: for each function it appears in.) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: At top level: /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:43: error: syntax error before 'sqlite3' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:43: warning: no semicolon at end of struct or union /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:44: warning: type defaults to 'int' in declaration of 'stmt' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:44: warning: data definition has no type or storage class /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:48: error: syntax error before '}' token /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'ResObj_handle_error': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: warning: implicit declaration of function 'sqlite3_errmsg' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_create': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:56: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:56: warning: implicit declaration of function 'sqlite3_column_count' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:56: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_num_fields': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:64: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_eof': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:68: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_fetch_fields': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:73: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:75: warning: implicit declaration of function 'sqlite3_column_name' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:75: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:75: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:79: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_seek': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:85: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:86: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_fetch_row': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:93: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:93: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:95: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:102: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:103: warning: implicit declaration of function 'sqlite3_finalize' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:104: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:113: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:114: warning: implicit declaration of function 'sqlite3_column_blob' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:114: warning: implicit declaration of function 'sqlite3_column_bytes' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:114: warning: passing argument 1 of 'debug_make_shared_binary_string' makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:117: warning: implicit declaration of function 'sqlite3_column_type' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:120: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'init_ResObj_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:124: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:125: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:126: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:127: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:128: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'exit_ResObj_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:131: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:132: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:133: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:134: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:135: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:136: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: At top level: /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:142: error: syntax error before 'sqlite3' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:142: warning: no semicolon at end of struct or union /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'SQLite_handle_error': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:145: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_create': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:156: warning: implicit declaration of function 'sqlite3_open' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:156: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_big_query': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:164: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:173: warning: implicit declaration of function 'sqlite3_prepare' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:173: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:181: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:181: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:182: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:186: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:201: warning: implicit declaration of function 'sqlite3_bind_parameter_index' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:211: warning: implicit declaration of function 'sqlite3_bind_int64' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:218: warning: implicit declaration of function 'sqlite3_bind_blob' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:218: error: 'SQLITE_STATIC' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:226: warning: implicit declaration of function 'sqlite3_bind_text' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:226: error: 'SQLITE_TRANSIENT' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:238: warning: implicit declaration of function 'sqlite3_bind_double' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:248: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_changes': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:258: warning: implicit declaration of function 'sqlite3_changes' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:258: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_total_changes': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:264: warning: implicit declaration of function 'sqlite3_total_changes' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:264: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_interrupt': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:270: warning: implicit declaration of function 'sqlite3_interrupt' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:270: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_server_info': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:276: warning: implicit declaration of function 'sqlite3_libversion' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:276: warning: passing argument 1 of 'debug_make_shared_binary_string' makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_last_insert_rowid': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:282: warning: implicit declaration of function 'sqlite3_last_insert_rowid' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:282: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_error': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:288: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:288: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_list_tables': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:312: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:313: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:318: warning: implicit declaration of function 'sqlite3_column_text' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:318: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_list_fields': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:331: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:340: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:347: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:350: warning: implicit declaration of function 'sqlite3_column_decltype' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:350: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'init_SQLite_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:360: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'exit_SQLite_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:363: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:367: warning: implicit declaration of function 'sqlite3_close' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:367: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'pike_module_init': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: error: invalid application of 'sizeof' to incomplete type 'struct ResObj_struct' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: error: field 'fooo_' has incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:152: error: invalid application of 'sizeof' to incomplete type 'struct SQLite_struct' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:152: error: field 'fooo_' has incomplete type WARNING: Compiler failure! Trying without optimization! `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. cc1: warning: -Wuninitialized is not supported without -O /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:31: error: syntax error before '*' token /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'step': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: warning: implicit declaration of function 'sqlite3_step' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: error: 'stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: error: (Each undeclared identifier is reported only once /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:33: error: for each function it appears in.) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: At top level: /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:43: error: syntax error before 'sqlite3' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:43: warning: no semicolon at end of struct or union /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:44: warning: type defaults to 'int' in declaration of 'stmt' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:44: warning: data definition has no type or storage class /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:48: error: syntax error before '}' token /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'ResObj_handle_error': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: warning: implicit declaration of function 'sqlite3_errmsg' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_create': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:56: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:56: warning: implicit declaration of function 'sqlite3_column_count' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:56: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_num_fields': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:64: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_eof': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:68: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_fetch_fields': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:73: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:75: warning: implicit declaration of function 'sqlite3_column_name' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:75: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:75: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:79: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_seek': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:85: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:86: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_ResObj_fetch_row': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:93: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:93: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:95: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:102: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:103: warning: implicit declaration of function 'sqlite3_finalize' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:104: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:113: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:114: warning: implicit declaration of function 'sqlite3_column_blob' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:114: warning: implicit declaration of function 'sqlite3_column_bytes' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:114: warning: passing argument 1 of 'debug_make_shared_binary_string' makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:117: warning: implicit declaration of function 'sqlite3_column_type' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:120: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'init_ResObj_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:124: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:125: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:126: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:127: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:128: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'exit_ResObj_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:131: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:132: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:133: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:134: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:135: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:136: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: At top level: /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:142: error: syntax error before 'sqlite3' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:142: warning: no semicolon at end of struct or union /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'SQLite_handle_error': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:145: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_create': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:156: warning: implicit declaration of function 'sqlite3_open' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:156: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_big_query': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:164: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:173: warning: implicit declaration of function 'sqlite3_prepare' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:173: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:181: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:181: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:182: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:186: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:201: warning: implicit declaration of function 'sqlite3_bind_parameter_index' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:211: warning: implicit declaration of function 'sqlite3_bind_int64' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:218: warning: implicit declaration of function 'sqlite3_bind_blob' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:218: error: 'SQLITE_STATIC' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:226: warning: implicit declaration of function 'sqlite3_bind_text' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:226: error: 'SQLITE_TRANSIENT' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:238: warning: implicit declaration of function 'sqlite3_bind_double' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:248: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_changes': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:258: warning: implicit declaration of function 'sqlite3_changes' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:258: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_total_changes': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:264: warning: implicit declaration of function 'sqlite3_total_changes' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:264: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_interrupt': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:270: warning: implicit declaration of function 'sqlite3_interrupt' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:270: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_server_info': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:276: warning: implicit declaration of function 'sqlite3_libversion' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:276: warning: passing argument 1 of 'debug_make_shared_binary_string' makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_last_insert_rowid': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:282: warning: implicit declaration of function 'sqlite3_last_insert_rowid' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:282: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_error': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:288: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:288: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_list_tables': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:312: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:313: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:318: warning: implicit declaration of function 'sqlite3_column_text' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:318: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'f_SQLite_list_fields': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:331: error: 'sqlite3_stmt' undeclared (first use in this function) /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:340: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:347: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:350: warning: implicit declaration of function 'sqlite3_column_decltype' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:350: warning: initialization makes pointer from integer without a cast /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'init_SQLite_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:360: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'exit_SQLite_struct': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:363: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:367: warning: implicit declaration of function 'sqlite3_close' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:367: error: dereferencing pointer to incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod: In function 'pike_module_init': /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: error: invalid application of 'sizeof' to incomplete type 'struct ResObj_struct' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:50: error: field 'fooo_' has incomplete type /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:152: error: invalid application of 'sizeof' to incomplete type 'struct SQLite_struct' /usr/src/pike/src/post_modules/SQLite/sqlite.cmod:152: error: field 'fooo_' has incomplete type Compilation command was: /usr/src/pike/bin/smartlink gcc -I. -I/usr/src/pike/src/post_modules/SQLite -I/usr/src/pike/src -I/usr/src/pike/src -I/usr/src/pike/src/bundles/include -I/usr/local/include -I/usr/X11R6/include -DHAVE_CONFIG_H -g -ggdb3 -mcpu=i686 -I/usr/src/pike/src/bundles/include -I/usr/local/include -I/usr/X11R6/include -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -c sqlite.c -o sqlite.o make[2]: *** [sqlite.o] Error 1 make[1]: *** [SQLite] Error 1 make: *** [post_module_objects] Error 1
End of Pike-devel Digest, Vol 16, Issue 13
= = = = = = = = = = = = = = = = = = = =
致 礼!
qianglee lq@dogstart.com 2006-04-20