Re: [sqlite] crosscompiling dynamic library

2007-03-08 Thread Jakub Ladman
Now i have complete answer, every object file must be compiled with -fPIC parameter, now it seems to be good. Jakub Dne čtvrtek 08 březen 2007 15:33 Jakub Ladman napsal(a): > I have found that it may be problem with something called TEXTREL > I do not know what is it, but: > > [EMAIL PROTECTED]

Re: [sqlite] crosscompiling dynamic library

2007-03-08 Thread Jakub Ladman
I have found that it may be problem with something called TEXTREL I do not know what is it, but: [EMAIL PROTECTED] ~/src/shsqlite $ sh4-pc-linux-uclibc-gcc -shared *.o -o libsqlite3.so /usr/libexec/gcc/sh4-pc-linux-uclibc/ld: warning: creating a DT_TEXTREL in object. [EMAIL PROTECTED]

[sqlite] crosscompiling dynamic library

2007-03-08 Thread Jakub Ladman
Hi there I have discovered problem while trying to run crosscompiled simple test program for my target embedded system. /mnt/nfs/home/jakub/shsqlite $ ./testsql test.db 'create table tbl1(one varchar(10), two smallint)' Can't modify /usr/lib/libsqlite3.so's text section. Use GCC option -fPIC