From: hakan <he...@us...> - 2014-10-09 17:12:40
|
Staffan I believe the oosqlite3_get_routines is solved with the changes I suggested to sqlite3.c & sqlite3.h, but I’m not a C or C++ expert. So check that you really added all to these modules. My oosqlPackage.hpp is from 13-06-06 (there is not struct word on line 65) Well the latest svn rev is not related to oosqlite, svn rev is for all commits in oorexx Last svn rev for oosqlite is 10105 where Mark checked in changes for the makefile.win (just a debug flag) LAST in sqlite3.c modulen #ifdef OOSQLITE_BUILD SQLITE_API const sqlite3_api_routines* oosqlite3_get_routines(void){ return &sqlite3Apis; } #endif Last in sqlite3.h #ifdef OOSQLITE_BUILD #ifdef __cplusplus extern "C" { #endif typedef struct sqlite3_api_routines sqlite3_api_routines; extern SQLITE_API const sqlite3_api_routines *oosqlite3_get_routines(void); #ifdef __cplusplus } /* end of the 'extern "C"' block */ #endif #endif /* end if OOSQLITE_BUILD */ /hex Från: Staffan Tylen Skickat: torsdag den 9 oktober 2014 18:15 Till: Open Object Rexx Users Hex, I've managed to get a bit further on this and one of the problems I had was line 65 in oosqlPackage.hpp: typedef const sqlite3_api_routines *SqlApiVector; which I had to change to: typedef const struct sqlite3_api_routines *SqlApiVector; But another problem I have is that the compile of ooSQLite.cpp complains that it can't find oosqlite3_get_routines. I've searched through the whole source tree for ooSQLite but I can't find it either. My understanding is that you've managed to compile the source tree without errors, does this imply that you used the latest revision of the source (10667)? Staffan On Wed, Oct 8, 2014 at 12:03 AM, Staffan Tylen <sta...@gm...> wrote: Thanks hex, I will try to compile without codec and see if it works. Apparently some major changes have been made to ooSQLite since level 9969 when I didn't have any problems to compile even with codec. I know Mark added support for encryption but maybe this now has been taken away, one can ask. I guess the change history would tell. Staffan On Tue, Oct 7, 2014 at 9:11 PM, hakan <he...@us...> wrote: Message was cut, here it is again Staffan I believe you are compiling with encryption and maybe these errors are from that circumstance. The Changes I suggested is for unencrypted oosqlite, If you can try to remove /DSQLITE_HAS_CODEC in your compile line, we will see If that will let oosqlite compile as it did for me I am a real novice in this area. Maybe you also need to compile the APICOMMON as it uses OOrexx libraries. I have a note that to be able to use /DSQLITE_HAS_CODEC you must add to sqlite3.c #include "codecext.c" but I think it's something more to do, can't find my notes on that. I haven't succeeded to compile with encryption since your suggestion to use botan, IRC, years back. As I said I'm a novice on this. /hex ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Oorexx-users mailing list Oor...@li... https://lists.sourceforge.net/lists/listinfo/oorexx-users |