Subject | linux fb connection |
---|---|
Author | Todd Fisher |
Post date | 2004-12-29T21:43:10Z |
Hi, I just upgraded to 1.5.2 and fedora core 3 gcc 3.4
I compiled firebird 1.5.2 with the following options:
Now when I try to connect to a database using ibpp which I also
compiled with gcc 3.4
I get this error after connecting to a database created using isql_static
compiling firebird with:
./configure --with-editline --without-lock-manager --enable-static
--enable-raw-devices --with-gnu-ld --disable-libtool-lock
compiling ibpp with:
--rtti -DIBPP_GCC -DIBPP_LINUX -lcurses -lcrypt libfbstatic.a
libfbcommon.a libeditline.a
creating the database with the following commands:
isql_static plan.fdb -u simo -p simo -input BaseDBDef.sql
isql_static plan.fdb -u simo -p simo -input CarrierDBDef.sql
isql_static plan.fdb -u simo -p simo -input HealthPlanDBDef.sql
isql_static plan.fdb -u simo -p simo -input InsuranceCatSubcatDBDef.sql
isql_static plan.fdb -u simo -p simo -input StaticListsDBDef.sql
isql_static plan.fdb -u simo -p simo -input PlanBenefitsDBDef.sql
isql_static plan.fdb -u simo -p simo -input PlanYearDeductDBDef.sql
isql_static plan.fdb -u simo -p simo -input PlanYearMaxDBDef.sql
isql_static plan.fdb -u simo -p simo -input WhosCoveredDBDef.sql
then I call my ibpp program, which looks like:
IBPP::Database db;
db = IBPP::DatabaseFactory("", "plan.fdb", "simo", "simo" );
db->Connect();
the following is the error message I get.
*** IBPP::Exception ***
Context: Database::Connect
Message: isc_attach_database failed
SQL Message : -820
wrong or obsolete version
Engine Code : 335544379
Engine Message :
unsupported on-disk structure for file plan.fdb; found 523, support 10
Any ideas why I'm getting this error message, when connecting to the plan.fdb?
I also sending this message to the ibpp list.
Thanks,
-todd
I compiled firebird 1.5.2 with the following options:
Now when I try to connect to a database using ibpp which I also
compiled with gcc 3.4
I get this error after connecting to a database created using isql_static
compiling firebird with:
./configure --with-editline --without-lock-manager --enable-static
--enable-raw-devices --with-gnu-ld --disable-libtool-lock
compiling ibpp with:
--rtti -DIBPP_GCC -DIBPP_LINUX -lcurses -lcrypt libfbstatic.a
libfbcommon.a libeditline.a
creating the database with the following commands:
isql_static plan.fdb -u simo -p simo -input BaseDBDef.sql
isql_static plan.fdb -u simo -p simo -input CarrierDBDef.sql
isql_static plan.fdb -u simo -p simo -input HealthPlanDBDef.sql
isql_static plan.fdb -u simo -p simo -input InsuranceCatSubcatDBDef.sql
isql_static plan.fdb -u simo -p simo -input StaticListsDBDef.sql
isql_static plan.fdb -u simo -p simo -input PlanBenefitsDBDef.sql
isql_static plan.fdb -u simo -p simo -input PlanYearDeductDBDef.sql
isql_static plan.fdb -u simo -p simo -input PlanYearMaxDBDef.sql
isql_static plan.fdb -u simo -p simo -input WhosCoveredDBDef.sql
then I call my ibpp program, which looks like:
IBPP::Database db;
db = IBPP::DatabaseFactory("", "plan.fdb", "simo", "simo" );
db->Connect();
the following is the error message I get.
*** IBPP::Exception ***
Context: Database::Connect
Message: isc_attach_database failed
SQL Message : -820
wrong or obsolete version
Engine Code : 335544379
Engine Message :
unsupported on-disk structure for file plan.fdb; found 523, support 10
Any ideas why I'm getting this error message, when connecting to the plan.fdb?
I also sending this message to the ibpp list.
Thanks,
-todd