I'd try the following:

1. make completely sure you're linking against the correct SQLite
library. Are you linking dynamically or statically?

2. turn all optimizations off (CFLAGS="" before running ./configure),
compile, link and test your app.

3. grab the pre-configured SQLite sources
(http://www.sqlite.org/download.html , the .zip files), compile, link
and test your app.

4. if everything fails, repeat steps 1-3 in random order until it gets
working! :-)

5. if desperate enough, use gdb to track down the problem or modify
the SQLite sources to print out debug info (e.g. sizeof(ptr)). Why
should the size of this pointer be different than sizeof(char *)? Try
to simulate this check in your own test program.

Peter

On 7/24/06, Keiichi McGuire <[EMAIL PROTECTED]> wrote:
I'm pretty sure my gcc is not broken (although I'm not sure how to check
specifically for this problem).
I can compile stuff with gcc without a problem as long as the sqlite stuff
is not on there.

-Keiichi

Reply via email to