You should try with an ARM library. I think the ARM linker should not appreciate an X86 library.
On 3/21/06, 杰 张 <[EMAIL PROTECTED]> wrote: > > hello everyone, > I just want to test the connection between C and sqlite3, When I > cross compile my program there is an error baffled me? > > There are my steps and the error: > $arm-linux-gcc -o sqltest sqltest.c libsqlite.a > usr/local/arm-linux/lib/libc.so.6: could not read symbols:Invalid > operation > collect2: ld returned 1 exit status > > In my sqltest.c I included sqlite3.h and I can make sure that > sqlite3.h and > libsqlite.a are the same version. > Help me! > > > > --------------------------------- > 雅虎1G免费邮箱百分百防垃圾信 > 雅虎助手-搜索、杀毒、防骚扰 >