Re: [sqlite] Use VDBE in extension

2009-08-02 Thread cefbear
Okay, I have givven up implementing direct VDBE access in a loadable extension. Last thing I tried was to link the extension against all needed objects. Read: > cd sqlite/src > for f in *.c; do gcc -c "$f"; done > cd ../.. > gcc -shared sqlite/src/*.o ext.o -o ext.so ...or something like that.

[sqlite] Use VDBE in extension

2009-07-26 Thread cefbear
Hey there, I am trying to access the VDBE directly from within a loadable extension. Compiling works, but loading the extension fails with > undefined symbol: sqlite3VdbeCreate My includes look like this: > #include "sqlite3ext.h" > #include "sqliteInt.h" > #include "vdbe.h" Code: > Vdbe *v