Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Need help for the sqlite to BerkleyDB migration

4234721Jul 8 2020 — edited Sep 9 2020

Hi All,

I''m from OIT team of Oracle. Currently we are migrating from sqlite to Berkley DB. I'm facing few issues this. We make use of CMake to build code. So I have built the Berkley source code standalone and making use of the .lib for our application consumption.

After the integration I get the below errors when I build the code.

Error    1    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    18    1    wv_core

Error    2    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    18    1    wv_core

Error    3    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    19    1    wv_core

Error    4    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    19    1    wv_core

Error    5    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    20    1    wv_core

Error    6    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    20    1    wv_core

Error    7    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    21    1    wv_core

Error    8    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    21    1    wv_core

Error    9    error C2146: syntax error : missing ';' before identifier 'pTxtAlias' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    49    1    wv_core

Error    10    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    49    1    wv_core

Error    11    error C2146: syntax error : missing ';' before identifier 'pIntAlias' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    69    1    wv_core

Error    12    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    69    1    wv_core

Error    13    error C2146: syntax error : missing ';' before identifier 'pNullAlias' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    82    1    wv_core

Error    14    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    82    1    wv_core

Error    15    error C2146: syntax error : missing ';' before identifier 'pDblAlias' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    97    1    wv_core

Error    16    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\comQuery.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    97    1    wv_core

Error    17    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\fsRecSet.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    18    1    wv_core

Error    18    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\fsRecSet.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    18    1    wv_core

Error    19    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\fsRecSet.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    19    1    wv_core

Error    20    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\fsRecSet.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    19    1    wv_core

Error    21    error C2065: 'sqlite3_stmt' : undeclared identifier (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\fsRecSet.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    20    1    wv_core

Error    22    error C2059: syntax error : ',' (C:\ADE\anushas_anu_main_pop\outsidein\OIT_CVOB\win32v\wvcore\fs\fsRecSet.cpp)    C:\ADE\anushas_anu_main_pop\outsidein\TOOLS\CPPUtil\Source\db\AliasElemSqlite.h    20    1    wv_core

It says the that the API's and structs in sqlite3.c file is not found. I'm not sure what I'm missing, or any other better approach if you people can suggest would be of great help.

This post has been answered by Laurenfoutz-Oracle on Jul 8 2020
Jump to Answer

Comments

Processing

Post Details

Added on Jul 8 2020
3 comments
359 views