db46 compile failure on mavericks

Blair Zajac blair at orcaware.com
Wed Jan 1 13:15:39 PST 2014


Hi Jeremy,

I’m now getting this compile failure on the db46 port.

Regards,
Blair

 /usr/bin/clang++ -c -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/.. -I/opt/local/include -pipe -Os -arch x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../cxx/cxx_txn.cpp  -fno-common -DPIC -o .libs/cxx_txn.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:211:13: warning: implicit declaration of function 'dbopen' is invalid in C99 [-Wimplicit-function-declaration]
        if ((dbp = dbopen(argv[0], O_RDONLY, 0, DB_BTREE, NULL)) == NULL) {
                   ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:211:11: warning: incompatible integer to pointer conversion assigning to 'DB *' (aka 'struct __db *') from 'int' [-Wint-conversion]
        if ((dbp = dbopen(argv[0], O_RDONLY, 0, DB_BTREE, NULL)) == NULL) {
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:212:12: warning: incompatible integer to pointer conversion assigning to 'DB *' (aka 'struct __db *') from 'int' [-Wint-conversion]
                if ((dbp =
                         ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:24: error: no member named 'seq' in 'struct __db'
                while (!(rval = dbp->seq(dbp, &key, &data, R_NEXT))) {
                                ~~~  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:46: error: use of undeclared identifier 'R_NEXT'
                while (!(rval = dbp->seq(dbp, &key, &data, R_NEXT))) {
                                                           ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:233:24: error: no member named 'seq' in 'struct __db'
                while (!(rval = dbp->seq(dbp, &key, &data, R_NEXT))) {
                                ~~~  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:233:46: error: use of undeclared identifier 'R_NEXT'
                while (!(rval = dbp->seq(dbp, &key, &data, R_NEXT))) {
                                                           ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:261:18: error: no member named 'internal' in 'struct __db'
        hash185p = dbp->internal;
                   ~~~  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:263:19: error: no member named 'internal' in 'struct __db'
                hash186p = dbp->internal;
                           ~~~  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:288:13: error: no member named 'internal' in 'struct __db'
        btp = dbp->internal;
              ~~~  ^
3 warnings and 7 errors generated.
make: *** [db_dump185.lo] Error 1
make: *** Waiting for unfinished jobs….





More information about the macports-dev mailing list