Christian Smith wrote:
Keiichi McGuire uttered:

This is a bit confusing, especially since if I compile it using gcc it will compile w/o any problems. What would this "incompatibility" mean and what
would a solution be to make it compatible and be found by the compiler?


Chances are that the libsqlite.a you're trying to link against is a host library, ie. x86 binary.

Compile SQLite from source, using the cross compiler.

Christian is describing your problem spot on. The pre-compiled Linux binary is almost certainly for the x86 architecture. You need a libsqlite.[a|so] that has been complied for the ARM architecture, so to do that you need to build SQLite with the arm-linux-gcc. Once you've done that, you will be able to compile and link your test application just fine.

--
Glenn McAllister     <[EMAIL PROTECTED]>      +1 416 348 1594
SOMA Networks, Inc.  http://www.somanetworks.com/  +1 416 977 1414

Reply via email to