Last active
October 6, 2020 12:25
-
-
Save elliotwoods/e0d266105b23054edef8f6bcce0067de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:127:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored on */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:126:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* key size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:127:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored on */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:53:39: error: unknown type name 'BKT' | |
static int mpool_write __P((MPOOL *, BKT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:89:3: error: type defaults to 'int' in declaration of 'PAGE' [-Werror=implicit-int] | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:127:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored on */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:59:1: error: unknown type name 'MPOOL' | |
MPOOL * | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:126:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* key size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_open': | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:127:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored on */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:63:8: error: unknown type name 'FILEVTABLE' | |
const FILEVTABLE * fvtable; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:64:2: error: unknown type name 'pgno_t' | |
pgno_t pagesize, maxcache; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:66:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_split.c:44: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:70:13: error: 'MPOOL' undeclared (first use in this function) | |
if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_close.c:48:0: | |
../../lib/berkeley-db-1.xx/PORT/include/db.h:1:1: error: expected identifier or '(' before '.' token | |
../../include/db.h | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:70:13: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_close.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:89:3: error: data definition has no type or storage class [-Werror] | |
} PAGE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:70:20: error: expected expression before ')' token | |
if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:89:3: error: type defaults to 'int' in declaration of 'PAGE' [-Werror=implicit-int] | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:72:2: error: implicit declaration of function 'CIRCLEQ_INIT' [-Werror=implicit-function-declaration] | |
CIRCLEQ_INIT(&mp->lqh); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:126:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* key size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:72:18: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_INIT(&mp->lqh); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:127:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored on */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_put.c:44: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:73:26: error: 'HASHSIZE' undeclared (first use in this function) | |
for (entry = 0; entry < HASHSIZE; ++entry) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:74:19: error: request for member 'hqh' in something not a structure or union | |
CIRCLEQ_INIT(&mp->hqh[entry]); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:75:4: error: request for member 'maxcache' in something not a structure or union | |
mp->maxcache = maxcache; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:76:4: error: request for member 'fvtable' in something not a structure or union | |
mp->fvtable = fvtable; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:77:22: error: request for member 'fvtable' in something not a structure or union | |
off_t file_size = mp->fvtable->lseek(fd, 0, SEEK_END); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:80:4: error: request for member 'npages' in something not a structure or union | |
mp->npages = file_size / pagesize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:81:4: error: request for member 'pagesize' in something not a structure or union | |
mp->pagesize = pagesize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_get.c:45: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:50:45: error: unknown type name 'DBT' | |
static int __bt_bdelete __P((BTREE *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:82:4: error: request for member 'fd' in something not a structure or union | |
mp->fd = fd; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:45: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:51:44: error: unknown type name 'DBT' | |
static int __bt_curdel __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_filter': | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:51:51: error: expected declaration specifiers or '...' before 'PAGE' | |
static int __bt_curdel __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:92:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_search.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_open.c:53: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:52:39: error: expected declaration specifiers or '...' before 'PAGE' | |
static int __bt_pdelete __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_page.c:40: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/mpool/mpool.c:42: | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:93:28: error: unknown type name 'pgno_t' | |
void (*pgin) __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_split.c:44: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:53:38: error: expected declaration specifiers or '...' before 'PAGE' | |
static int __bt_relink __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_overflow.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:94:29: error: unknown type name 'pgno_t' | |
void (*pgout) __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:54:38: error: expected declaration specifiers or '...' before 'PAGE' | |
static int __bt_stkacq __P((BTREE *, PAGE **, CURSOR *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:91:1: error: type of 'pgin' defaults to 'int' [-Werror=implicit-int] | |
mpool_filter(mp, pgin, pgout, pgcookie) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_debug.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_delete': | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:91:1: error: type of 'pgout' defaults to 'int' [-Werror=implicit-int] | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:64:8: error: unknown type name 'DB' | |
const DB *dbp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:97:4: error: request for member 'pgin' in something not a structure or union | |
mp->pgin = pgin; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:65:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:98:4: error: request for member 'pgout' in something not a structure or union | |
mp->pgout = pgout; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:70:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_put.c:44: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:99:4: error: request for member 'pgcookie' in something not a structure or union | |
mp->pgcookie = pgcookie; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:70:8: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_new': | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:73:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:108:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:76:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:109:2: error: unknown type name 'pgno_t' | |
pgno_t *pgnoaddr; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAGE' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:77:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:112:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../extmod/modbtree.c:37:0: | |
../../lib/berkeley-db-1.xx/PORT/include/db.h:1:1: error: expected identifier or '(' before '.' token | |
../../include/db.h | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_close.c:44: | |
../../lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:48: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:77:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:114:8: error: request for member 'npages' in something not a structure or union | |
if (mp->npages == MAX_PAGE_NUMBER) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../extmod/modbtree.c:38:0: | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:89:3: error: data definition has no type or storage class [-Werror] | |
} PAGE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_get.c:48: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:78:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:114:20: error: 'MAX_PAGE_NUMBER' undeclared (first use in this function) | |
if (mp->npages == MAX_PAGE_NUMBER) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:89:3: error: type defaults to 'int' in declaration of 'PAGE' [-Werror=implicit-int] | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_get.c:45: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:82:6: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_RDONLY)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:126:12: error: implicit declaration of function 'mpool_bkt' [-Werror=implicit-function-declaration] | |
if ((bp = mpool_bkt(mp)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:126:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* key size */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:45: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:84:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:126:10: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] | |
if ((bp = mpool_bkt(mp)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:127:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored on */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_search.c:46: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:91:7: error: 'R_CURSOR' undeclared (first use in this function) | |
case R_CURSOR: | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_page.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:128:16: error: request for member 'pgno' in something not a structure or union | |
*pgnoaddr = bp->pgno = mp->npages++; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:46: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:157:2: error: unknown type name 'recno_t' | |
recno_t nrecs; /* number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_search.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_open.c:53: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:96:9: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
c = &t->bt_cursor; | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_page.c:40: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_overflow.c:48: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:128:27: error: request for member 'npages' in something not a structure or union | |
*pgnoaddr = bp->pgno = mp->npages++; | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:158:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* page number stored below */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:99:13: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (RET_SPECIAL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_overflow.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:129:4: error: request for member 'flags' in something not a structure or union | |
bp->flags = MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_debug.c:48: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:178:2: error: unknown type name 'u_int32_t' | |
u_int32_t ksize; /* size of key */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:100:13: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:129:14: error: 'MPOOL_PINNED' undeclared (first use in this function) | |
bp->flags = MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_debug.c:43: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:179:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:107:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 1) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:131:12: error: request for member 'hqh' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:211:2: error: unknown type name 'u_int32_t' | |
u_int32_t dsize; /* size of data */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:107:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 1) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:131:18: error: implicit declaration of function 'HASHKEY' [-Werror=implicit-function-declaration] | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:247:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; /* the page number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:107:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 1) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:131:28: error: request for member 'pgno' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:248:2: error: unknown type name 'indx_t' | |
indx_t index; /* the index on the page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:108:9: error: implicit declaration of function '__bt_stkacq' [-Werror=implicit-function-declaration] | |
if (__bt_stkacq(t, &h, &t->bt_cursor)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:132:2: error: implicit declaration of function 'CIRCLEQ_INSERT_HEAD' [-Werror=implicit-function-declaration] | |
CIRCLEQ_INSERT_HEAD(head, bp, hq); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAG | |
' | |
PAGE *page; /* the (pinned) page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:108:30: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (__bt_stkacq(t, &h, &t->bt_cursor)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:132:32: error: 'hq' undeclared (first use in this function) | |
CIRCLEQ_INSERT_HEAD(head, bp, hq); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:282:2: error: unknown type name 'DBT' | |
DBT key; /* B: Saved key, or key.data == NULL. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:51:36: error: expected declaration specifiers or '...' before 'PAGE' | |
static int bt_broot __P((BTREE *, PAGE *, PAGE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:111:13: error: implicit declaration of function '__bt_dleaf' [-Werror=implicit-function-declaration] | |
status = __bt_dleaf(t, NULL, h, c->pg.index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:133:2: error: implicit declaration of function 'CIRCLEQ_INSERT_TAIL' [-Werror=implicit-function-declaration] | |
CIRCLEQ_INSERT_TAIL(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:283:2: error: unknown type name 'recno_t' | |
recno_t rcursor; /* R: recno cursor (1-based) */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:51:44: error: expected declaration specifiers or '...' before 'PAGE' | |
static int bt_broot __P((BTREE *, PAGE *, PAGE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:113:39: error: 'RET_SUCCESS' undeclared (first use in this function) | |
if (NEXTINDEX(h) == 0 && status == RET_SUCCESS) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:133:25: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_INSERT_TAIL(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:289:2: error: unknown type name 'u_int8_t' | |
u_int8_t flags; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:51:52: error: expected declaration specifiers or '...' before 'PAGE' | |
static int bt_broot __P((BTREE *, PAGE *, PAGE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/btree.h:388:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_close.c:49: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:114:9: error: implicit declaration of function '__bt_pdelete' [-Werror=implicit-function-declaration] | |
if (__bt_pdelete(t, h)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:133:36: error: 'q' undeclared (first use in this function) | |
CIRCLEQ_INSERT_TAIL(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:298:2: error: unknown type name 'u_int32_t' | |
u_int32_t magic; /* magic number */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:52:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
static PAGE *bt_page | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_close.c:44: | |
../../lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:118:36: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
h, status == RET_SUCCESS ? MPOOL_DIRTY : 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:134:12: error: request for member 'page' in something not a structure or union | |
return (bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:299:2: error: unknown type name 'u_int32_t' | |
u_int32_t version; /* version */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_split.c:44: | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:54:39: error: unknown type name 'pgno_t' | |
static int bt_preserve __P((BTREE *, pgno_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:127:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_MODIFIED); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_get': | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:300:2: error: unknown type name 'u_int32_t' | |
u_int32_t psize; /* page size */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:55:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
static PAGE *bt_psplit | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:51:41: error: unknown type name 'DBT' | |
static EPG *bt_fast __P((BTREE *, const DBT *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:143:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:301:2: error: unknown type name 'u_int32_t' | |
u_int32_t free; /* page number of first free page */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:57:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
static PAGE *bt_root | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:144:1: error: static declaration of '__bt_stkacq' follows non-static declaration | |
__bt_stkacq(t, hp, c) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:51:54: error: unknown type name 'DBT' | |
static EPG *bt_fast __P((BTREE *, const DBT *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:144:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:302:2: error: unknown type name 'u_int32_t' | |
u_int32_t nrecs; /* R: number of records */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_split.c:44: | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:59:36: error: expected declaration specifiers or '...' before 'PAGE' | |
static int bt_rroot __P((BTREE *, PAGE *, PAGE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:108:9: note: previous implicit declaration of '__bt_stkacq' was here | |
if (__bt_stkacq(t, &h, &t->bt_cursor)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c: In function '__bt_put': | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:148:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:305:2: error: unknown type name 'u_int32_t' | |
u_int32_t flags; /* bt_flags & SAVEMETA */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:59:44: error: expected declaration specifiers or '...' before 'PAGE' | |
static int bt_rroot __P((BTREE *, PAGE *, PAGE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_stkacq': | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:68:8: error: unknown type name 'DB' | |
const DB *dbp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:153:16: error: request for member 'npages' in something not a structure or union | |
if (pgno >= mp->npages) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:310:2: error: unknown type name 'MPOOL' | |
MPOOL *bt_mp; /* memory pool cookie */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:59:52: error: expected declaration specifiers or '...' before 'PAGE' | |
static int bt_rroot __P((BTREE *, PAGE *, PAGE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:146:2: error: expected declaration specifiers before 'PAGE' | |
PAGE **hp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:69:2: error: unknown type name 'DBT' | |
DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:163:12: error: implicit declaration of function 'mpool_look' [-Werror=implicit-function-declaration] | |
if ((bp = mpool_look(mp, pgno)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:312:2: error: unknown type name 'DB' | |
DB *bt_dbp; /* pointer to enclosing DB */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:60:8: error: unknown type name 'recno_t' | |
static recno_t rec_total __P((PAGE *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:144:1: error: type of 'hp' defaults to 'int' [-Werror=implicit-int] | |
__bt_stkacq(t, hp, c) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:70:8: error: unknown type name 'DBT' | |
const DBT *data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:163:10: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] | |
if ((bp = mpool_look(mp, pgno)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:315:2: error: expected specifier-qualifier-list before 'PAG | |
' | |
PAGE *bt_pinned; /* page pinned across calls */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../lib/berkeley-db-1.xx/btree/bt_split.c:44: | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:60:32: error: expected declaration specifiers or '...' before 'PAGE' | |
static recno_t rec_total __P((PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_ret': | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:152:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:74:2: error: unknown type name 'DBT' | |
DBT tkey, tdata; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:175:13: error: request for member 'hqh' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../extmod/modbtree.c:27: | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:36:22: error: unknown type name 'DB' | |
int __bt_close __P((DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: In function '__bt_split': | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c: In function '__bt_get': | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:70:2: error: unknown type name 'DBT' | |
DBT *key, *rkey, *data, *rdata; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:153:2: error: unknown type name 'indx_t' | |
indx_t index = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:76:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:175:29: error: request for member 'pgno' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:37:35: error: unknown type name 'DBT' | |
int __bt_cmp __P((BTREE *, const DBT *, EPG *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:51:43: error: unknown type name 'DBT' | |
static int __bt_first __P((BTREE *, const DBT *, EPG *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:84:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *sp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:64:8: error: unknown type name 'DB' | |
const DB *dbp; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:76:17: error: 'EPG {aka struct _epg}' has no member named 'page' | |
bl = GETBLEAF(e->page, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:22: note: in definition of macro 'GETBLEAF' | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:154:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:76:8: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:176:3: error: implicit declaration of function 'CIRCLEQ_REMOVE' [-Werror=implicit-function-declaration] | |
CIRCLEQ_REMOVE(head, bp, hq); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:39:29: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:53:45: error: unknown type name 'DBT' | |
static int __bt_seqset __P((BTREE *, EPG *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:85:8: error: unknown type name 'DBT' | |
const DBT *key, *data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:65:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:76:17: error: 'EPG {aka struct _epg}' has no member named 'page' | |
bl = GETBLEAF(e->page, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:29: note: in definition of macro 'GETBLEAF' | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:155:2: error: unknown type name 'recno_t' | |
recno_t nextpg, prevpg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:77:2: error: unknown type name 'indx_t' | |
indx_t index, nxtindex; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:176:28: error: 'hq' undeclared (first use in this function) | |
CIRCLEQ_REMOVE(head, bp, hq); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:39:42: error: unknown type name 'DBT' | |
int __bt_defcmp __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: In function '__bt_seq': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:88:2: error: unknown type name 'u_int32_t' | |
u_int32_t argskip; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:48:37: error: expected declaration specifiers or '...' before 'PAGE' | |
static int __bt_snext __P((BTREE *, PAGE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:66:2: error: unknown type name 'DBT' | |
DBT *data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:76:26: error: 'EPG {aka struct _epg}' has no member named 'index' | |
bl = GETBLEAF(e->page, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:39: note: in definition of macro 'GETBLEAF' | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:116:1: error: unknown type name 'DB' | |
DB * | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:162:6: error: invalid type argument of unary '*' (have 'int') | |
h = *hp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c: In function '__bt_free': | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:78:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:178:21: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_REMOVE(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:48:24: error: expected declaration specifiers or '...' before 'PAGE' | |
static void mswap __P((PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:40:32: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:78:8: error: unknown type name 'DB' | |
const DB *dbp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:82:1: error: type of 'sp' defaults to 'int' [-Werror=implicit-int] | |
__bt_split(t, sp, key, data, flags, ilen, argskip) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:48:51: error: unknown type name 'DBT' | |
static int __bt_snext __P((BTREE *, PAGE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:73:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:88:11: error: request for member 'size' in something not a structure or union | |
&key->size, &rkey->data, &rkey->size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c: In function '__bt_open': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:166:7: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:62:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:79:2: error: unknown type name 'u_int32_t' | |
u_int32_t nbytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c: In function '__ovfl_get': | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:178:32: error: 'q' undeclared (first use in this function) | |
CIRCLEQ_REMOVE(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c: In function '__bt_pgin': | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:40:45: error: unknown type name 'DBT' | |
size_t __bt_defpfx __P((const DBT *, const DBT *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:79:2: error: unknown type name 'DBT' | |
DBT *key, *data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:92:2: error: unknown type name 'DBT' | |
DBT a, b; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:49:37: error: expected declaration specifiers or '...' before 'PAGE' | |
static int __bt_sprev __P((BTREE *, PAGE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:76:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:88:24: error: request for member 'data' in something not a structure or union | |
&key->size, &rkey->data, &rkey->size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:119:8: error: unknown type name 'FILEVTABLE' | |
const FILEVTABLE *vtable; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:184:29: note: in expansion of macro 'BT_POP' | |
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:60:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_free(t, h) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:114:27: error: 'pgno_t' undeclared (first use in this function) | |
#define NOVFLSIZE (sizeof(pgno_t) + sizeof(u_int32_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:81:17: note: in expansion of macro 'NOVFLSIZE' | |
char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:87:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:179:26: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_INSERT_TAIL(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:63:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:41:29: error: unknown type name 'DB' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:86:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:8: error: 'h' undeclared (first use in this function) | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:49:51: error: unknown type name 'DBT' | |
static int __bt_sprev __P((BTREE *, PAGE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:77:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:88:37: error: request for member 'size' in something not a structure or union | |
&key->size, &rkey->data, &rkey->size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:121:8: error: unknown type name 'BTREEINFO' | |
const BTREEINFO *openinfo; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_stack' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:184:29: note: in expansion of macro 'BT_POP' | |
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:65:3: error: invalid type argument of '->' (have 'int') | |
h->prevpg = P_INVALID; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:114:44: error: 'u_int32_t' undeclared (first use in this function) | |
#define NOVFLSIZE (sizeof(pgno_t) + sizeof(u_int32_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:81:17: note: in expansion of macro 'NOVFLSIZE' | |
char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:87:8: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:182:5: error: request for member 'flags' in something not a structure or union | |
bp->flags |= MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:66:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:41:41: error: unknown type name 'DBT' | |
int __bt_delete __P((const DB *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:89:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:8: note: each undeclared identifier is reported only once for each function it appears in | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_debug.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_search.c: In function '__bt_search': | |
../../lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:77:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:89:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:125:2: error: unknown type name 'BTREEINFO' | |
BTREEINFO b; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:56: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:184:29: note: in expansion of macro 'BT_POP' | |
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:66:3: error: invalid type argument of '->' (have 'int') | |
h->nextpg = t->bt_free; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:83:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:88:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:182:16: error: 'MPOOL_PINNED' undeclared (first use in this function) | |
bp->flags |= MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:66:8: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:42:37: error: unknown type name 'DBT' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:90:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:12: error: 'l' undeclared (first use in this function) | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
make: *** Waiting for unfinished jobs.... | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:68:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:78:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:89:12: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:126:2: error: unknown type name 'DB' | |
DB *dbp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:190:25: note: in expansion of macro 'NEXTINDEX' | |
if (parent->index != NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:66:15: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
h->nextpg = t->bt_free; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:86:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:90:2: error: unknown type name 'u_int32_t' | |
u_int32_t sz; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:183:13: error: request for member 'page' in something not a structure or union | |
return (bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:67:2: error: unknown type name 'indx_t' | |
indx_t i, top; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:42:44: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:90:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:9: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:71:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:84:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:90:6: error: request for member 'data' in something not a structure or union | |
key->data = rkey->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:127:2: error: unknown type name 'pgno_t' | |
pgno_t ncache; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:190:25: note: in expansion of macro 'NEXTINDEX' | |
if (parent->index != NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:67:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
t->bt_free = h->pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:87:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:92:24: error: 'pgno_t' undeclared (first use in this function) | |
memcpy(&pg, p, sizeof(pgno_t)); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:187:10: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] | |
if ((bp = mpool_bkt(mp)) == NULL) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:71:7: note: in expansion of macro 'F_ISSET' | |
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP)) | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:43:25: error: unknown type name 'DB' | |
int __bt_fd __P((const DB *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:91:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:16: error: 'r' undeclared (first use in this function) | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:71:8: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:84:11: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:90:19: error: request for member 'data' in something not a structure or union | |
key->data = rkey->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:149:8: error: request for member 'flags' in something not a structure or union | |
if (b.flags & ~(R_DUP)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:190:25: note: in expansion of macro 'NEXTINDEX' | |
if (parent->index != NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:67:16: error: invalid type argument of '->' (have 'int') | |
t->bt_free = h->pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:87:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:93:49: error: 'u_int32_t' undeclared (first use in this function) | |
memcpy(&sz, (char *)p + sizeof(pgno_t), sizeof(u_int32_t)); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:194:10: error: request for member 'pagesize' in something not a structure or union | |
off = mp->pagesize * pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:74:3: error: implicit declaration of function 'mswap' [-Werror=implicit-function-declaration] | |
mswap(pp); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_free __P((BTREE *, PAGE *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:100:7: error: 'R_NEXT' undeclared (first use in this function) | |
case R_NEXT: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:13: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:72:2: error: unknown type name 'indx_t' | |
indx_t base, index, lim; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:90:24: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, e->page, 0); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:91:21: note: in expansion of macro 'F_ISSET' | |
} else if (copy || F_ISSET(t, B_DB_LOCK)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:149:19: error: 'R_DUP' undeclared (first use in this function) | |
if (b.flags & ~(R_DUP)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:320:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->pgno = p; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:192:5: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, h->pgno, index); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_page.c:43:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:68:2: note: in expansion of macro 'F_SET' | |
F_SET(t, B_METADIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:88:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:104:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:195:8: error: request for member 'fvtable' in something not a structure or union | |
if (mp->fvtable->lseek(mp->fd, off, SEEK_SET) != off) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:79:2: error: implicit declaration of function 'M_32_SWAP' [-Werror=implicit-function-declaration] | |
M_32_SWAP(h->pgno); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:45:26: error: unknown type name 'DB' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:100:7: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:20: error: 'lchild' undeclared (first use in this function) | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:73:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:91:11: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (RET_SPECIAL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:92:23: error: request for member 'size' in something not a structure or union | |
if (bl->ksize > rkey->size) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:149:19: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/btree.h:321:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->index = i; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:192:5: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:71:10: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
return (mpool_put(t->bt_mp, h, MPOOL_DIRTY)); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:92:6: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_RDONLY)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:112:10: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
plen = t->bt_psize - BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:195:27: error: request for member 'fd' in something not a structure or union | |
if (mp->fvtable->lseek(mp->fd, off, SEEK_SET) != off) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:83:2: error: implicit declaration of function 'M_16_SWAP' [-Werror=implicit-function-declaration] | |
M_16_SWAP(h->lower); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:45:38: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:101:7: error: 'R_PREV' undeclared (first use in this function) | |
case R_PREV: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:17: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_search.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:325:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_CLR(t) (t->bt_sp = t->bt_stack) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:76:2: note: in expansion of macro 'BT_CLR' | |
BT_CLR(t); | |
^ | |
../../lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:94:11: error: implicit declaration of function '__bt_ret' [-Werror=implicit-function-declaration] | |
status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:93:21: error: request for member 'data' in something not a structure or union | |
p = (void *)(rkey->data == NULL ? | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:157:8: error: request for member 'psize' in something not a structure or union | |
if (b.psize && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:322:5: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
++t->bt_sp; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:192:5: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:71:33: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
return (mpool_put(t->bt_mp, h, MPOOL_DIRTY)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:94:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_overflow.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:112:23: note: in expansion of macro 'BTDATAOFF' | |
plen = t->bt_psize - BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:197:14: error: request for member 'fvtable' in something not a structure or union | |
if ((nr = mp->fvtable->read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:86:8: note: in expansion of macro 'NEXTINDEX' | |
top = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:45:45: error: unknown type name 'DBT' | |
int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:102:17: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (F_ISSET(&t->bt_cursor, CURS_INIT)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:29: error: 'rchild' undeclared (first use in this function) | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:325:32: error: 'BTREE {aka struct _btree}' has no member named 'bt_stack' | |
#define BT_CLR(t) (t->bt_sp = t->bt_stack) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:76:2: note: in expansion of macro 'BT_CLR' | |
BT_CLR(t); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c: In function '__bt_close': | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:94:46: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:94:40: error: request for member 'data' in something not a structure or union | |
malloc(bl->ksize) : realloc(rkey->data, bl->ksize)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:158:9: error: request for member 'psize' in something not a structure or union | |
(b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:320:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->pgno = p; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:203:4: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, pgno, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:71:33: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:99:7: error: 'R_NOOVERWRITE' undeclared (first use in this function) | |
case R_NOOVERWRITE: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:114:12: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:197:32: error: request for member 'fd' in something not a structure or union | |
if ((nr = mp->fvtable->read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:86:8: note: in expansion of macro 'NEXTINDEX' | |
top = NEXTINDEX(h); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:388:0, | |
from ../../extmod/modbtree.c:38: | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:46:1: error: unknown type name 'PAGE' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:107:7: error: 'R_FIRST' undeclared (first use in this function) | |
case R_FIRST: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:94:26: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
PAGE *h, *l, *r, *lchild, *rchild; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:78:12: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:64:2: error: unknown type name 'DB' | |
DB *dbp; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_get.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:100:6: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_DB_LOCK)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:97:8: error: request for member 'data' in something not a structure or union | |
rkey->data = p; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:158:31: error: request for member 'psize' in something not a structure or union | |
(b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:321:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->index = i; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:203:4: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, pgno, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:101:7: error: 'R_CURSOR' undeclared (first use in this function) | |
case R_CURSOR: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:119:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, h, 0); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:197:40: error: request for member 'page' in something not a structure or union | |
if ((nr = mp->fvtable->read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:86:8: note: in expansion of macro 'NEXTINDEX' | |
top = NEXTINDEX(h); | |
^ | |
In file included from /mnt/c/dev/esp-idf/components/newlib/include/stdio.h:35:0, | |
from ../../extmod/modbtree.c:27: | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:46:30: error: unknown type name 'pgno_t' | |
PAGE *__bt_new __P((BTREE *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:108:7: error: 'R_LAST' undeclared (first use in this function) | |
case R_LAST: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:95:2: error: unknown type name 'indx_t' | |
indx_t nxtindex; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:82:12: error: 'EPG {aka struct _epg}' has no member named 'page' | |
t->bt_cur.page = h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:68:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:101:24: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, e->page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:98:8: error: request for member 'size' in something not a structure or union | |
rkey->size = bl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:158:40: error: 'MAX_PAGE_OFFSET' undeclared (first use in this function) | |
(b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:322:5: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
++t->bt_sp; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:203:4: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, pgno, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:85:1: error: unknown type name 'PAGE' | |
PAGE * | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:106:17: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (F_ISSET(&t->bt_cursor, CURS_INIT) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:124:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:197:50: error: request for member 'pagesize' in something not a structure or union | |
if ((nr = mp->fvtable->read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:91:4: error: implicit declaration of function 'P_32_SWAP' [-Werror=implicit-function-declaration] | |
P_32_SWAP(p); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:47:30: error: unknown type name 'pgno_t' | |
void __bt_pgin __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:109:7: error: 'R_CURSOR' undeclared (first use in this function) | |
case R_CURSOR: | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:96:2: error: unknown type name 'u_int16_t' | |
u_int16_t skip; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_search.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:83:24: note: in expansion of macro 'NEXTINDEX' | |
for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:71:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:103:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:100:15: error: request for member 'data' in something not a structure or union | |
memmove(rkey->data, bl->bytes, bl->ksize); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:159:8: error: request for member 'psize' in something not a structure or union | |
b.psize & (sizeof(indx_t) - 1))) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:225:7: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c: In function '__bt_new': | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:107:18: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
!F_ISSET(&t->bt_cursor, | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c: In function '__ovfl_put': | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:197:68: error: request for member 'pagesize' in something not a structure or union | |
if ((nr = mp->fvtable->read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c: In function '__bt_pgout': | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:48:31: error: unknown type name 'pgno_t' | |
void __bt_pgout __P((void *, pgno_t, void *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:110:12: error: implicit declaration of function '__bt_seqset' [-Werror=implicit-function-declaration] | |
status = __bt_seqset(t, &e, key, flags); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:97:2: error: unknown type name 'u_int32_t' | |
u_int32_t n, nbytes, nksize = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:83:24: note: in expansion of macro 'NEXTINDEX' | |
for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:72:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_get.c:103:19: error: 'EPG {aka struct _epg}' has no member named 'page' | |
t->bt_pinned = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:101:6: error: request for member 'size' in something not a structure or union | |
key->size = bl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:159:25: error: 'indx_t' undeclared (first use in this function) | |
b.psize & (sizeof(indx_t) - 1))) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:239:29: note: in expansion of macro 'BT_POP' | |
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:88:2: error: unknown type name 'pgno_t' | |
pgno_t *npg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:125:9: error: request for member 'size' in something not a structure or union | |
if (key->size + data->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:141:8: error: unknown type name 'DBT' | |
const DBT *dbt; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:204:4: error: request for member 'pgno' in something not a structure or union | |
bp->pgno = pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:131:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:49:30: error: unknown type name 'pgno_t' | |
int __bt_push __P((BTREE *, pgno_t, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:114:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:100:2: error: unknown type name 'pgno_t' | |
pgno_t pg_tmp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:83:24: note: in expansion of macro 'NEXTINDEX' | |
for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:72:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:102:6: error: request for member 'data' in something not a structure or union | |
key->data = rkey->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:163:8: error: request for member 'minkeypage' in something not a structure or union | |
if (b.minkeypage) { | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_stack' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:239:29: note: in expansion of macro 'BT_POP' | |
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:90:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:125:22: error: request for member 'size' in something not a structure or union | |
if (key->size + data->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:142:2: error: unknown type name 'pgno_t' | |
pgno_t *pg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:205:4: error: request for member 'flags' in something not a structure or union | |
bp->flags = MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:134:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:50:26: error: unknown type name 'DB' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:117:16: error: 'RET_SUCCESS' undeclared (first use in this function) | |
if (status == RET_SUCCESS) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:109:8: error: invalid type argument of '->' (have 'int') | |
h = sp->pgno == P_ROOT ? | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:84:13: error: 'EPG {aka struct _epg}' has no member named 'index' | |
t->bt_cur.index = index = base + (lim >> 1); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:73:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:102:19: error: request for member 'data' in something not a structure or union | |
key->data = rkey->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:164:9: error: request for member 'minkeypage' in something not a structure or union | |
if (b.minkeypage < 2) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:56: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:239:29: note: in expansion of macro 'BT_POP' | |
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:92:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
if (t->bt_free != P_INVALID && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:125:32: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
if (key->size + data->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:144:8: error: 'h' undeclared (first use in this function) | |
PAGE *h, *last; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_get.o] Error 1 | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:211:12: error: request for member 'hqh' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:135:2: error: unknown type name 'indx_t' | |
indx_t i, top; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:50:35: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:118:3: error: implicit declaration of function '__bt_setcur' [-Werror=implicit-function-declaration] | |
__bt_setcur(t, e.page->pgno, e.index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:110:6: error: implicit declaration of function 'bt_root' [-Werror=implicit-function-declaration] | |
bt_root(t, sp, &l, &r, &skip, ilen) : | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_search.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:107:9: note: in expansion of macro 'F_ISSET' | |
if (!F_ISSET(t, B_NODUPS)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:77:27: error: 'RET_ERROR' undeclared (first use in this function) | |
if (__bt_sync(dbp, 0) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:104:6: error: request for member 'size' in something not a structure or union | |
key->size = bl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:167:5: error: request for member 'minkeypage' in something not a structure or union | |
b.minkeypage = DEFMINKEYPAGE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:320:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->pgno = p; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:247:5: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:93:11: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
(h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:126:10: error: request for member 'size' in something not a structure or union | |
if (key->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:144:12: error: 'last' undeclared (first use in this function) | |
PAGE *h, *last; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:211:28: error: request for member 'pgno' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:139:7: note: in expansion of macro 'F_ISSET' | |
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP)) | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:50:48: error: unknown type name 'DBT' | |
int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:118:19: error: 'EPG {aka struct _epg}' has no member named 'page' | |
__bt_setcur(t, e.page->pgno, e.index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:111:6: error: implicit declaration of function 'bt_page' [-Werror=implicit-function-declaration] | |
bt_page(t, sp, &l, &r, &skip, ilen); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:110:9: error: implicit declaration of function '__bt_sprev' [-Werror=implicit-function-declaration] | |
__bt_sprev(t, h, key, exactp)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:77:27: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:105:6: error: request for member 'data' in something not a structure or union | |
key->data = bl->bytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:170:8: error: request for member 'compare' in something not a structure or union | |
if (b.compare == NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:321:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->index = i; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:247:5: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:93:32: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
(h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:126:20: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
if (key->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:144:9: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
PAGE *h, *last; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:213:25: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_INSERT_TAIL(&mp->lqh, bp, q); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_conv.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:147:8: note: in expansion of macro 'NEXTINDEX' | |
top = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:51:36: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:118:33: error: 'EPG {aka struct _epg}' has no member named 'index' | |
__bt_setcur(t, e.page->pgno, e.index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:113:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:114:9: error: implicit declaration of function '__bt_snext' [-Werror=implicit-function-declaration] | |
__bt_snext(t, h, key, exactp)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:81:6: error: implicit declaration of function 'mpool_close' [-Werror=implicit-function-declaration] | |
if (mpool_close(t->bt_mp) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:110:11: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:171:5: error: request for member 'compare' in something not a structure or union | |
b.compare = __bt_defcmp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:322:5: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
++t->bt_sp; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:247:5: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:94:11: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
*npg = t->bt_free; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:127:16: error: implicit declaration of function '__ovfl_put' [-Werror=implicit-function-declaration] | |
storekey: if (__ovfl_put(t, key, &pg) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:146:2: error: unknown type name 'pgno_t' | |
pgno_t npg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:216:8: error: request for member 'pgin' in something not a structure or union | |
if (mp->pgin != NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:147:8: note: in expansion of macro 'NEXTINDEX' | |
top = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:51:43: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:121:7: error: implicit declaration of function '__bt_ret' [-Werror=implicit-function-declaration] | |
__bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:121:6: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, R_RECNO)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:118:13: error: 'EPG {aka struct _epg}' has no member named 'index' | |
t->bt_cur.index = base; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:85:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (t->bt_cursor.key.data != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:114:12: error: request for member 'size' in something not a structure or union | |
&data->size, &rdata->data, &rdata->size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:172:9: error: request for member 'prefix' in something not a structure or union | |
if (b.prefix == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:320:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->pgno = p; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:267:4: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:95:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
t->bt_free = h->nextpg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:129:8: error: request for member 'data' in something not a structure or union | |
tkey.data = kb; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:148:2: error: unknown type name 'u_int32_t' | |
u_int32_t sz; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:217:6: error: request for member 'pgin' in something not a structure or union | |
(mp->pgin)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:147:8: note: in expansion of macro 'NEXTINDEX' | |
top = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:51:50: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:121:30: error: 'BTREE {aka struct _btree}' has no member named 'bt_rkey' | |
__bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:229:4: error: 'u_int32_t' undeclared (first use in this function) | |
*(u_int32_t *)p = data->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF' | |
WR_RLEAF(dest, data, flags) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_search.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:320:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->pgno = p; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:131:8: note: in expansion of macro 'BT_PUSH' | |
next: BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:86:9: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
free(t->bt_cursor.key.data); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:114:26: error: request for member 'data' in something not a structure or union | |
&data->size, &rdata->data, &rdata->size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:173:6: error: request for member 'prefix' in something not a structure or union | |
b.prefix = __bt_defpfx; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:321:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->index = i; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:267:4: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, pgno, index); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_page.c:43:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:96:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_METADIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:130:8: error: request for member 'size' in something not a structure or union | |
tkey.size = NOVFLSIZE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:154:10: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
plen = t->bt_psize - BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:217:16: error: request for member 'pgcookie' in something not a structure or union | |
(mp->pgin)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c: At top level: | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:51:57: error: unknown type name 'DBT' | |
int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:121:49: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
__bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:229:15: error: expected expression before ')' token | |
*(u_int32_t *)p = data->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF' | |
WR_RLEAF(dest, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:321:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
t->bt_sp->index = i; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:131:8: note: in expansion of macro 'BT_PUSH' | |
next: BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:87:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.key.size = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:114:40: error: request for member 'size' in something not a structure or union | |
&data->size, &rdata->data, &rdata->size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:176:8: error: request for member 'lorder' in something not a structure or union | |
if (b.lorder == 0) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:322:5: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
++t->bt_sp; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:267:4: note: in expansion of macro 'BT_PUSH' | |
BT_PUSH(t, pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:99:10: error: implicit declaration of function 'mpool_new' [-Werror=implicit-function-declaration] | |
return (mpool_new(t->bt_mp, npg)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:133:12: error: request for member 'size' in something not a structure or union | |
&key->size, sizeof(u_int32_t)); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_overflow.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:154:23: note: in expansion of macro 'BTDATAOFF' | |
plen = t->bt_psize - BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:217:30: error: request for member 'pgno' in something not a structure or union | |
(mp->pgin)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:203:1: error: conflicting types for 'mswap' [-Werror] | |
mswap(pg) | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:52:38: error: unknown type name 'DBT' | |
EPG *__bt_search __P((BTREE *, const DBT *, int *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:127:7: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_DB_LOCK)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:233:17: error: request for member 'data' in something not a structure or union | |
memmove(p, data->data, data->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF' | |
WR_RLEAF(dest, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:322:5: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
++t->bt_sp; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:131:8: note: in expansion of macro 'BT_PUSH' | |
next: BT_PUSH(t, h->pgno, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:88:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.key.data = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:116:7: error: request for member 'data' in something not a structure or union | |
data->data = rdata->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:177:5: error: request for member 'lorder' in something not a structure or union | |
b.lorder = machine_lorder; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:276:11: error: invalid type argument of unary '*' (have 'int') | |
return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:99:9: error: return makes pointer from integer without a cast [-Werror=int-conversion] | |
return (mpool_new(t->bt_mp, npg)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:137:10: error: request for member 'size' in something not a structure or union | |
if (key->size + data->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:154:23: note: in expansion of macro 'BTDATAOFF' | |
plen = t->bt_psize - BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:217:40: error: request for member 'page' in something not a structure or union | |
(mp->pgin)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:203:1: error: static declaration of 'mswap' follows non-static declaration | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:53:26: error: unknown type name 'DB' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:128:25: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, e.page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:233:29: error: request for member 'size' in something not a structure or union | |
memmove(p, data->data, data->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF' | |
WR_RLEAF(dest, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:133:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, h, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:90:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_rkey' | |
if (t->bt_rkey.data) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:116:21: error: request for member 'data' in something not a structure or union | |
data->data = rdata->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:179:4: error: request for member 'compare' in something not a structure or union | |
b.compare = __bt_defcmp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_bdelete': | |
../../lib/berkeley-db-1.xx/btree/bt_page.c: In function '__bt_free': | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:137:23: error: request for member 'size' in something not a structure or union | |
if (key->size + data->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:154:23: note: in expansion of macro 'BTDATAOFF' | |
plen = t->bt_psize - BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:219:12: error: request for member 'page' in something not a structure or union | |
return (bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:74:3: note: previous implicit declaration of 'mswap' was here | |
mswap(pp); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:53:32: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:130:5: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = e.page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:198:15: error: expected expression before ')' token | |
*(u_int32_t *)p = key->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:91:9: error: 'BTREE {aka struct _btree}' has no member named 'bt_rkey' | |
free(t->bt_rkey.data); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:117:21: note: in expansion of macro 'F_ISSET' | |
} else if (copy || F_ISSET(t, B_DB_LOCK)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:180:4: error: request for member 'cachesize' in something not a structure or union | |
b.cachesize = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:293:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_page.c:72:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:137:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
if (key->size + data->size > t->bt_ovflsize) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:155:27: error: request for member 'data' in something not a structure or union | |
for (last = NULL, p = dbt->data, sz = dbt->size;; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_put': | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c: In function 'mswap': | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:53:39: error: unknown type name 'DBT' | |
int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:130:20: error: 'EPG {aka struct _epg}' has no member named 'page' | |
t->bt_pinned = e.page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:200:15: error: expected expression before ')' token | |
*(u_int32_t *)p = data->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:151:1: error: static declaration of '__bt_snext' follows non-static declaration | |
__bt_snext(t, h, key, exactp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:92:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_rkey' | |
t->bt_rkey.size = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:119:28: error: request for member 'size' in something not a structure or union | |
if (bl->dsize + 1 > rdata->size) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:181:4: error: request for member 'flags' in something not a structure or union | |
b.flags = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:296:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:140:9: error: request for member 'data' in something not a structure or union | |
tdata.data = db; | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:155:18: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
for (last = NULL, p = dbt->data, sz = dbt->size;; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:228:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:204:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *pg; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:54:33: error: unknown type name 'pgno_t' | |
void __bt_setcur __P((BTREE *, pgno_t, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/btree.h:204:16: error: request for member 'data' in something not a structure or union | |
memmove(p, key->data, key->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:114:9: note: previous implicit declaration of '__bt_snext' was here | |
__bt_snext(t, h, key, exactp)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:93:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_rkey' | |
t->bt_rkey.data = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:120:22: error: request for member 'data' in something not a structure or union | |
p = (void *)(rdata->data == NULL ? | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:182:4: error: request for member 'lorder' in something not a structure or union | |
b.lorder = machine_lorder; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:303:21: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (deleted ? RET_SUCCESS : RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:141:9: error: request for member 'size' in something not a structure or union | |
tdata.size = NOVFLSIZE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:155:43: error: request for member 'size' in something not a structure or union | |
for (last = NULL, p = dbt->data, sz = dbt->size;; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:232:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:203:1: error: type of 'pg' defaults to 'int' [-Werror=implicit-int] | |
mswap(pg) | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE' | |
int __bt_split __P((BTREE *, PAGE *, | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:152:1: error: static declaration of '__bt_seqset' follows non-static declaration | |
__bt_seqset(t, ep, key, flags) | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_page.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/btree.h:204:27: error: request for member 'size' in something not a structure or union | |
memmove(p, key->data, key->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c: In function '__bt_snext': | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:95:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
if (t->bt_rdata.data) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:122:21: error: request for member 'data' in something not a structure or union | |
realloc(rdata->data, bl->dsize + 1)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:183:4: error: request for member 'minkeypage' in something not a structure or union | |
b.minkeypage = DEFMINKEYPAGE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:303:35: error: 'RET_ERROR' undeclared (first use in this function) | |
return (deleted ? RET_SUCCESS : RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:144:13: error: request for member 'size' in something not a structure or union | |
&data->size, sizeof(u_int32_t)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:155:33: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
for (last = NULL, p = dbt->data, sz = dbt->size;; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:237:8: error: 'BKT' undeclared (first use in this function) | |
bp = (BKT *)((char *)page - sizeof(BKT)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:210:14: error: 'u_int32_t' undeclared (first use in this function) | |
p += sizeof(u_int32_t); | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:56:12: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:110:12: note: previous implicit declaration of '__bt_seqset' was here | |
status = __bt_seqset(t, &e, key, flags); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:205:10: error: request for member 'size' in something not a structure or union | |
p += key->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:153:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:96:9: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
free(t->bt_rdata.data); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:125:9: error: request for member 'data' in something not a structure or union | |
rdata->data = p; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:184:4: error: request for member 'prefix' in something not a structure or union | |
b.prefix = __bt_defpfx; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:305:24: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, e->page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:148:10: error: request for member 'size' in something not a structure or union | |
if (key->size + data->size > t->bt_ovflsize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:157:12: error: implicit declaration of function '__bt_new' [-Werror=implicit-function-declaration] | |
if ((h = __bt_new(t, &npg)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:237:13: error: expected expression before ')' token | |
bp = (BKT *)((char *)page - sizeof(BKT)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c: At top level: | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:56:25: error: unknown type name 'DBT' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: In function '__bt_seqset': | |
../../lib/berkeley-db-1.xx/btree/btree.h:206:17: error: request for member 'data' in something not a structure or union | |
memmove(p, data->data, data->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:154:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:97:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
t->bt_rdata.size = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:126:9: error: request for member 'size' in something not a structure or union | |
rdata->size = bl->dsize + 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:185:4: error: request for member 'psize' in something not a structure or union | |
b.psize = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:306:35: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (deleted ? RET_SUCCESS : RET_SPECIAL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:148:23: error: request for member 'size' in something not a structure or union | |
if (key->size + data->size > t->bt_ovflsize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:158:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:245:4: error: request for member 'flags' in something not a structure or union | |
bp->flags &= ~MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_conv.c:203:1: warning: 'mswap' defined but not used [-Wunused-function] | |
mswap(pg) | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:56:45: error: unknown type name 'u_int32_t' | |
const DBT *, const DBT *, int, size_t, u_int32_t)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:155:2: error: unknown type name 'DBT' | |
DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:206:29: error: request for member 'size' in something not a structure or union | |
memmove(p, data->data, data->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:151:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_snext(t, h, key, exactp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:98:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
t->bt_rdata.data = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:128:16: error: request for member 'data' in something not a structure or union | |
memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:189:7: error: request for member 'lorder' in something not a structure or union | |
if (b.lorder != BIG_ENDIAN && b.lorder != LITTLE_ENDIAN) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:315:7: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:148:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
if (key->size + data->size > t->bt_ovflsize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:170:30: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, last, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:245:16: error: 'MPOOL_PINNED' undeclared (first use in this function) | |
bp->flags &= ~MPOOL_PINNED; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:57:27: error: unknown type name 'DB' | |
int __bt_sync __P((const DB *, u_int)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:158:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:127:8: error: invalid type argument of '->' (have 'int') | |
if (sp->pgno == P_ROOT && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:163:8: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:103:9: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return RET_SUCCESS; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:129:7: error: request for member 'size' in something not a structure or union | |
data->size = bl->dsize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:189:33: error: request for member 'lorder' in something not a structure or union | |
if (b.lorder != BIG_ENDIAN && b.lorder != LITTLE_ENDIAN) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:317:30: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (__bt_dleaf(t, key, h, e->index)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:154:12: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:179:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:246:4: error: request for member 'flags' in something not a structure or union | |
bp->flags |= flags & MPOOL_DIRTY; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:61:37: error: unknown type name 'DBT' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:159:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:128:7: note: in expansion of macro 'F_ISSET' | |
(F_ISSET(t, R_RECNO) ? | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:163:37: error: invalid type argument of '->' (have 'int') | |
if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c: In function '__bt_sync': | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:130:7: error: request for member 'data' in something not a structure or union | |
data->data = rdata->data; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_conv.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:196:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_fd' | |
t->bt_fd = file; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:321:7: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_NODUPS)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:154:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c: In function '__ovfl_delete': | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:246:23: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
bp->flags |= flags & MPOOL_DIRTY; | |
^ | |
../../lib/berkeley-db-1.xx/PORT/include/../../btree/extern.h:61:44: error: unknown type name 'pgno_t' | |
int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/cdefs.h:173:21: note: in definition of macro '__P' | |
#define __P(protos) protos /* full-blown ANSI C */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:168:7: error: 'R_CURSOR' undeclared (first use in this function) | |
case R_CURSOR: /* Keyed scan. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:129:6: error: implicit declaration of function 'bt_rroot' [-Werror=implicit-function-declaration] | |
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:165:3: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:117:8: error: unknown type name 'DB' | |
const DB *dbp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:130:21: error: request for member 'data' in something not a structure or union | |
data->data = rdata->data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:197:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_lorder' | |
t->bt_lorder = b.lorder; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:322:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 0) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:156:12: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
index = t->bt_cursor.pg.index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:197:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:247:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../extmod/modbtree.c:43:5: error: unknown type name 'DB' | |
DB *db; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:173:10: error: request for member 'data' in something not a structure or union | |
if (key->data == NULL || key->size == 0) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:129:30: error: implicit declaration of function 'bt_broot' [-Werror=implicit-function-declaration] | |
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:172:23: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, e.page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:123:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:132:7: error: request for member 'size' in something not a structure or union | |
data->size = bl->dsize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:197:18: error: request for member 'lorder' in something not a structure or union | |
t->bt_lorder = b.lorder; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:322:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 0) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:164:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
if (t->bt_order == NOT || (e = bt_fast(t, key, data, &exact)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:198:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_close': | |
../../extmod/modbtree.c:65:16: error: unknown type name 'DB' | |
void __dbpanic(DB *db) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:173:31: error: request for member 'size' in something not a structure or union | |
if (key->data == NULL || key->size == 0) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:155:19: note: in expansion of macro 'BT_POP' | |
while ((parent = BT_POP(t)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:126:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:133:7: error: request for member 'data' in something not a structure or union | |
data->data = bl->bytes + bl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:198:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
t->bt_order = NOT; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:322:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 0) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:164:21: error: 'NOT' undeclared (first use in this function) | |
if (t->bt_order == NOT || (e = bt_fast(t, key, data, &exact)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:200:2: error: unknown type name 'u_int32_t' | |
u_int32_t sz; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:256:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../extmod/modbtree.c:69:34: error: unknown type name 'DB' | |
STATIC mp_obj_btree_t *btree_new(DB *db, mp_obj_t stream) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:175:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_stack' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:155:19: note: in expansion of macro 'BT_POP' | |
while ((parent = BT_POP(t)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:190:1: error: static declaration of '__bt_sprev' follows non-static declaration | |
__bt_sprev(t, h, key, exactp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:127:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_cmp': | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:198:16: error: 'NOT' undeclared (first use in this function) | |
t->bt_order = NOT; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:326:28: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:167:7: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:202:25: error: 'pgno_t' undeclared (first use in this function) | |
memmove(&pg, p, sizeof(pgno_t)); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:258:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
In file included from ../../py/mpstate.h:35:0, | |
from ../../py/runtime.h:29, | |
from ../../extmod/modbtree.c:32: | |
../../extmod/modbtree.c: In function 'btree_close': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:178:7: error: 'R_FIRST' undeclared (first use in this function) | |
case R_FIRST: /* First record. */ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:56: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:155:19: note: in expansion of macro 'BT_POP' | |
while ((parent = BT_POP(t)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:110:9: note: previous implicit declaration of '__bt_sprev' was here | |
__bt_sprev(t, h, key, exactp)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:128:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:155:8: error: unknown type name 'DBT' | |
const DBT *k1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:199:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_cmp' | |
t->bt_cmp = b.compare; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:330:12: error: 'EPG {aka struct _epg}' has no member named 'index' | |
} while (e->index < NEXTINDEX(h) && __bt_cmp(t, key, e) == 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:168:11: error: 'EPG {aka struct _epg}' has no member named 'index' | |
index = e->index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:203:50: error: 'u_int32_t' undeclared (first use in this function) | |
memmove(&sz, (char *)p + sizeof(pgno_t), sizeof(u_int32_t)); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:261:17: error: request for member 'lqh' in something not a structure or union | |
while ((bp = mp->lqh.cqh_first) != (void *)&mp->lqh) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:179:7: error: 'R_NEXT' undeclared (first use in this function) | |
case R_NEXT: | |
^ | |
../../extmod/modbtree.c:94:33: error: implicit declaration of function '__bt_close' [-Werror=implicit-function-declaration] | |
return MP_OBJ_NEW_SMALL_INT(__bt_close(self->db)); | |
^ | |
../../py/obj.h:90:67: note: in definition of macro 'MP_OBJ_NEW_SMALL_INT' | |
#define MP_OBJ_NEW_SMALL_INT(small_int) ((mp_obj_t)((((mp_uint_t)(small_int)) << 1) | 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:160:12: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c: In function '__bt_sprev': | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:134:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:160:2: error: unknown type name 'DBT' | |
DBT k2; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:199:15: error: request for member 'compare' in something not a structure or union | |
t->bt_cmp = b.compare; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:333:7: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (e->index == NEXTINDEX(h)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:181:11: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (RET_SPECIAL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:210:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:261:48: error: request for member 'lqh' in something not a structure or union | |
while ((bp = mp->lqh.cqh_first) != (void *)&mp->lqh) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:182:13: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) | |
^ | |
../../extmod/modbtree.c: In function 'btree_put': | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:140:36: error: 'pgno_t' undeclared (first use in this function) | |
LALIGN(sizeof(u_int32_t) + sizeof(pgno_t) + sizeof(u_char) + (len)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:186:13: note: in expansion of macro 'NBINTERNAL' | |
nbytes = NBINTERNAL(bi->ksize); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:192:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_close.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:137:6: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_INMEM | B_RDONLY) || !F_ISSET(t, B_MODIFIED)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:161:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:200:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_pfx' | |
t->bt_pfx = b.prefix; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:337:10: error: 'EPG {aka struct _epg}' has no member named 'index' | |
while (e->index-- > 0) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:183:18: note: in expansion of macro 'F_ISSET' | |
if (!exact || !F_ISSET(t, B_NODUPS)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:215:11: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:262:21: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_REMOVE(&mp->lqh, mp->lqh.cqh_first, q); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:186:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 0) { | |
^ | |
../../extmod/modbtree.c:101:5: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:191:9: error: 'BTREE {aka struct _btree}' has no member named 'bt_pfx' | |
if (t->bt_pfx && !(bl->flags & P_BIGKEY) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:193:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:137:41: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_INMEM | B_RDONLY) || !F_ISSET(t, B_MODIFIED)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:171:7: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = e->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:200:15: error: request for member 'prefix' in something not a structure or union | |
t->bt_pfx = b.prefix; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:340:30: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (__bt_dleaf(t, key, h, e->index) == RET_ERROR) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:190:14: error: implicit declaration of function '__bt_dleaf' [-Werror=implicit-function-declaration] | |
delete: if (__bt_dleaf(t, key, h, index) == RET_ERROR) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:219:15: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:262:30: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_REMOVE(&mp->lqh, mp->lqh.cqh_first, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:186:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 0) { | |
^ | |
../../extmod/modbtree.c:102:8: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(args[1], &key.size); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:39: note: in definition of macro 'GETBLEAF' | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:193:28: note: in expansion of macro 'NEXTINDEX' | |
tbl = GETBLEAF(lchild, NEXTINDEX(lchild) - 1); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:190:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_sprev(t, h, key, exactp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:138:11: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:172:7: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (e->index == 0 && h->prevpg == P_INVALID && !(h->flags & P_BLEAF)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:201:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_rfd' | |
t->bt_rfd = -1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:344:8: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (e->index == 0) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:203:24: error: request for member 'size' in something not a structure or union | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:203:11: note: in expansion of macro 'NBLEAFDBT' | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_overflow.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:219:28: note: in expansion of macro 'BTDATAOFF' | |
for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:262:47: error: 'q' undeclared (first use in this function) | |
CIRCLEQ_REMOVE(&mp->lqh, mp->lqh.cqh_first, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:186:8: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(h) == 0) { | |
^ | |
../../extmod/modbtree.c:102:57: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(args[1], &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:194:6: error: request for member 'size' in something not a structure or union | |
a.size = tbl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:202:8: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if ((e.page = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_close.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:140:6: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_METADIRTY) && bt_meta(t) == RET_ERROR) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:177:21: error: 'EPG {aka struct _epg}' has no member named 'index' | |
bl = GETBLEAF(h, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:39: note: in definition of macro 'GETBLEAF' | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:203:26: error: 'DB' undeclared (first use in this function) | |
if ((t->bt_dbp = dbp = (DB *)malloc(sizeof(DB))) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:203:36: error: request for member 'size' in something not a structure or union | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:203:11: note: in expansion of macro 'NBLEAFDBT' | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:221:3: error: implicit declaration of function '__bt_free' [-Werror=implicit-function-declaration] | |
__bt_free(t, h); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:268:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:188:13: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (RET_SPECIAL); | |
^ | |
../../extmod/modbtree.c:103:8: error: request for member 'data' in something not a structure or union | |
val.data = (void *)mp_obj_str_get_data(args[2], &val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:195:6: error: request for member 'data' in something not a structure or union | |
a.data = tbl->bytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:202:37: error: invalid type argument of '->' (have 'int') | |
if ((e.page = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:143:16: error: implicit declaration of function 'mpool_sync' [-Werror=implicit-function-declaration] | |
if ((status = mpool_sync(t->bt_mp)) == RET_SUCCESS) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:181:6: error: request for member 'data' in something not a structure or union | |
k2.data = bl->bytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:203:30: error: expected expression before ')' token | |
if ((t->bt_dbp = dbp = (DB *)malloc(sizeof(DB))) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:378:1: error: static declaration of '__bt_pdelete' follows non-static declaration | |
__bt_pdelete(t, h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:204:44: error: 'indx_t' undeclared (first use in this function) | |
if (h->upper - h->lower < nbytes + sizeof(indx_t)) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_sync': | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c: In function '__ovfl_get': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:196:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
ep->page = h; | |
^ | |
../../extmod/modbtree.c:103:57: error: request for member 'size' in something not a structure or union | |
val.data = (void *)mp_obj_str_get_data(args[2], &val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:196:6: error: request for member 'size' in something not a structure or union | |
b.size = bl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:204:3: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = NEXTINDEX(e.page) - 1; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_close.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:41:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_CLR(p, f) (p)->flags &= ~(f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:144:3: note: in expansion of macro 'F_CLR' | |
F_CLR(t, B_MODIFIED); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:182:6: error: request for member 'size' in something not a structure or union | |
k2.size = bl->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:206:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_lorder' | |
if (t->bt_lorder != machine_lorder) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:114:9: note: previous implicit declaration of '__bt_pdelete' was here | |
if (__bt_pdelete(t, h)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:205:17: error: implicit declaration of function '__bt_split' [-Werror=implicit-function-declaration] | |
if ((status = __bt_split(t, h, key, | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:277:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:125:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:197:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
ep->index = 0; | |
^ | |
In file included from ../../py/mpstate.h:35:0, | |
from ../../py/runtime.h:29, | |
from ../../extmod/modbtree.c:32: | |
../../extmod/modbtree.c:104:33: error: implicit declaration of function '__bt_put' [-Werror=implicit-function-declaration] | |
return MP_OBJ_NEW_SMALL_INT(__bt_put(self->db, &key, &val, 0)); | |
^ | |
../../py/obj.h:90:67: note: in definition of macro 'MP_OBJ_NEW_SMALL_INT' | |
#define MP_OBJ_NEW_SMALL_INT(small_int) ((mp_obj_t)((((mp_uint_t)(small_int)) << 1) | 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:197:6: error: request for member 'data' in something not a structure or union | |
b.data = bl->bytes; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_search.c:46:0: | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:204:23: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.index = NEXTINDEX(e.page) - 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:25: note: in definition of macro 'NEXTINDEX' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c: In function 'bt_meta': | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:185:25: error: 'EPG {aka struct _epg}' has no member named 'index' | |
bi = GETBINTERNAL(h, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:136:43: note: in definition of macro 'GETBINTERNAL' | |
((BINTERNAL *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:207:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_NEEDSWAP); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_pdelete': | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:206:40: error: 'RET_SUCCESS' undeclared (first use in this function) | |
data, dflags, nbytes, index)) != RET_SUCCESS) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:279:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c: In function '__ovfl_put': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:199:7: error: 'R_LAST' undeclared (first use in this function) | |
case R_LAST: /* Last record. */ | |
^ | |
../../extmod/modbtree.c: In function 'btree_get': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:198:15: error: 'BTREE {aka struct _btree}' has no member named 'bt_pfx' | |
nksize = t->bt_pfx(&a, &b); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:204:12: note: in expansion of macro 'NEXTINDEX' | |
e.index = NEXTINDEX(e.page) - 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:165:11: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((p = mpool_get(t->bt_mp, P_META, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:189:6: error: request for member 'data' in something not a structure or union | |
k2.data = bi->bytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:209:5: error: request for member 'type' in something not a structure or union | |
dbp->type = DB_BTREE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:380:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:198:15: error: expected expression before ')' token | |
*(u_int32_t *)p = key->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:282:14: error: request for member 'lqh' in something not a structure or union | |
for (bp = mp->lqh.cqh_first; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:180:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:200:7: error: 'R_PREV' undeclared (first use in this function) | |
case R_PREV: | |
^ | |
../../extmod/modbtree.c:110:5: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:167:16: error: 'recno_t' undeclared (first use in this function) | |
LALIGN(sizeof(recno_t) + sizeof(pgno_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:212:13: note: in expansion of macro 'NRINTERNAL' | |
nbytes = NRINTERNAL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:204:12: note: in expansion of macro 'NEXTINDEX' | |
e.index = NEXTINDEX(e.page) - 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:165:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] | |
if ((p = mpool_get(t->bt_mp, P_META, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:190:6: error: request for member 'size' in something not a structure or union | |
k2.size = bi->ksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:209:14: error: 'DB_BTREE' undeclared (first use in this function) | |
dbp->type = DB_BTREE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:378:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_pdelete(t, h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:200:15: error: expected expression before ')' token | |
*(u_int32_t *)p = data->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:283:23: error: request for member 'lqh' in something not a structure or union | |
bp != (void *)&mp->lqh; bp = bp->q.cqe_next) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c: In function '__ovfl_delete': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:218:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
ep->page = h; | |
^ | |
../../extmod/modbtree.c:111:8: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(args[1], &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:144:15: error: expected expression before ')' token | |
*(u_int32_t *)p = size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:246:4: note: in expansion of macro 'WR_BINTERNAL' | |
WR_BINTERNAL(dest, nksize ? nksize : bl->ksize, | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:204:12: note: in expansion of macro 'NEXTINDEX' | |
e.index = NEXTINDEX(e.page) - 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:166:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:196:10: error: request for member 'size' in something not a structure or union | |
&k2.size, &t->bt_rdata.data, &t->bt_rdata.size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:210:5: error: request for member 'internal' in something not a structure or union | |
dbp->internal = t; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:383:8: error: 'pg' undeclared (first use in this function) | |
PAGE *pg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:204:16: error: request for member 'data' in something not a structure or union | |
memmove(p, key->data, key->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:283:37: error: request for member 'q' in something not a structure or union | |
bp != (void *)&mp->lqh; bp = bp->q.cqe_next) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_overflow.c:228:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:219:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
ep->index = NEXTINDEX(h) - 1; | |
^ | |
../../extmod/modbtree.c:111:57: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(args[1], &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:146:12: error: expected expression before ')' token | |
*(pgno_t *)p = pgno; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:246:4: note: in expansion of macro 'WR_BINTERNAL' | |
WR_BINTERNAL(dest, nksize ? nksize : bl->ksize, | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:211:23: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, e.page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:169:12: error: 'BTREEMAGIC' undeclared (first use in this function) | |
m.magic = BTREEMAGIC; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:196:19: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
&k2.size, &t->bt_rdata.data, &t->bt_rdata.size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:211:5: error: request for member 'close' in something not a structure or union | |
dbp->close = __bt_close; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:385:2: error: unknown type name 'indx_t' | |
indx_t cnt, index, *ip, offset; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:204:27: error: request for member 'size' in something not a structure or union | |
memmove(p, key->data, key->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:284:9: error: request for member 'flags' in something not a structure or union | |
if (bp->flags & MPOOL_DIRTY && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:222:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
cc1: all warnings being treated as errors | |
../../extmod/modbtree.c:112:15: error: implicit declaration of function '__bt_get' [-Werror=implicit-function-declaration] | |
int res = __bt_get(self->db, &key, &val, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:252:8: error: implicit declaration of function 'bt_preserve' [-Werror=implicit-function-declaration] | |
bt_preserve(t, pg_tmp) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:170:14: error: 'BTREEVERSION' undeclared (first use in this function) | |
m.version = BTREEVERSION; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:196:38: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
&k2.size, &t->bt_rdata.data, &t->bt_rdata.size)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:211:15: error: '__bt_close' undeclared (first use in this function) | |
dbp->close = __bt_close; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:386:2: error: unknown type name 'u_int32_t' | |
u_int32_t nksize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:205:10: error: request for member 'size' in something not a structure or union | |
p += key->size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:284:19: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
if (bp->flags & MPOOL_DIRTY && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: In function '__bt_seqadv': | |
../../extmod/modbtree.c:113:16: error: 'RET_SPECIAL' undeclared (first use in this function) | |
if (res == RET_SPECIAL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:264:33: error: implicit declaration of function 'rec_total' [-Werror=implicit-function-declaration] | |
((RINTERNAL *)dest)->nrecs = rec_total(lchild); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:151:1: warning: '__bt_snext' defined but not used [-Wunused-function] | |
__bt_snext(t, h, key, exactp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:171:13: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
m.psize = t->bt_psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:197:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:212:5: error: request for member 'del' in something not a structure or union | |
dbp->del = __bt_delete; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_overflow.o] Error 1 | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:401:19: note: in expansion of macro 'BT_POP' | |
while ((parent = BT_POP(t)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:206:17: error: request for member 'data' in something not a structure or union | |
memmove(p, data->data, data->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:285:7: error: implicit declaration of function 'mpool_write' [-Werror=implicit-function-declaration] | |
mpool_write(mp, bp) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:246:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../extmod/modbtree.c:113:16: note: each undeclared identifier is reported only once for each function it appears in | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:297:4: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_search.c:190:1: warning: '__bt_sprev' defined but not used [-Wunused-function] | |
__bt_sprev(t, h, key, exactp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:172:12: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
m.free = t->bt_free; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:198:5: error: request for member 'data' in something not a structure or union | |
k2.data = t->bt_rdata.data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:213:5: error: request for member 'fd' in something not a structure or union | |
dbp->fd = __bt_fd; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:33: error: 'BTREE {aka struct _btree}' has no member named 'bt_stack' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:401:19: note: in expansion of macro 'BT_POP' | |
while ((parent = BT_POP(t)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:206:29: error: request for member 'size' in something not a structure or union | |
memmove(p, data->data, data->size); \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:218:2: note: in expansion of macro 'WR_BLEAF' | |
WR_BLEAF(dest, key, data, dflags); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:285:30: error: 'RET_ERROR' undeclared (first use in this function) | |
mpool_write(mp, bp) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:247:2: error: unknown type name 'indx_t' | |
indx_t index = 0; | |
^ | |
../../extmod/modbtree.c:61:16: error: 'RET_ERROR' undeclared (first use in this function) | |
if (res == RET_ERROR) { \ | |
^ | |
../../extmod/modbtree.c:120:5: note: in expansion of macro 'CHECK_ERROR' | |
CHECK_ERROR(res); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:297:27: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:173:13: error: 'BTREE {aka struct _btree}' has no member named 'bt_nrecs' | |
m.nrecs = t->bt_nrecs; | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:198:14: error: 'BTREE {aka struct _btree}' has no member named 'bt_rdata' | |
k2.data = t->bt_rdata.data; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:214:5: error: request for member 'get' in something not a structure or union | |
dbp->get = __bt_get; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:324:56: error: 'BTREE {aka struct _btree}' has no member named 'bt_sp' | |
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:401:19: note: in expansion of macro 'BT_POP' | |
while ((parent = BT_POP(t)) != NULL) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:221:16: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (F_ISSET(&t->bt_cursor, CURS_INIT) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:289:12: error: request for member 'fvtable' in something not a structure or union | |
return (mp->fvtable->fsync(mp->fd) ? RET_ERROR : RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:248:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../extmod/modbtree.c:121:32: error: request for member 'data' in something not a structure or union | |
return mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:302:9: error: invalid type argument of '->' (have 'int') | |
if (sp->pgno == P_ROOT && | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_close.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:174:12: note: in expansion of macro 'F_ISSET' | |
m.flags = F_ISSET(t, SAVEMETA); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:200:13: error: 'BTREE {aka struct _btree}' has no member named 'bt_cmp' | |
return ((*t->bt_cmp)(k1, &k2)); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:214:13: error: '__bt_get' undeclared (first use in this function) | |
dbp->get = __bt_get; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:404:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_search.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:222:17: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:289:31: error: request for member 'fd' in something not a structure or union | |
return (mp->fvtable->fsync(mp->fd) ? RET_ERROR : RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:255:8: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
c = &t->bt_cursor; | |
^ | |
../../extmod/modbtree.c:121:42: error: request for member 'size' in something not a structure or union | |
return mp_obj_new_bytes(val.data, val.size); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:303:8: note: in expansion of macro 'F_ISSET' | |
(F_ISSET(t, R_RECNO) ? | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:177:25: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, p, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_defcmp': | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:215:5: error: request for member 'put' in something not a structure or union | |
dbp->put = __bt_put; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:421:7: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(pg) == 1) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:223:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:289:51: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (mp->fvtable->fsync(mp->fd) ? RET_ERROR : RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:270:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../extmod/modbtree.c: In function 'btree_seq': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:316:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:178:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:217:8: error: unknown type name 'DBT' | |
const DBT *a, *b; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:215:13: error: '__bt_put' undeclared (first use in this function) | |
dbp->put = __bt_put; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:421:7: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(pg) == 1) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:223:42: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:277:7: error: 'R_NEXT' undeclared (first use in this function) | |
case R_NEXT: /* Next record. */ | |
^ | |
../../extmod/modbtree.c:128:5: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:328:2: error: implicit declaration of function '__dbpanic' [-Werror=implicit-function-declaration] | |
__dbpanic(t->bt_dbp); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_close.c: In function '__bt_close': | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:41:0: | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:228:13: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:20: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:216:5: error: request for member 'seq' in something not a structure or union | |
dbp->seq = __bt_seq; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:421:7: note: in expansion of macro 'NEXTINDEX' | |
if (NEXTINDEX(pg) == 1) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:224:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
++t->bt_cursor.pg.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:296:8: error: unknown type name 'BKT' | |
static BKT * | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:286:18: note: in expansion of macro 'NEXTINDEX' | |
if (++index == NEXTINDEX(h)) { | |
^ | |
../../extmod/modbtree.c:130:12: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(args[2], &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_close.c:104:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:228:22: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:26: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:216:13: error: '__bt_seq' undeclared (first use in this function) | |
dbp->seq = __bt_seq; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:424:18: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
pg->upper = t->bt_psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:226:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
if (t->bt_order == NOT) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:297:1: error: conflicting types for 'mpool_bkt' | |
mpool_bkt(mp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:286:18: note: in expansion of macro 'NEXTINDEX' | |
if (++index == NEXTINDEX(h)) { | |
^ | |
../../extmod/modbtree.c:130:61: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(args[2], &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:346:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
static PAGE * | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:228:13: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:32: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:217:5: error: request for member 'sync' in something not a structure or union | |
dbp->sync = __bt_sync; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:427:9: error: implicit declaration of function '__bt_relink' [-Werror=implicit-function-declaration] | |
if (__bt_relink(t, pg) || __bt_free(t, pg)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:229:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
t->bt_order = FORWARD; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:126:12: note: previous implicit declaration of 'mpool_bkt' was here | |
if ((bp = mpool_bkt(mp)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:286:18: note: in expansion of macro 'NEXTINDEX' | |
if (++index == NEXTINDEX(h)) { | |
^ | |
../../extmod/modbtree.c:133:15: error: implicit declaration of function '__bt_seq' [-Werror=implicit-function-declaration] | |
int res = __bt_seq(self->db, &key, &val, flags); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:349:2: error: unknown type name 'PAGE' | |
PAGE *h, **lp, **rp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:228:22: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:38: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:219:18: error: request for member 'read' in something not a structure or union | |
if ((nr = vtable->read(t->bt_fd, &m, sizeof(BTMETA))) < 0) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:427:31: error: implicit declaration of function '__bt_free' [-Werror=implicit-function-declaration] | |
if (__bt_relink(t, pg) || __bt_free(t, pg)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:229:19: error: 'FORWARD' undeclared (first use in this function) | |
t->bt_order = FORWARD; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_close.o] Error 1 | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_bkt': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:290:13: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (RET_SPECIAL); | |
^ | |
../../extmod/modbtree.c:61:16: error: 'RET_ERROR' undeclared (first use in this function) | |
if (res == RET_ERROR) { \ | |
^ | |
../../extmod/modbtree.c:134:5: note: in expansion of macro 'CHECK_ERROR' | |
CHECK_ERROR(res); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:350:2: error: unknown type name 'indx_t' | |
indx_t *skip; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:229:13: error: request for member 'data' in something not a structure or union | |
for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:219:26: error: 'BTREE {aka struct _btree}' has no member named 'bt_fd' | |
if ((nr = vtable->read(t->bt_fd, &m, sizeof(BTMETA))) < 0) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:448:27: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, pg, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:230:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_last.index = index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:298:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:296:7: error: 'R_PREV' undeclared (first use in this function) | |
case R_PREV: /* Previous record. */ | |
^ | |
../../extmod/modbtree.c:135:16: error: 'RET_SPECIAL' undeclared (first use in this function) | |
if (res == RET_SPECIAL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:352:1: error: expected identifier or '(' before '{' token | |
{ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:229:27: error: request for member 'data' in something not a structure or union | |
for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:233:18: error: 'BTREEMAGIC' undeclared (first use in this function) | |
if (m.magic == BTREEMAGIC) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:453:7: error: invalid type argument of '->' (have 'int') | |
if (h->pgno == P_ROOT) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:231:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_last.pgno = h->pgno; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:301:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:304:6: error: 'EPG {aka struct _epg}' has no member named 'page' | |
ep->page = h; | |
^ | |
../../extmod/modbtree.c:141:42: error: request for member 'data' in something not a structure or union | |
pair->items[0] = mp_obj_new_bytes(key.data, key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:451:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
static PAGE * | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:229:19: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:41:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_CLR(p, f) (p)->flags &= ~(f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:234:4: note: in expansion of macro 'F_CLR' | |
F_CLR(t, B_NEEDSWAP); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:455:11: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:235:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
t->bt_order = BACK; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:304:8: error: request for member 'curcache' in something not a structure or union | |
if (mp->curcache < mp->maxcache) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:305:6: error: 'EPG {aka struct _epg}' has no member named 'index' | |
ep->index = c->pg.index; | |
^ | |
../../extmod/modbtree.c:141:52: error: request for member 'size' in something not a structure or union | |
pair->items[0] = mp_obj_new_bytes(key.data, key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:454:2: error: unknown type name 'PAGE' | |
PAGE *h, **lp, **rp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:232:16: error: request for member 'size' in something not a structure or union | |
return ((int)a->size - (int)b->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:236:4: note: in expansion of macro 'F_SET' | |
F_SET(t, B_NEEDSWAP); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_dleaf': | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:235:19: error: 'BACK' undeclared (first use in this function) | |
t->bt_order = BACK; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:304:23: error: request for member 'maxcache' in something not a structure or union | |
if (mp->curcache < mp->maxcache) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:306:12: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../extmod/modbtree.c:142:42: error: request for member 'data' in something not a structure or union | |
pair->items[1] = mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:455:2: error: unknown type name 'indx_t' | |
indx_t *skip; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:232:31: error: request for member 'size' in something not a structure or union | |
return ((int)a->size - (int)b->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:237:4: error: implicit declaration of function 'M_32_SWAP' [-Werror=implicit-function-declaration] | |
M_32_SWAP(m.magic); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:476:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:236:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_last.index = 0; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:313:14: error: request for member 'lqh' in something not a structure or union | |
for (bp = mp->lqh.cqh_first; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:322:4: error: 'EPG {aka struct _epg}' has no member named 'page' | |
ep->page = h; | |
^ | |
../../extmod/modbtree.c:142:52: error: request for member 'size' in something not a structure or union | |
pair->items[1] = mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:457:1: error: expected identifier or '(' before '{' token | |
{ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_defpfx': | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:244:45: error: 'BTREEVERSION' undeclared (first use in this function) | |
if (m.magic != BTREEMAGIC || m.version != BTREEVERSION) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:477:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:237:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_last.pgno = h->pgno; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:314:23: error: request for member 'lqh' in something not a structure or union | |
bp != (void *)&mp->lqh; bp = bp->q.cqe_next) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:323:4: error: 'EPG {aka struct _epg}' has no member named 'index' | |
ep->index = index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:499:1: error: static declaration of 'bt_rroot' follows non-static declaration | |
bt_rroot(t, h, l, r) | |
^ | |
../../extmod/modbtree.c: In function 'btree_iternext': | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:247:8: error: unknown type name 'DBT' | |
const DBT *a, *b; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:251:4: error: request for member 'psize' in something not a structure or union | |
b.psize = m.psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:474:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_dleaf(t, key, h, index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:242:25: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:314:37: error: request for member 'q' in something not a structure or union | |
bp != (void *)&mp->lqh; bp = bp->q.cqe_next) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: In function '__bt_first': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:129:6: note: previous implicit declaration of 'bt_rroot' was here | |
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR) | |
^ | |
../../extmod/modbtree.c:199:5: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_utils.c:41:0: | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:253:13: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:20: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:252:3: note: in expansion of macro 'F_SET' | |
F_SET(t, m.flags); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:481:2: error: unknown type name 'indx_t' | |
indx_t cnt, *ip, offset; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:245:15: error: 'R_SETCURSOR' undeclared (first use in this function) | |
if (flags == R_SETCURSOR) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:315:11: error: request for member 'flags' in something not a structure or union | |
if (!(bp->flags & MPOOL_PINNED)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:344:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: In function 'bt_rroot': | |
../../extmod/modbtree.c:203:21: error: 'R_FIRST' undeclared (first use in this function) | |
int flags = R_FIRST; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:253:22: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:26: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:253:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
t->bt_free = m.free; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:482:2: error: unknown type name 'u_int32_t' | |
u_int32_t nbytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:246:3: error: implicit declaration of function '__bt_setcur' [-Werror=implicit-function-declaration] | |
__bt_setcur(t, e->page->pgno, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:315:21: error: 'MPOOL_PINNED' undeclared (first use in this function) | |
if (!(bp->flags & MPOOL_PINNED)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:348:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:501:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h, *l, *r; | |
^ | |
../../extmod/modbtree.c:205:16: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(self->start_key, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:253:13: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:32: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:254:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_nrecs' | |
t->bt_nrecs = m.nrecs; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:487:16: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (F_ISSET(&t->bt_cursor, CURS_INIT) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:246:19: error: 'EPG {aka struct _epg}' has no member named 'page' | |
__bt_setcur(t, e->page->pgno, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:317:10: error: request for member 'flags' in something not a structure or union | |
if (bp->flags & MPOOL_DIRTY && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:350:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:499:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
bt_rroot(t, h, l, r) | |
^ | |
../../extmod/modbtree.c:205:73: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(self->start_key, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:253:22: error: request for member 'size' in something not a structure or union | |
len = MIN(a->size, b->size); | |
^ | |
/mnt/c/dev/esp-idf/components/newlib/include/sys/param.h:26:38: note: in definition of macro 'MIN' | |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:260:8: error: request for member 'psize' in something not a structure or union | |
if (b.psize == 0) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:488:17: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:246:34: error: 'EPG {aka struct _epg}' has no member named 'index' | |
__bt_setcur(t, e->page->pgno, e->index); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:317:20: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
if (bp->flags & MPOOL_DIRTY && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:361:11: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return (RET_SPECIAL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:499:1: error: type of 'l' defaults to 'int' [-Werror=implicit-int] | |
../../extmod/modbtree.c:206:21: error: 'R_CURSOR' undeclared (first use in this function) | |
flags = R_CURSOR; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:254:13: error: request for member 'data' in something not a structure or union | |
for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:261:5: error: request for member 'psize' in something not a structure or union | |
b.psize = DEFPSIZE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:489:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == index && | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:248:2: note: in expansion of macro 'F_SET' | |
F_SET(t, B_MODIFIED); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:318:31: error: 'RET_ERROR' undeclared (first use in this function) | |
mpool_write(mp, bp) == RET_ERROR) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:363:7: note: in expansion of macro 'F_ISSET' | |
if (F_ISSET(t, B_NODUPS)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:499:1: error: type of 'r' defaults to 'int' [-Werror=implicit-int] | |
../../extmod/modbtree.c:208:21: error: 'R_LAST' undeclared (first use in this function) | |
flags = R_LAST; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:254:27: error: request for member 'data' in something not a structure or union | |
for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:265:10: error: request for member 'flags' in something not a structure or union | |
if (!(b.flags & R_DUP)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:489:31: error: invalid type argument of '->' (have 'int') | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == index && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:81:29: warning: unused variable 'kb' [-Wunused-variable] | |
char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:324:14: error: request for member 'hqh' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:365:12: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:506:3: error: invalid type argument of '->' (have 'int') | |
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:213:53: error: 'R_PREV' undeclared (first use in this function) | |
res = __bt_seq(self->db, &key, &val, desc ? R_PREV : R_NEXT); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:254:19: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:266:4: note: in expansion of macro 'F_SET' | |
F_SET(t, B_NODUPS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:489:42: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == index && | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:81:14: warning: unused variable 'db' [-Wunused-variable] | |
char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:324:30: error: request for member 'pgno' in something not a structure or union | |
head = &mp->hqh[HASHKEY(bp->pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:374:9: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = ep->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:506:16: error: invalid type argument of '->' (have 'int') | |
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:213:62: error: 'R_NEXT' undeclared (first use in this function) | |
res = __bt_seq(self->db, &key, &val, desc ? R_PREV : R_NEXT); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:259:11: error: request for member 'size' in something not a structure or union | |
return (a->size < b->size ? a->size + 1 : a->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:268:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_free' | |
t->bt_free = P_INVALID; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:490:6: error: implicit declaration of function '__bt_curdel' [-Werror=implicit-function-declaration] | |
__bt_curdel(t, key, h, index)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c: In function 'bt_fast': | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:325:29: error: 'hq' undeclared (first use in this function) | |
CIRCLEQ_REMOVE(head, bp, hq); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:376:12: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (save.page->pgno != ep->page->pgno) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:506:27: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:216:16: error: 'RET_SPECIAL' undeclared (first use in this function) | |
if (res == RET_SPECIAL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:259:21: error: request for member 'size' in something not a structure or union | |
return (a->size < b->size ? a->size + 1 : a->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:269:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_nrecs' | |
t->bt_nrecs = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:491:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:269:8: error: unknown type name 'DBT' | |
const DBT *key, *data; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:326:22: error: request for member 'lqh' in something not a structure or union | |
CIRCLEQ_REMOVE(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:376:29: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (save.page->pgno != ep->page->pgno) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:167:16: error: 'recno_t' undeclared (first use in this function) | |
LALIGN(sizeof(recno_t) + sizeof(pgno_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:506:40: note: in expansion of macro 'NRINTERNAL' | |
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:61:16: error: 'RET_ERROR' undeclared (first use in this function) | |
if (res == RET_ERROR) { \ | |
^ | |
../../extmod/modbtree.c:219:5: note: in expansion of macro 'CHECK_ERROR' | |
CHECK_ERROR(res); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:259:31: error: request for member 'size' in something not a structure or union | |
return (a->size < b->size ? a->size + 1 : a->size); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:270:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_METADIRTY); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:32: error: invalid type argument of '->' (have 'int') | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:494:12: note: in expansion of macro 'GETBLEAF' | |
to = bl = GETBLEAF(h, index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:272:8: error: 'h' undeclared (first use in this function) | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:326:33: error: 'q' undeclared (first use in this function) | |
CIRCLEQ_REMOVE(&mp->lqh, bp, q); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:377:29: error: 'EPG {aka struct _epg}' has no member named 'page' | |
mpool_put(t->bt_mp, save.page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:167:34: error: 'pgno_t' undeclared (first use in this function) | |
LALIGN(sizeof(recno_t) + sizeof(pgno_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:506:40: note: in expansion of macro 'NRINTERNAL' | |
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:222:9: error: unknown type name 'DBT' | |
DBT end_key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:259:45: error: request for member 'size' in something not a structure or union | |
return (a->size < b->size ? a->size + 1 : a->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:273:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
t->bt_psize = b.psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:193:16: error: 'u_int32_t' undeclared (first use in this function) | |
LALIGN(sizeof(u_int32_t) + sizeof(u_int32_t) + sizeof(u_char) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:189:19: note: in expansion of macro 'NBLEAFDBT' | |
#define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:502:11: note: in expansion of macro 'NBLEAF' | |
nbytes = NBLEAF(bl); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:273:2: error: unknown type name 'u_int32_t' | |
u_int32_t nbytes; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:337:17: error: 'BKT' undeclared (first use in this function) | |
new: if ((bp = (BKT *)malloc(sizeof(BKT) + mp->pagesize)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:380:9: error: 'EPG {aka struct _epg}' has no member named 'index' | |
save.index = ep->index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:507:22: error: invalid type argument of '->' (have 'int') | |
dest = (char *)h + h->upper; | |
^ | |
../../extmod/modbtree.c:223:16: error: request for member 'data' in something not a structure or union | |
end_key.data = (void *)mp_obj_str_get_data(self->end_key, &end_key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:273:17: error: request for member 'psize' in something not a structure or union | |
t->bt_psize = b.psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_ret': | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:34: error: 'pgno_t' undeclared (first use in this function) | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:193:2: note: in expansion of macro 'LALIGN' | |
LALIGN(sizeof(u_int32_t) + sizeof(u_int32_t) + sizeof(u_char) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:189:19: note: in expansion of macro 'NBLEAFDBT' | |
#define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:502:11: note: in expansion of macro 'NBLEAF' | |
nbytes = NBLEAF(bl); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:276:32: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:337:22: error: expected expression before ')' token | |
new: if ((bp = (BKT *)malloc(sizeof(BKT) + mp->pagesize)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:380:20: error: 'EPG {aka struct _epg}' has no member named 'index' | |
save.index = ep->index; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:171:13: error: expected expression before ')' token | |
*(recno_t *)p = nrecs; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:508:2: note: in expansion of macro 'WR_RINTERNAL' | |
WR_RINTERNAL(dest, | |
^ | |
../../extmod/modbtree.c:223:75: error: request for member 'size' in something not a structure or union | |
end_key.data = (void *)mp_obj_str_get_data(self->end_key, &end_key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:276:7: error: request for member 'cachesize' in something not a structure or union | |
if (b.cachesize && b.cachesize & (b.psize - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:137:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:503:22: error: invalid type argument of '->' (have 'int') | |
from = (char *)h + h->upper; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:277:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
t->bt_order = NOT; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:345:4: error: request for member 'page' in something not a structure or union | |
bp->page = (char *)bp + sizeof(BKT); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:387:10: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (ep->index == 0) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:173:12: error: expected expression before ')' token | |
*(pgno_t *)p = pgno; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:508:2: note: in expansion of macro 'WR_RINTERNAL' | |
WR_RINTERNAL(dest, | |
^ | |
../../extmod/modbtree.c:224:28: error: request for member 'internal' in something not a structure or union | |
BTREE *t = self->db->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:276:22: error: request for member 'cachesize' in something not a structure or union | |
if (b.cachesize && b.cachesize & (b.psize - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_cmp': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:505:3: error: invalid type argument of '->' (have 'int') | |
h->upper += nbytes; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:277:17: error: 'NOT' undeclared (first use in this function) | |
t->bt_order = NOT; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:346:6: error: request for member 'curcache' in something not a structure or union | |
++mp->curcache; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:390:24: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (h->pgno != save.page->pgno) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:511:3: error: invalid type argument of '->' (have 'int') | |
h->linp[1] = h->upper -= NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:225:20: error: 'BTREE {aka struct _btree}' has no member named 'bt_cmp' | |
int cmp = t->bt_cmp(&key, &end_key); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:276:37: error: request for member 'psize' in something not a structure or union | |
if (b.cachesize && b.cachesize & (b.psize - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:201:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:508:12: error: invalid type argument of '->' (have 'int') | |
offset = h->linp[index]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:280:11: error: 'EPG {aka struct _epg}' has no member named 'page' | |
t->bt_cur.page = h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:394:25: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (h->pgno == save.page->pgno) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:511:16: error: invalid type argument of '->' (have 'int') | |
h->linp[1] = h->upper -= NRINTERNAL; | |
^ | |
../../extmod/modbtree.c:240:40: error: request for member 'data' in something not a structure or union | |
return mp_obj_new_bytes(key.data, key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:277:4: error: request for member 'cachesize' in something not a structure or union | |
b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_defcmp': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:509:27: error: invalid type argument of '->' (have 'int') | |
for (cnt = index, ip = &h->linp[0]; cnt--; ++ip) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:281:11: error: 'EPG {aka struct _epg}' has no member named 'index' | |
t->bt_cur.index = t->bt_last.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:355:1: error: static declaration of 'mpool_write' follows non-static declaration | |
mpool_write(mp, bp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:396:15: error: 'EPG {aka struct _epg}' has no member named 'page' | |
save.page, 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:512:22: error: invalid type argument of '->' (have 'int') | |
dest = (char *)h + h->upper; | |
^ | |
../../extmod/modbtree.c:240:50: error: request for member 'size' in something not a structure or union | |
return mp_obj_new_bytes(key.data, key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:277:21: error: request for member 'cachesize' in something not a structure or union | |
b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:233:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:27: error: invalid type argument of '->' (have 'int') | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:512:13: note: in expansion of macro 'NEXTINDEX' | |
for (cnt = NEXTINDEX(h) - index; --cnt; ++ip) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:281:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_cur.index = t->bt_last.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:285:7: note: previous implicit declaration of 'mpool_write' was here | |
mpool_write(mp, bp) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:397:14: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:171:13: error: expected expression before ')' token | |
*(recno_t *)p = nrecs; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:513:2: note: in expansion of macro 'WR_RINTERNAL' | |
WR_RINTERNAL(dest, | |
^ | |
../../extmod/modbtree.c:242:40: error: request for member 'data' in something not a structure or union | |
return mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:277:36: error: request for member 'psize' in something not a structure or union | |
b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c: In function '__bt_defpfx': | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:512:13: note: in expansion of macro 'NEXTINDEX' | |
for (cnt = NEXTINDEX(h) - index; --cnt; ++ip) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_put.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:193:16: error: 'u_int32_t' undeclared (first use in this function) | |
LALIGN(sizeof(u_int32_t) + sizeof(u_int32_t) + sizeof(u_char) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:287:11: note: in expansion of macro 'NBLEAFDBT' | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_write': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:399:7: error: 'EPG {aka struct _epg}' has no member named 'page' | |
ep->page = h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:173:12: error: expected expression before ')' token | |
*(pgno_t *)p = pgno; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:513:2: note: in expansion of macro 'WR_RINTERNAL' | |
WR_RINTERNAL(dest, | |
^ | |
../../extmod/modbtree.c:242:50: error: request for member 'size' in something not a structure or union | |
return mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:278:7: error: request for member 'cachesize' in something not a structure or union | |
if (b.cachesize < b.psize * MINCACHE) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_utils.c:260:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:514:3: error: invalid type argument of '->' (have 'int') | |
h->lower -= sizeof(indx_t); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:287:24: error: request for member 'size' in something not a structure or union | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:287:11: note: in expansion of macro 'NBLEAFDBT' | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:356:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:400:7: error: 'EPG {aka struct _epg}' has no member named 'index' | |
ep->index = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:516:3: error: invalid type argument of '->' (have 'int') | |
h->lower = BTDATAOFF + 2 * sizeof(indx_t); | |
^ | |
../../extmod/modbtree.c:246:50: error: request for member 'data' in something not a structure or union | |
pair->items[0] = mp_obj_new_bytes(key.data, key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:278:21: error: request for member 'psize' in something not a structure or union | |
if (b.cachesize < b.psize * MINCACHE) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:517:16: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (F_ISSET(&t->bt_cursor, CURS_INIT) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:287:36: error: request for member 'size' in something not a structure or union | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:287:11: note: in expansion of macro 'NBLEAFDBT' | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:357:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:400:17: note: in expansion of macro 'NEXTINDEX' | |
ep->index = NEXTINDEX(h); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:516:13: note: in expansion of macro 'BTDATAOFF' | |
h->lower = BTDATAOFF + 2 * sizeof(indx_t); | |
^ | |
../../extmod/modbtree.c:246:60: error: request for member 'size' in something not a structure or union | |
pair->items[0] = mp_obj_new_bytes(key.data, key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:279:4: error: request for member 'cachesize' in something not a structure or union | |
b.cachesize = b.psize * MINCACHE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:518:17: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:25: note: in definition of macro 'F_ISSET' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:34: error: 'pgno_t' undeclared (first use in this function) | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:193:2: note: in expansion of macro 'LALIGN' | |
LALIGN(sizeof(u_int32_t) + sizeof(u_int32_t) + sizeof(u_char) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:287:11: note: in expansion of macro 'NBLEAFDBT' | |
nbytes = NBLEAFDBT(key->size, data->size); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:366:8: error: request for member 'pgout' in something not a structure or union | |
if (mp->pgout) | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_utils.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:400:17: note: in expansion of macro 'NEXTINDEX' | |
ep->index = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:516:13: note: in expansion of macro 'BTDATAOFF' | |
h->lower = BTDATAOFF + 2 * sizeof(indx_t); | |
^ | |
../../extmod/modbtree.c:247:50: error: request for member 'data' in something not a structure or union | |
pair->items[1] = mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:279:18: error: request for member 'psize' in something not a structure or union | |
b.cachesize = b.psize * MINCACHE; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:519:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:288:44: error: 'indx_t' undeclared (first use in this function) | |
if (h->upper - h->lower < nbytes + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:367:6: error: request for member 'pgout' in something not a structure or union | |
(mp->pgout)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:400:17: note: in expansion of macro 'NEXTINDEX' | |
ep->index = NEXTINDEX(h); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:519:3: error: invalid type argument of '->' (have 'int') | |
h->flags &= ~P_TYPE; | |
^ | |
../../extmod/modbtree.c:247:60: error: request for member 'size' in something not a structure or union | |
pair->items[1] = mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:282:13: error: request for member 'cachesize' in something not a structure or union | |
ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:519:31: error: invalid type argument of '->' (have 'int') | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:291:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
if (t->bt_order == FORWARD) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:367:17: error: request for member 'pgcookie' in something not a structure or union | |
(mp->pgout)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:402:8: error: 'EPG {aka struct _epg}' has no member named 'index' | |
--ep->index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:520:3: error: invalid type argument of '->' (have 'int') | |
h->flags |= P_RINTERNAL; | |
^ | |
../../extmod/modbtree.c: In function 'btree_subscr': | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:282:27: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:519:42: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:291:21: error: 'FORWARD' undeclared (first use in this function) | |
if (t->bt_order == FORWARD) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:367:31: error: request for member 'pgno' in something not a structure or union | |
(mp->pgout)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:410:22: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (h->pgno != save.page->pgno) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:521:25: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../extmod/modbtree.c:257:9: error: unknown type name 'DBT' | |
DBT key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:282:46: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:520:6: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
--t->bt_cursor.pg.index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:292:16: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (t->bt_cur.page->nextpg != P_INVALID) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:367:41: error: request for member 'page' in something not a structure or union | |
(mp->pgout)(mp->pgcookie, bp->pgno, bp->page); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:418:8: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (ep->index == NEXTINDEX(ep->page)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:523:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../extmod/modbtree.c:258:12: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(index, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:295:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:522:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:294:16: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (t->bt_cur.index != NEXTINDEX(h) - 1) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:369:10: error: request for member 'pagesize' in something not a structure or union | |
off = mp->pagesize * bp->pgno; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:418:31: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (ep->index == NEXTINDEX(ep->page)) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:25: note: in definition of macro 'NEXTINDEX' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:503:8: warning: variable 'dest' set but not used [-Wunused-but-set-variable] | |
char *dest; | |
^ | |
../../extmod/modbtree.c:258:59: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(index, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:295:21: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:298:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:369:25: error: request for member 'pgno' in something not a structure or union | |
off = mp->pagesize * bp->pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:419:9: error: 'EPG {aka struct _epg}' has no member named 'page' | |
h = ep->page; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: At top level: | |
../../extmod/modbtree.c:260:20: error: 'RET_SPECIAL' undeclared (first use in this function) | |
if (res == RET_SPECIAL) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:295:34: note: in expansion of macro 'BTDATAOFF' | |
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:539:1: error: static declaration of '__bt_curdel' follows non-static declaration | |
__bt_curdel(t, key, h, index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:298:39: error: 'EPG {aka struct _epg}' has no member named 'index' | |
t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:370:8: error: request for member 'fvtable' in something not a structure or union | |
if (mp->fvtable->lseek(mp->fd, off, SEEK_SET) != off) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:426:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
ep->index = 0; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:539:1: error: static declaration of 'bt_broot' follows non-static declaration | |
bt_broot(t, h, l, r) | |
^ | |
../../extmod/modbtree.c:61:16: error: 'RET_ERROR' undeclared (first use in this function) | |
if (res == RET_ERROR) { \ | |
^ | |
../../extmod/modbtree.c:263:9: note: in expansion of macro 'CHECK_ERROR' | |
CHECK_ERROR(res); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:295:34: note: in expansion of macro 'BTDATAOFF' | |
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:490:6: note: previous implicit declaration of '__bt_curdel' was here | |
__bt_curdel(t, key, h, index)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:298:57: error: 'EPG {aka struct _epg}' has no member named 'index' | |
t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:370:27: error: request for member 'fd' in something not a structure or union | |
if (mp->fvtable->lseek(mp->fd, off, SEEK_SET) != off) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:427:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
ep->page = h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:129:30: note: previous implicit declaration of 'bt_broot' was here | |
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR) | |
^ | |
../../extmod/modbtree.c:267:9: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:295:48: error: request for member 'minkeypage' in something not a structure or union | |
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_curdel': | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:300:16: error: 'EPG {aka struct _epg}' has no member named 'page' | |
if (t->bt_cur.page->prevpg != P_INVALID) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:371:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: In function 'bt_broot': | |
../../extmod/modbtree.c:268:12: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(index, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:297:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
if (t->bt_ovflsize < NBLEAFDBT(NOVFLSIZE, NOVFLSIZE) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:541:8: error: unknown type name 'DBT' | |
const DBT *key; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:302:16: error: 'EPG {aka struct _epg}' has no member named 'index' | |
if (t->bt_cur.index != 0) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:372:8: error: request for member 'fvtable' in something not a structure or union | |
if (mp->fvtable->write(mp->fd, bp->page, mp->pagesize) != mp->pagesize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:443:1: error: conflicting types for '__bt_setcur' [-Werror] | |
__bt_setcur(t, pgno, index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:541:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h, *l, *r; | |
^ | |
../../extmod/modbtree.c:268:59: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(index, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:298:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_ovflsize' | |
t->bt_ovflsize = | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:542:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:306:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_last' | |
t->bt_last.index = 0; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:372:27: error: request for member 'fd' in something not a structure or union | |
if (mp->fvtable->write(mp->fd, bp->page, mp->pagesize) != mp->pagesize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:118:3: note: previous implicit declaration of '__bt_setcur' was here | |
__bt_setcur(t, e.page->pgno, e.index); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:539:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
bt_broot(t, h, l, r) | |
^ | |
../../extmod/modbtree.c:274:36: error: request for member 'data' in something not a structure or union | |
return mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:303:6: error: implicit declaration of function 'mpool_open' [-Werror=implicit-function-declaration] | |
mpool_open(NULL, t->bt_fd, vtable, t->bt_psize, ncache)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:539:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_curdel(t, key, h, index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:318:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_order' | |
t->bt_order = NOT; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:372:35: error: request for member 'page' in something not a structure or union | |
if (mp->fvtable->write(mp->fd, bp->page, mp->pagesize) != mp->pagesize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: In function '__bt_setcur': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:539:1: error: type of 'l' defaults to 'int' [-Werror=implicit-int] | |
../../extmod/modbtree.c:274:46: error: request for member 'size' in something not a structure or union | |
return mp_obj_new_bytes(val.data, val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:303:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_fd' | |
mpool_open(NULL, t->bt_fd, vtable, t->bt_psize, ncache)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:547:8: error: 'pg' undeclared (first use in this function) | |
PAGE *pg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:372:45: error: request for member 'pagesize' in something not a structure or union | |
if (mp->fvtable->write(mp->fd, bp->page, mp->pagesize) != mp->pagesize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c: In function '__bt_put': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:445:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:539:1: error: type of 'r' defaults to 'int' [-Werror=implicit-int] | |
../../extmod/modbtree.c:277:9: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:303:42: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
mpool_open(NULL, t->bt_fd, vtable, t->bt_psize, ncache)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:554:8: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
c = &t->bt_cursor; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:372:62: error: request for member 'pagesize' in something not a structure or union | |
if (mp->fvtable->write(mp->fd, bp->page, mp->pagesize) != mp->pagesize) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_put.c:250:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:449:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
if (t->bt_cursor.key.data != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:545:2: error: unknown type name 'u_int32_t' | |
u_int32_t nbytes; | |
^ | |
../../extmod/modbtree.c:278:12: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(index, &key.size); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:305:7: note: in expansion of macro 'F_ISSET' | |
if (!F_ISSET(t, B_INMEM)) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:42:27: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_ISSET(p, f) ((p)->flags & (f)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:558:7: note: in expansion of macro 'F_ISSET' | |
if (!F_ISSET(t, B_NODUPS)) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:375:4: error: request for member 'flags' in something not a structure or union | |
bp->flags &= ~MPOOL_DIRTY; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:450:9: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
free(t->bt_cursor.key.data); | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:547:2: error: unknown type name 'pgno_t' | |
pgno_t pg_tmp; | |
^ | |
../../extmod/modbtree.c:278:59: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(index, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:306:3: error: implicit declaration of function 'mpool_filter' [-Werror=implicit-function-declaration] | |
mpool_filter(t->bt_mp, __bt_pgin, __bt_pgout, t); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:565:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.page = h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:375:16: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
bp->flags &= ~MPOOL_DIRTY; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:451:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.key.size = 0; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:140:16: error: 'u_int32_t' undeclared (first use in this function) | |
LALIGN(sizeof(u_int32_t) + sizeof(pgno_t) + sizeof(u_char) + (len)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:557:11: note: in expansion of macro 'NBINTERNAL' | |
nbytes = NBINTERNAL(0); | |
^ | |
../../extmod/modbtree.c:279:12: error: request for member 'data' in something not a structure or union | |
val.data = (void *)mp_obj_str_get_data(value, &val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:306:26: error: '__bt_pgin' undeclared (first use in this function) | |
mpool_filter(t->bt_mp, __bt_pgin, __bt_pgout, t); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:566:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:376:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:452:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.key.data = NULL; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_put.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/btree.h:140:36: error: 'pgno_t' undeclared (first use in this function) | |
LALIGN(sizeof(u_int32_t) + sizeof(pgno_t) + sizeof(u_char) + (len)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:113:22: note: in definition of macro 'LALIGN' | |
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:557:11: note: in expansion of macro 'NBINTERNAL' | |
nbytes = NBINTERNAL(0); | |
^ | |
../../extmod/modbtree.c:279:59: error: request for member 'size' in something not a structure or union | |
val.data = (void *)mp_obj_str_get_data(value, &val.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:306:37: error: '__bt_pgout' undeclared (first use in this function) | |
mpool_filter(t->bt_mp, __bt_pgin, __bt_pgout, t); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:567:18: error: implicit declaration of function '__bt_ret' [-Werror=implicit-function-declaration] | |
if ((status = __bt_ret(t, &e, | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: At top level: | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:454:10: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:41:22: note: in definition of macro 'F_CLR' | |
#define F_CLR(p, f) (p)->flags &= ~(f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:558:3: error: invalid type argument of '->' (have 'int') | |
h->linp[0] = h->upper = t->bt_psize - nbytes; | |
^ | |
../../extmod/modbtree.c: In function 'btree_binary_op': | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:309:18: error: 'RET_ERROR' undeclared (first use in this function) | |
if (nroot(t) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:568:45: error: 'RET_SUCCESS' undeclared (first use in this function) | |
&c->key, &c->key, NULL, NULL, 1)) != RET_SUCCESS) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:383:8: error: unknown type name 'BKT' | |
static BKT * | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:457:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.pgno = pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:558:16: error: invalid type argument of '->' (have 'int') | |
h->linp[0] = h->upper = t->bt_psize - nbytes; | |
^ | |
../../extmod/modbtree.c:290:13: error: unknown type name 'DBT' | |
DBT key, val; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:313:15: error: 'DB_LOCK' undeclared (first use in this function) | |
if (dflags & DB_LOCK) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:575:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.page = h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:384:1: error: conflicting types for 'mpool_look' | |
mpool_look(mp, pgno) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:458:3: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
t->bt_cursor.pg.index = index; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:558:27: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
h->linp[0] = h->upper = t->bt_psize - nbytes; | |
^ | |
../../extmod/modbtree.c:291:16: error: request for member 'data' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(rhs_in, &key.size); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:314:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_DB_LOCK); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:576:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = index - 1; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:163:12: note: previous implicit declaration of 'mpool_look' was here | |
if ((bp = mpool_look(mp, pgno)) != NULL) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_seq.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:459:10: error: 'BTREE {aka struct _btree}' has no member named 'bt_cursor' | |
F_SET(&t->bt_cursor, CURS_INIT); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:22: note: in definition of macro 'F_SET' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:559:22: error: invalid type argument of '->' (have 'int') | |
dest = (char *)h + h->upper; | |
^ | |
../../extmod/modbtree.c:291:64: error: request for member 'size' in something not a structure or union | |
key.data = (void *)mp_obj_str_get_data(rhs_in, &key.size); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:315:15: error: 'DB_SHMEM' undeclared (first use in this function) | |
if (dflags & DB_SHMEM) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:27: error: invalid type argument of '->' (have 'int') | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:583:15: note: in expansion of macro 'NEXTINDEX' | |
if (index < NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_look': | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c: At top level: | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:144:15: error: expected expression before ')' token | |
*(u_int32_t *)p = size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:560:2: note: in expansion of macro 'WR_BINTERNAL' | |
WR_BINTERNAL(dest, 0, l->pgno, 0); | |
^ | |
../../extmod/modbtree.c:61:16: error: 'RET_ERROR' undeclared (first use in this function) | |
if (res == RET_ERROR) { \ | |
^ | |
../../extmod/modbtree.c:293:13: note: in expansion of macro 'CHECK_ERROR' | |
CHECK_ERROR(res); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:316:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_DB_SHMEM); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:583:15: note: in expansion of macro 'NEXTINDEX' | |
if (index < NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:385:2: error: unknown type name 'MPOOL' | |
MPOOL *mp; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_seq.c:152:1: warning: '__bt_seqset' defined but not used [-Wunused-function] | |
__bt_seqset(t, ep, key, flags) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:146:12: error: expected expression before ')' token | |
*(pgno_t *)p = pgno; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:560:2: note: in expansion of macro 'WR_BINTERNAL' | |
WR_BINTERNAL(dest, 0, l->pgno, 0); | |
^ | |
../../extmod/modbtree.c:294:43: error: 'RET_SPECIAL' undeclared (first use in this function) | |
return mp_obj_new_bool(res != RET_SPECIAL); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:317:15: error: 'DB_TXN' undeclared (first use in this function) | |
if (dflags & DB_TXN) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:583:15: note: in expansion of macro 'NEXTINDEX' | |
if (index < NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:386:2: error: unknown type name 'pgno_t' | |
pgno_t pgno; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:562:11: error: invalid type argument of '->' (have 'int') | |
switch (h->flags & P_TYPE) { | |
^ | |
cc1: all warnings being treated as errors | |
../../extmod/modbtree.c: At top level: | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:40:24: error: 'BTREE {aka struct _btree}' has no member named 'flags' | |
#define F_SET(p, f) (p)->flags |= (f) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:318:3: note: in expansion of macro 'F_SET' | |
F_SET(t, B_DB_TXN); | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:583:15: note: in expansion of macro 'NEXTINDEX' | |
if (index < NEXTINDEX(h) - 1) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:389:2: error: unknown type name 'BKT' | |
BKT *bp; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:186:32: error: invalid type argument of '->' (have 'int') | |
((BLEAF *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:564:8: note: in expansion of macro 'GETBLEAF' | |
bl = GETBLEAF(r, 0); | |
^ | |
../../extmod/modbtree.c:329:14: error: unknown type name 'FILEVTABLE' | |
STATIC const FILEVTABLE btree_stream_fvtable = { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:125:12: warning: variable 'b' set but not used [-Wunused-but-set-variable] | |
BTREEINFO b; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_seq.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:584:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.page = h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:391:12: error: request for member 'hqh' in something not a structure or union | |
head = &mp->hqh[HASHKEY(pgno)]; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:566:4: error: invalid type argument of '->' (have 'int') | |
h->linp[1] = h->upper -= nbytes; | |
^ | |
../../extmod/modbtree.c:330:5: error: initialization makes integer from pointer without a cast [-Werror=int-conversion] | |
mp_stream_posix_read, | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c: In function 'nroot': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:585:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = index + 1; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:392:16: error: dereferencing pointer to incomplete type 'struct _hqh' | |
for (bp = head->cqh_first; bp != (void *)head; bp = bp->hq.cqe_next) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:566:17: error: invalid type argument of '->' (have 'int') | |
h->linp[1] = h->upper -= nbytes; | |
^ | |
../../extmod/modbtree.c:330:5: note: (near initialization for 'btree_stream_fvtable') | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:349:8: error: 'meta' undeclared (first use in this function) | |
PAGE *meta, *root; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:592:22: error: invalid type argument of '->' (have 'int') | |
if (index == 0 && h->prevpg != P_INVALID) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:392:56: error: request for member 'hq' in something not a structure or union | |
for (bp = head->cqh_first; bp != (void *)head; bp = bp->hq.cqe_next) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:567:23: error: invalid type argument of '->' (have 'int') | |
dest = (char *)h + h->upper; | |
^ | |
../../extmod/modbtree.c:331:5: error: excess elements in scalar initializer [-Werror] | |
mp_stream_posix_write, | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:349:15: error: 'root' undeclared (first use in this function) | |
PAGE *meta, *root; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:593:35: error: invalid type argument of '->' (have 'int') | |
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:393:9: error: request for member 'pgno' in something not a structure or union | |
if (bp->pgno == pgno) { | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:144:15: error: expected expression before ')' token | |
*(u_int32_t *)p = size; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:568:3: note: in expansion of macro 'WR_BINTERNAL' | |
WR_BINTERNAL(dest, bl->ksize, r->pgno, 0); | |
^ | |
../../extmod/modbtree.c:331:5: note: (near initialization for 'btree_stream_fvtable') | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:349:12: error: left-hand operand of comma expression has no effect [-Werror=unused-value] | |
PAGE *meta, *root; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:594:13: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/btree.h:146:12: error: expected expression before ')' token | |
*(pgno_t *)p = pgno; \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:568:3: note: in expansion of macro 'WR_BINTERNAL' | |
WR_BINTERNAL(dest, bl->ksize, r->pgno, 0); | |
^ | |
../../extmod/modbtree.c:332:5: error: excess elements in scalar initializer [-Werror] | |
mp_stream_posix_lseek, | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:350:2: error: unknown type name 'pgno_t' | |
pgno_t npg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:595:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.page = pg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:297:1: warning: 'mpool_bkt' defined but not used [-Wunused-function] | |
mpool_bkt(mp) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:578:33: error: 'RET_ERROR' undeclared (first use in this function) | |
bt_preserve(t, pg_tmp) == RET_ERROR) | |
^ | |
../../extmod/modbtree.c:332:5: note: (near initialization for 'btree_stream_fvtable') | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:352:14: error: implicit declaration of function 'mpool_get' [-Werror=implicit-function-declaration] | |
if ((meta = mpool_get(t->bt_mp, 0, 0)) != NULL) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:596:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = NEXTINDEX(pg) - 1; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:355:1: warning: 'mpool_write' defined but not used [-Wunused-function] | |
mpool_write(mp, bp) | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:136:36: error: invalid type argument of '->' (have 'int') | |
((BINTERNAL *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:582:8: note: in expansion of macro 'GETBINTERNAL' | |
bi = GETBINTERNAL(r, 0); | |
^ | |
../../extmod/modbtree.c:333:5: error: excess elements in scalar initializer [-Werror] | |
mp_stream_posix_fsync | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:353:3: error: implicit declaration of function 'mpool_put' [-Werror=implicit-function-declaration] | |
mpool_put(t->bt_mp, meta, 0); | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_delete.c:48:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:27: error: invalid type argument of '->' (have 'int') | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:604:16: note: in expansion of macro 'NEXTINDEX' | |
if (index == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:384:1: warning: 'mpool_look' defined but not used [-Wunused-function] | |
mpool_look(mp, pgno) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:584:4: error: invalid type argument of '->' (have 'int') | |
h->linp[1] = h->upper -= nbytes; | |
^ | |
../../extmod/modbtree.c:333:5: note: (near initialization for 'btree_stream_fvtable') | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:354:11: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:604:37: error: invalid type argument of '->' (have 'int') | |
if (index == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_new': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:584:17: error: invalid type argument of '->' (have 'int') | |
h->linp[1] = h->upper -= nbytes; | |
^ | |
../../extmod/modbtree.c: In function 'mod_btree_open': | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:357:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:605:35: error: invalid type argument of '->' (have 'int') | |
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:135:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:585:23: error: invalid type argument of '->' (have 'int') | |
dest = (char *)h + h->upper; | |
^ | |
../../extmod/modbtree.c:356:5: error: unknown type name 'BTREEINFO' | |
BTREEINFO openinfo = {0}; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:360:14: error: implicit declaration of function 'mpool_new' [-Werror=implicit-function-declaration] | |
if ((meta = mpool_new(t->bt_mp, &npg)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:607:5: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.page = pg; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_get': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:587:32: error: invalid type argument of '->' (have 'int') | |
((BINTERNAL *)dest)->pgno = r->pgno; | |
^ | |
../../extmod/modbtree.c:357:13: error: request for member 'flags' in something not a structure or union | |
openinfo.flags = args.flags.u_int; | |
^ | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_open.c:59:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:370:16: note: in expansion of macro 'BTDATAOFF' | |
root->lower = BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:608:5: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = 0; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:220:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:594:3: error: invalid type argument of '->' (have 'int') | |
h->lower = BTDATAOFF + 2 * sizeof(indx_t); | |
^ | |
../../extmod/modbtree.c:358:13: error: request for member 'cachesize' in something not a structure or union | |
openinfo.cachesize = args.cachesize.u_int; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:370:16: note: in expansion of macro 'BTDATAOFF' | |
root->lower = BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:612:24: error: 'EPG {aka struct _epg}' has no member named 'page' | |
dup2: c->pg.pgno = e.page->pgno; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_put': | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:594:13: note: in expansion of macro 'BTDATAOFF' | |
h->lower = BTDATAOFF + 2 * sizeof(indx_t); | |
^ | |
../../extmod/modbtree.c:359:13: error: request for member 'psize' in something not a structure or union | |
openinfo.psize = args.pagesize.u_int; | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:370:16: note: in expansion of macro 'BTDATAOFF' | |
root->lower = BTDATAOFF; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:613:20: error: 'EPG {aka struct _epg}' has no member named 'index' | |
c->pg.index = e.index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:248:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:597:3: error: invalid type argument of '->' (have 'int') | |
h->flags &= ~P_TYPE; | |
^ | |
../../extmod/modbtree.c:360:13: error: request for member 'minkeypage' in something not a structure or union | |
openinfo.minkeypage = args.minkeypage.u_int; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:371:17: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
root->upper = t->bt_psize; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:619:3: error: 'EPG {aka struct _epg}' has no member named 'page' | |
e.page = h; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_close': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:598:3: error: invalid type argument of '->' (have 'int') | |
h->flags |= P_BINTERNAL; | |
^ | |
../../extmod/modbtree.c:362:5: error: unknown type name 'DB' | |
DB *db = __bt_open(MP_OBJ_TO_PTR(pos_args[0]), &btree_stream_fvtable, &openinfo, /*dflags*/ 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:373:19: error: 'BTREE {aka struct _btree}' has no member named 'bt_psize' | |
memset(meta, 0, t->bt_psize); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:620:3: error: 'EPG {aka struct _epg}' has no member named 'index' | |
e.index = index; | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:269:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:599:25: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../extmod/modbtree.c:362:14: error: implicit declaration of function '__bt_open' [-Werror=implicit-function-declaration] | |
DB *db = __bt_open(MP_OBJ_TO_PTR(pos_args[0]), &btree_stream_fvtable, &openinfo, /*dflags*/ 0); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:374:28: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, meta, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: At top level: | |
../../lib/berkeley-db-1.xx/mpool/mpool.c: In function 'mpool_sync': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:601:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../extmod/modbtree.c:362:14: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] | |
../../lib/berkeley-db-1.xx/btree/bt_open.c: In function 'byteorder': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:638:1: error: static declaration of '__bt_relink' follows non-static declaration | |
__bt_relink(t, h) | |
^ | |
../../lib/berkeley-db-1.xx/mpool/mpool.c:290:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: At top level: | |
In file included from ../../py/mpstate.h:35:0, | |
from ../../py/runtime.h:29, | |
from ../../extmod/modbtree.c:32: | |
../../extmod/modbtree.c:366:28: error: implicit declaration of function 'btree_new' [-Werror=implicit-function-declaration] | |
return MP_OBJ_FROM_PTR(btree_new(db, pos_args[0])); | |
^ | |
../../py/obj.h:282:39: note: in definition of macro 'MP_OBJ_FROM_PTR' | |
#define MP_OBJ_FROM_PTR(p) ((mp_obj_t)p) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:382:2: error: unknown type name 'u_int32_t' | |
u_int32_t x; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:427:9: note: previous implicit declaration of '__bt_relink' was here | |
if (__bt_relink(t, pg) || __bt_free(t, pg)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:618:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
static PAGE * | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_open.c: In function '__bt_fd': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_relink': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:621:2: error: unknown type name 'PAGE' | |
PAGE *h, *l, *r; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:399:15: error: unknown type name 'DB' | |
const DB *dbp; | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:640:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:622:2: error: unknown type name 'indx_t' | |
indx_t *pskip; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:403:9: error: request for member 'internal' in something not a structure or union | |
t = dbp->internal; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:638:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
__bt_relink(t, h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:624:1: error: expected identifier or '(' before '{' token | |
{ | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:406:7: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
if (t->bt_pinned != NULL) { | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/mpool/mpool.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:642:8: error: 'pg' undeclared (first use in this function) | |
PAGE *pg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:797:1: error: static declaration of 'bt_preserve' follows non-static declaration | |
bt_preserve(t, pg) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:407:24: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
mpool_put(t->bt_mp, t->bt_pinned, 0); | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/extmod/modbtree.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:644:7: error: invalid type argument of '->' (have 'int') | |
if (h->nextpg != P_INVALID) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:252:8: note: previous implicit declaration of 'bt_preserve' was here | |
bt_preserve(t, pg_tmp) == RET_ERROR) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_open.c:408:4: error: 'BTREE {aka struct _btree}' has no member named 'bt_pinned' | |
t->bt_pinned = NULL; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:645:34: error: invalid type argument of '->' (have 'int') | |
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: In function 'bt_preserve': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:646:12: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:799:2: error: unknown type name 'pgno_t' | |
pgno_t pg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:647:17: error: invalid type argument of '->' (have 'int') | |
pg->prevpg = h->prevpg; | |
^ | |
cc1: all warnings being treated as errors | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:801:7: error: invalid operands to binary * (have 'int' and 'int *') | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:648:27: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, pg, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:803:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] | |
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:650:7: error: invalid type argument of '->' (have 'int') | |
if (h->prevpg != P_INVALID) { | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:804:11: error: 'RET_ERROR' undeclared (first use in this function) | |
return (RET_ERROR); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:651:34: error: invalid type argument of '->' (have 'int') | |
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:805:3: error: request for member 'flags' in something not a structure or union | |
h->flags |= P_PRESERVE; | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_open.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:653:17: error: invalid type argument of '->' (have 'int') | |
pg->nextpg = h->nextpg; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:806:25: error: 'MPOOL_DIRTY' undeclared (first use in this function) | |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:807:10: error: 'RET_SUCCESS' undeclared (first use in this function) | |
return (RET_SUCCESS); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:144:1: warning: '__bt_stkacq' defined but not used [-Wunused-function] | |
__bt_stkacq(t, hp, c) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:378:1: warning: '__bt_pdelete' defined but not used [-Wunused-function] | |
__bt_pdelete(t, h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:824:8: error: unknown type name 'recno_t' | |
static recno_t | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:539:1: warning: '__bt_curdel' defined but not used [-Wunused-function] | |
__bt_curdel(t, key, h, index) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:825:1: error: static declaration of 'rec_total' follows non-static declaration | |
rec_total(h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:638:1: warning: '__bt_relink' defined but not used [-Wunused-function] | |
__bt_relink(t, h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:264:33: note: previous implicit declaration of 'rec_total' was here | |
((RINTERNAL *)dest)->nrecs = rec_total(lchild); | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: In function 'rec_total': | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_bdelete': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:826:2: error: expected declaration specifiers before 'PAGE' | |
PAGE *h; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:361:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:825:1: error: type of 'h' defaults to 'int' [-Werror=implicit-int] | |
rec_total(h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c: In function '__bt_dleaf': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:828:2: error: unknown type name 'recno_t' | |
recno_t recs; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_delete.c:523:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:829:2: error: unknown type name 'indx_t' | |
indx_t nxt, top; | |
^ | |
cc1: all warnings being treated as errors | |
In file included from ../../lib/berkeley-db-1.xx/btree/bt_split.c:49:0: | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:27: error: invalid type argument of '->' (have 'int') | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:831:32: note: in expansion of macro 'NEXTINDEX' | |
for (recs = 0, nxt = 0, top = NEXTINDEX(h); nxt < top; ++nxt) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:93:10: error: 'pgno_t' undeclared (first use in this function) | |
(sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:831:32: note: in expansion of macro 'NEXTINDEX' | |
for (recs = 0, nxt = 0, top = NEXTINDEX(h); nxt < top; ++nxt) | |
^ | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_delete.o] Error 1 | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:13: error: 'u_int32_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:831:32: note: in expansion of macro 'NEXTINDEX' | |
for (recs = 0, nxt = 0, top = NEXTINDEX(h); nxt < top; ++nxt) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function) | |
sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:95:37: note: in expansion of macro 'BTDATAOFF' | |
#define NEXTINDEX(p) (((p)->lower - BTDATAOFF) / sizeof(indx_t)) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:831:32: note: in expansion of macro 'NEXTINDEX' | |
for (recs = 0, nxt = 0, top = NEXTINDEX(h); nxt < top; ++nxt) | |
^ | |
../../lib/berkeley-db-1.xx/btree/btree.h:163:36: error: invalid type argument of '->' (have 'int') | |
((RINTERNAL *)((char *)(pg) + (pg)->linp[indx])) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:832:11: note: in expansion of macro 'GETRINTERNAL' | |
recs += GETRINTERNAL(h, nxt)->nrecs; | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: At top level: | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:499:1: warning: 'bt_rroot' defined but not used [-Wunused-function] | |
bt_rroot(t, h, l, r) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:539:1: warning: 'bt_broot' defined but not used [-Wunused-function] | |
bt_broot(t, h, l, r) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:797:1: warning: 'bt_preserve' defined but not used [-Wunused-function] | |
bt_preserve(t, pg) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:825:1: warning: 'rec_total' defined but not used [-Wunused-function] | |
rec_total(h) | |
^ | |
../../lib/berkeley-db-1.xx/btree/bt_split.c: In function '__bt_split': | |
../../lib/berkeley-db-1.xx/btree/bt_split.c:330:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
cc1: all warnings being treated as errors | |
make: *** [../../py/mkrules.mk:63: build-GENERIC/lib/berkeley-db-1.xx/btree/bt_split.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment