On Sun, 11 Nov 2012, Charles Smith wrote:
I confess I'm confused. I thought that it worked, but now it's not working any more: g++ \ -L"/home/me/dir1" \ -L"/home/me/dir2" \ -L"/home/me/dirn" \ /home/me/opt/lib/libsqlite3.a \ -o "FLAT" ./a.o ./b.o -llib1 -llib2 -llibn /home/me/dir2/liblib2.a(layer.o): In function `Entity::get_ip_config(char*)': /home/me/a.cc:86: undefined reference to `sqlite3_open_v2'
If A depends on B, put -lA before -lB... -- Marc Glisse