After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 162471 - Build error in 1.2.0: MDB_WRITABLE undeclared
Build error in 1.2.0: MDB_WRITABLE undeclared
Status: RESOLVED DUPLICATE of bug 412122
Product: libgda
Classification: Other
Component: MDB provider
1.2.x
Other Linux
: Normal major
: ---
Assigned To: Rodrigo Moya
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-29 14:51 UTC by James Ogley
Modified: 2007-03-19 18:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James Ogley 2004-12-29 14:51:27 UTC
The MDB provider fails to build in 1.2.0 (built fine in 1.1.99)  Using version
unspecified as Bugzilla doesn't have 1.2.0 available yet.

gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\"
-DPACKAGE_VERSION=\"1.2.0\" "-DPACKAGE_STRING=\"GNU Data Access 1.2.0\""
-DPACKAGE_BUGREPORT=\"gnome-db-list@gnome.org\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_BDB=1 -DHAVE_MYSQL=1 -DHAVE_POSTGRES=1 -DHAVE_XBASE=1
-DHAVE_SQLITE=1 -DHAVE_MDB=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. -I../..
-pthread -I/usr/include/libxml2 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/usr/include -g -O2 -MT gda-mdb-provider.lo
-MD -MP -MF .deps/gda-mdb-provider.Tpo -c gda-mdb-provider.c  -fPIC -DPIC -o
.libs/gda-mdb-provider.o
gda-mdb-provider.c: In function `gda_mdb_provider_open_connection':
gda-mdb-provider.c:212: error: `MDB_WRITABLE' undeclared (first use in this
function)
gda-mdb-provider.c:212: error: (Each undeclared identifier is reported only
oncegda-mdb-provider.c:212: error: for each function it appears in.)
gda-mdb-provider.c:212: warning: passing arg 1 of `mdb_open' discards qualifiers
from pointer target type
gda-mdb-provider.c:212: error: too many arguments to function `mdb_open'
gda-mdb-provider.c: In function `get_mdb_tables':
gda-mdb-provider.c:617: warning: passing arg 1 of `gda_data_model_append_row'
from incompatible pointer type
gda-mdb-provider.c: In function `gda_mdb_provider_execute_sql':
gda-mdb-provider.c:732: warning: assignment discards qualifiers from pointer
target type
make[2]: *** [gda-mdb-provider.lo] Error 1
Comment 1 Murray Cumming 2007-02-06 16:06:15 UTC
Does this problem still exist in the latest libgda versions?
Comment 2 James Ogley 2007-02-14 14:29:05 UTC
Yes, just tested it with 1.3.91 and 2.99.5 and the same problem exists.
Comment 3 Murray Cumming 2007-02-14 14:43:26 UTC
What version of MDB is this, on what platform/distro?

I'm not sure that this is MDB thing is a stable API, but it's good to know the details, and maybe we can #ifdef around the changes.
Comment 4 James Ogley 2007-02-14 14:52:37 UTC
It's mdbtools 0.5 on openSUSE, i586 and x86_64.  The thing is that (trying to think back to when I first opened this bug) I don't think I'd updated mdbtools between building libgda 1.1.99 and 1.2.0.
Comment 5 Yaakov Selkowitz 2007-02-26 02:54:02 UTC
0.6pre1 is required for MDB_WRITABLE.
Comment 6 Yaakov Selkowitz 2007-03-19 18:38:00 UTC
Can be marked RESOLVED DUPLICATE bug 412122.
Comment 7 Murray Cumming 2007-03-19 18:58:46 UTC
Excellent.

*** This bug has been marked as a duplicate of 412122 ***