Hi,
I'm sorry for another bug report, but I'm still not able to compile tora3. Current error:
[100%] Building CXX object src/CMakeFiles/poracle.dir/connection/tooracleprovider.cpp.o
[100%] Building CXX object src/CMakeFiles/poracle.dir/connection/tooracletraits.cpp.o
[100%] Building CXX object src/CMakeFiles/poracle.dir/connection/tooracleconnection.cpp.o
/home/marian/data/tora3/tora3/src/connection/tooracleconnection.cpp: In member function ‘virtual toConnectionSub* toOracleConnectionImpl::createConnection()’:
/home/marian/data/tora3/tora3/src/connection/tooracleconnection.cpp:108:28: error: ‘OCI_SYSASM’ was not declared in this scope
make[2]: *** [src/CMakeFiles/poracle.dir/connection/tooracleconnection.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/poracle.dir/all] Error 2
make: *** [all] Error 2
Full log is attached.
Gentoo, Oracle client 10.2.0.3, latest svn source.
Marian Kyral
2012-10-01
Full build log
Petr Vaněk
2012-10-03
Petr Vaněk
2012-10-03
Please try the latest tora3 svn. Committed revision 4489 should fix it.
--- src/connection/tooracleconnection.cpp (revision 4487)
+++ src/connection/tooracleconnection.cpp (working copy)
@@ -46,6 +46,8 @@
#define TROTL_DLL
#endif
+#include "toociwrapper.h"
+
#include "connection/tooracleconnection.h"
#include "connection/tooraclequery.h"
@@ -104,8 +106,10 @@
session_mode = OCI_SYSOPER;
else if (options.find("SYS_DBA") != options.end())
session_mode = OCI_SYSDBA;
+#ifdef OCI_SYSASM
else if (options.find("SYS_ASM") != options.end())
session_mode = OCI_SYSASM;
+#endif
do
{