#861 Tora3 build fail - ‘OCI_SYSASM’ was not declared in this sco

None
closed-fixed
Petr Vaněk
General (70)
5
2013-10-25
2012-10-01
Marian Kyral
No

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.

Discussion

  • Marian Kyral
    Marian Kyral
    2012-10-01

    Full build log

     
    Attachments
  • Petr Vaněk
    Petr Vaněk
    2012-10-03

    • assigned_to: nobody --> subik
    • status: open --> pending-fixed
     
  • Petr Vaněk
    Petr Vaněk
    2012-10-03

    Please try the latest tora3 svn. Committed revision 4489 should fix it.

    Index: src/connection/tooracleconnection.cpp

    --- 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
    {

     
  • Ivan Brezina
    Ivan Brezina
    2013-10-25

    • status: pending-fixed --> closed-fixed
    • Group: -->