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 `unixDlOpen': /home/generic/OpenController/garten/teste/sqlite3.c:26401: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Em 01/07/10 14:22, Eric Smith escreveu: > 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 equipped with 18,000 vaccuum > tubes and weighs 30 tons, computers in the future may have only > 1,000 vaccuum tubes and perhaps weigh 1 1/2 tons. > -- Popular Mechanics, March 1949 > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

