Another idea: make sure that you're telling linker to link with libsqlite3.a - it cannot guess it for you.
Pavel On Tue, Oct 20, 2009 at 6:13 AM, Michal Seliga <michal.sel...@visicom.sk> wrote: > just an idea - make sure you are crosscompiling and libsqlite3.a is for > arm-linux and not for cygwin > > j.hermanussen wrote: >> Hi to all, I'm new on this list. >> >> I'm working on an application that runs on a small ARM-LINUX device, too >> small to contain GCC. So I've installed Cygwin on my Win XP desktop PC. >> Cygwin has arm-linux.gcc installed. Compiling & link works fine. The >> exec is FTP'd to the ARM device. Works great. >> Now I want to incorporate SQLite in my application. I unzipped it to a >> directory under Cygwin, did the configure, make & make install steps. >> The library libsqlite3.a is in place but when I make a small main.c with >> a call to sqlite3_open(...) in it, the linker says: >> undefined reference for sqlite3_open >> >> Does anybody have any idea on what causes this link error? >> >> Thanks for your attention, >> John >> >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users