Re: [sqlite] ARM Cross compilation problem

2010-07-01 Thread Eric Smith
Matheus Ledesma wrote: > With "-ldl" after "-static" argument I receive the following error: > > balanca_simula_peso_io_paralela.c:632: warning: 'mseg1' may be used > uninitialized in this function > >

Re: [sqlite] ARM Cross compilation problem

2010-07-01 Thread Matheus Ledesma
With "-ldl" after "-static" argument I receive the following error: balanca_simula_peso_io_paralela.c:632: warning: 'mseg1' may be used uninitialized in this function /home/generic/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/lib/libsqlite3.a(sqlite3.o): In function

Re: [sqlite] ARM Cross compilation problem

2010-07-01 Thread Eric Smith
Matheus Ledesma wrote: > "arm-none-linux-gnueabi-gcc -o balanca > balanca_simula_peso_io_paralela.c -Wall -W -O2 > -Wl,-R/home/generic/CodeSourcery/Sourcery_G++_Lite/lib -lsqlite3 > -lpthread -static" Try adding '-ldl' to your args. Eric -- Eric A. Smith Where a calculator on the ENIAC is

[sqlite] ARM Cross compilation problem

2010-07-01 Thread Matheus Ledesma
Dear friends, I was sucessfuly able to cross compile the source sqlite-amalgamation-3.6.23.1 and it's working in the target. The problem happens when I try to compile my program using the sqlite3 libraries. I get the following error messages: