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 for shared objects, please. /mnt/nfs/home/jakub/shsqlite $ program was compiled as: ~/src/shsqlite/testsql $ sh4-pc-linux-uclibc-gcc -lpthread -lsqlite3 -ldl -L../ testsql.c -fPIC -o testsql library was linked as: sh4-pc-linux-uclibc-gcc -fPIC -shared *.o -o libsqlite3.so from directory with .o files from linux makefile What's wrong? I tried both -fPIC enabled and disablen on even library and executable. Thank you for your help Jakub ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

