berkeley-db-1.xx error

hp26_esp32
Posts: 5
Joined: Wed Jun 17, 2020 6:28 am

berkeley-db-1.xx error

Postby hp26_esp32 » Fri May 12, 2023 4:14 am

Hello all,
I moved from linux to windows. The project i am working on builds without any issues on the linux but the same fails to build on windows. On windows, i used the installer mentioned in GET STARTED in documentation. Everything is ok till i run 'idf.py' in the esp powershell. The build fails and points on lots of error in the micropython lib. micropython/lib/berkeley-db-1.xx/ to be precise.

Your help would be much appereciated.

Thanks.


Please find the build log below:

Code: Select all


 esp-idf/micropython-component/CMakeFiles/micropy_extmod_btree.dir/micropython/lib/berkeley-db-1.xx/btree/bt_split.c.obj
ccache \esp_tools\Espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DUNITY_EXCLUDE_SETJMP_H=1 -D__DBINTERFACE_PRIVATE=1 -Dabort=abort_ -Dmpool_error=printf -Dvirt_fd_t=void* -I/main -I/components/micropython-component/micropython/lib/berkeley-db-1.xx/PORT/include -I/build/config -mlongcalls -Wno-frame-address -MD -MT esp-idf/micropython-component/CMakeFiles/micropy_extmod_btree.dir/micropython/lib/berkeley-db-1.xx/btree/bt_split.c.obj -MF esp-idf\micropython-component\CMakeFiles\micropy_extmod_btree.dir\micropython\lib\berkeley-db-1.xx\btree\bt_split.c.obj.d -o esp-idf/micropython-component/CMakeFiles/micropy_extmod_btree.dir/micropython/lib/berkeley-db-1.xx/btree/bt_split.c.obj -c /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:48:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/PORT/include/db.h:1:1: error: expected identifier or '(' before '.' token
 ../../include/db.h
 ^
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:89:3: warnin data definition has no type or storage class
 } PAGE;
   ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:89:3: warnin type defaults to 'int' in declaration of 'PAGE' [-Wimplicit-int]
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:127:2: error: unknown type name 'pgno_t'
  pgno_t pgno;   /* page number stored on */
  ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:157:2: error: unknown type name 'recno_t'
  recno_t nrecs;   /* number of records */
  ^~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:158:2: error: unknown type name 'pgno_t'
  pgno_t pgno;   /* page number stored below */
  ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:247:2: error: unknown type name 'pgno_t'
  pgno_t pgno;   /* the page number */
  ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:248:2: error: unknown type name 'indx_t'
  indx_t index;   /* the index on the page */
  ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:252:2: error: expected specifier-qualifier-list before 'PAGE'
  PAGE *page;   /* the (pinned) page */
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:282:2: error: unknown type name 'DBT'
  DBT  key;   /* B: Saved key, or key.data == NULL. */
  ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:283:2: error: unknown type name 'recno_t'
  recno_t  rcursor;  /* R: recno cursor (1-based) */
  ^~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:310:2: error: unknown type name 'MPOOL'
  MPOOL  *bt_mp;  /* memory pool cookie */
  ^~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:312:2: error: unknown type name 'DB'
  DB  *bt_dbp;  /* pointer to enclosing DB */
  ^~
/components/micropython-component/micropython/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 \esp_tools\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\types.h:21,
                 from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:41:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:36:22: error: unknown type name 'DB'
 int  __bt_close __P((DB *));
                      ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:37:35: error: unknown type name 'DBT'
 int  __bt_cmp __P((BTREE *, const DBT *, EPG *));
                                   ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:39:29: error: unknown type name 'DBT'
 int  __bt_defcmp __P((const DBT *, const DBT *));
                             ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:39:42: error: unknown type name 'DBT'
 int  __bt_defcmp __P((const DBT *, const DBT *));
                                          ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:40:32: error: unknown type name 'DBT'
 size_t  __bt_defpfx __P((const DBT *, const DBT *));
                                ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:40:45: error: unknown type name 'DBT'
 size_t  __bt_defpfx __P((const DBT *, const DBT *));
                                             ^~~
/components/micropython-component/micropython/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));
                             ^~
/components/micropython-component/micropython/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));
                                         ^~~
/components/micropython-component/micropython/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));
                                     ^~~
/components/micropython-component/micropython/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));
                                            ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:43:25: error: unknown type name 'DB'
 int  __bt_fd __P((const DB *));
                         ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:44:30: error: expected declaration specifiers or '...' before 'PAGE'
 int  __bt_free __P((BTREE *, PAGE *));
                              ^~~~
/components/micropython-component/micropython/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));
                          ^~
/components/micropython-component/micropython/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));
                                      ^~~
/components/micropython-component/micropython/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));
                                             ^~~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:388,
                 from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/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 \esp_tools\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\types.h:21,
                 from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:41:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:46:30: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 PAGE *__bt_new __P((BTREE *, pgno_t *));
                              ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:47:30: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 void  __bt_pgin __P((void *, pgno_t, void *));
                              ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:48:31: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 void  __bt_pgout __P((void *, pgno_t, void *));
                               ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:49:30: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 int  __bt_push __P((BTREE *, pgno_t, int));
                              ^~~~~~
/components/micropython-component/micropython/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));
                          ^~
/components/micropython-component/micropython/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));
                                   ^~~
/components/micropython-component/micropython/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));
                                                ^~~
/components/micropython-component/micropython/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));
                                    ^~~
/components/micropython-component/micropython/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));
                                           ^~~
/components/micropython-component/micropython/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));
                                                  ^~~
/components/micropython-component/micropython/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));
                                                         ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:52:38: error: unknown type name 'DBT'
 EPG *__bt_search __P((BTREE *, const DBT *, int *));
                                      ^~~
/components/micropython-component/micropython/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));
                          ^~
/components/micropython-component/micropython/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));
                                ^~~
/components/micropython-component/micropython/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));
                                       ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:54:33: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 void  __bt_setcur __P((BTREE *, pgno_t, u_int));
                                 ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:55:31: error: expected declaration specifiers or '...' before 'PAGE'
 int  __bt_split __P((BTREE *, PAGE *,
                               ^~~~
/components/micropython-component/micropython/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));
            ^~~
/components/micropython-component/micropython/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));
                         ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:57:27: error: unknown type name 'DB'
 int  __bt_sync __P((const DB *, u_int));
                           ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:61:37: error: unknown type name 'DBT'
 int  __ovfl_put __P((BTREE *, const DBT *, pgno_t *));
                                     ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/extern.h:61:44: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 int  __ovfl_put __P((BTREE *, const DBT *, pgno_t *));
                                            ^~~~~~
/components/micropython-component/micropython/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 *));
                                    ^~~~
/components/micropython-component/micropython/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 *));
                                            ^~~~
/components/micropython-component/micropython/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 *));
                                                    ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:52:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static PAGE *bt_page
             ^
In file included from \esp_tools\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\types.h:21,
                 from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:41:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:54:39: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
 static int  bt_preserve __P((BTREE *, pgno_t));
                                       ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:55:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static PAGE *bt_psplit
             ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:57:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static PAGE *bt_root
             ^
In file included from \esp_tools\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\types.h:21,
                 from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:41:
/components/micropython-component/micropython/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 *));
                                    ^~~~
/components/micropython-component/micropython/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 *));
                                            ^~~~
/components/micropython-component/micropython/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 *));
                                                    ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:60:8: error: unknown type name 'recno_t'
 static recno_t  rec_total __P((PAGE *));
        ^~~~~~~
In file included from \esp_tools\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\types.h:21,
                 from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:41:
/components/micropython-component/micropython/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 *));
                                ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: In function '__bt_split':
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:84:2: error: expected declaration specifiers before 'PAGE'
  PAGE *sp;
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:85:8: error: unknown type name 'DBT'
  const DBT *key, *data;
        ^~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:82:1: warnin type of 'sp' defaults to 'int' [-Wimplicit-int]
 __bt_split(t, sp, key, data, flags, ilen, argskip)
 ^~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:92:2: error: unknown type name 'DBT'
  DBT a, b;
  ^~~
/components/micropython-component/micropython/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;
        ^
/components/micropython-component/micropython/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
/components/micropython-component/micropython/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;
            ^
/components/micropython-component/micropython/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;
                ^
/components/micropython-component/micropython/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;
                    ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:94:29: error: 'rchild' undeclared (first use in this function); did you mean 'rewind'?
  PAGE *h, *l, *r, *lchild, *rchild;
                             ^~~~~~
                             rewind
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:95:2: error: unknown type name 'indx_t'; did you mean 'ino_t'?
  indx_t nxtindex;
  ^~~~~~
  ino_t
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:100:2: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
  pgno_t pg_tmp;
  ^~~~~~
  ino_t
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:109:8: error: invalid type argument of '->' (have 'int')
  h = sp->pgno == P_ROOT ?
        ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:110:6: warnin implicit declaration of function 'bt_root' [-Wimplicit-function-declaration]
      bt_root(t, sp, &l, &r, &skip, ilen) :
      ^~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:111:6: warnin implicit declaration of function 'bt_page' [-Wimplicit-function-declaration]
      bt_page(t, sp, &l, &r, &skip, ilen);
      ^~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:113:11: error: 'RET_ERROR' undeclared (first use in this function)
   return (RET_ERROR);
           ^~~~~~~~~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/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))
                           ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:121:6: note: in expansion of macro 'F_ISSET'
  if (F_ISSET(t, R_RECNO))
      ^~~~~~~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:229:24: error: request for member 'size' in something not a structure or union
  *(u_int32_t *)p = data->size;     \
                        ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF'
   WR_RLEAF(dest, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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);    \
                 ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF'
   WR_RLEAF(dest, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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);    \
                             ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:122:3: note: in expansion of macro 'WR_RLEAF'
   WR_RLEAF(dest, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:198:23: error: request for member 'size' in something not a structure or union
  *(u_int32_t *)p = key->size;     \
                       ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:200:24: error: request for member 'size' in something not a structure or union
  *(u_int32_t *)p = data->size;     \
                        ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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);    \
                ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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);    \
                           ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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;       \
          ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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);    \
                 ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/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);    \
                             ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:124:3: note: in expansion of macro 'WR_BLEAF'
   WR_BLEAF(dest, key, data, flags)
   ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:127:8: error: invalid type argument of '->' (have 'int')
  if (sp->pgno == P_ROOT &&
        ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/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))
                           ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:128:7: note: in expansion of macro 'F_ISSET'
      (F_ISSET(t, R_RECNO) ?
       ^~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:129:6: warnin implicit declaration of function 'bt_rroot' [-Wimplicit-function-declaration]
      bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
      ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:129:30: warnin implicit declaration of function 'bt_broot' [-Wimplicit-function-declaration]
      bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
                              ^~~~~~~~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:324:23: error: 'BTREE' {aka 'struct _btree'} has no member named 'bt_sp'; did you mean 'bt_mp'?
 #define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp)
                       ^~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:155:19: note: in expansion of macro 'BT_POP'
  while ((parent = BT_POP(t)) != NULL) {
                   ^~~~~~
/components/micropython-component/micropython/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)
                                 ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:155:19: note: in expansion of macro 'BT_POP'
  while ((parent = BT_POP(t)) != NULL) {
                   ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:324:58: error: 'BTREE' {aka 'struct _btree'} has no member named 'bt_sp'; did you mean 'bt_mp'?
 #define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp)
                                                          ^~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:155:19: note: in expansion of macro 'BT_POP'
  while ((parent = BT_POP(t)) != NULL) {
                   ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:160:12: warnin implicit declaration of function 'mpool_get'; did you mean 'mpool_error'? [-Wimplicit-function-declaration]
   if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
            ^~~~~~~~~
            mpool_error
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:140:36: error: 'pgno_t' undeclared (first use in this function); did you mean 'ino_t'?
  LALIGN(sizeof(u_int32_t) + sizeof(pgno_t) + sizeof(u_char) + (len))
                                    ^~~~~~
/components/micropython-component/micropython/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))
                      ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:186:13: note: in expansion of macro 'NBINTERNAL'
    nbytes = NBINTERNAL(bi->ksize);
             ^~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:191:11: error: 'BTREE' {aka 'struct _btree'} has no member named 'bt_pfx'; did you mean 'bt_mp'?
    if (t->bt_pfx && !(bl->flags & P_BIGKEY) &&
           ^~~~~~
           bt_mp
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function); did you mean 'ino_t'?
      sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t))
                                 ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:186:39: note: in definition of macro 'GETBLEAF'
  ((BLEAF *)((char *)(pg) + (pg)->linp[indx]))
                                       ^~~~
/components/micropython-component/micropython/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))
                                     ^~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:193:28: note: in expansion of macro 'NEXTINDEX'
     tbl = GETBLEAF(lchild, NEXTINDEX(lchild) - 1);
                            ^~~~~~~~~
/components/micropython-component/micropython/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;
      ^
/components/micropython-component/micropython/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;
      ^
/components/micropython-component/micropython/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;
      ^
/components/micropython-component/micropython/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;
      ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:198:17: error: 'BTREE' {aka 'struct _btree'} has no member named 'bt_pfx'; did you mean 'bt_mp'?
     nksize = t->bt_pfx(&a, &b);
                 ^~~~~~
                 bt_mp
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:167:16: error: 'recno_t' undeclared (first use in this function); did you mean 'ino_t'?
  LALIGN(sizeof(recno_t) + sizeof(pgno_t))
                ^~~~~~~
/components/micropython-component/micropython/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))
                      ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:212:13: note: in expansion of macro 'NRINTERNAL'
    nbytes = NRINTERNAL;
             ^~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:146:12: error: expected expression before ')' token
  *(pgno_t *)p = pgno;      \
            ^
/components/micropython-component/micropython/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,
    ^~~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:252:8: warnin implicit declaration of function 'bt_preserve' [-Wimplicit-function-declaration]
        bt_preserve(t, pg_tmp) == RET_ERROR)
        ^~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:264:33: warnin implicit declaration of function 'rec_total' [-Wimplicit-function-declaration]
    ((RINTERNAL *)dest)->nrecs = rec_total(lchild);
                                 ^~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:297:4: warnin implicit declaration of function 'mpool_put'; did you mean 'mpool_error'? [-Wimplicit-function-declaration]
    mpool_put(t->bt_mp, h, MPOOL_DIRTY);
    ^~~~~~~~~
    mpool_error
/components/micropython-component/micropython/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);
                           ^~~~~~~~~~~
/components/micropython-component/micropython/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 /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/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))
                           ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:303:8: note: in expansion of macro 'F_ISSET'
       (F_ISSET(t, R_RECNO) ?
        ^~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:316:10: error: 'RET_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'?
  return (RET_SUCCESS);
          ^~~~~~~~~~~
          EXIT_SUCCESS
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:328:2: warnin implicit declaration of function '__dbpanic' [-Wimplicit-function-declaration]
  __dbpanic(t->bt_dbp);
  ^~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: At top level:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:346:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static PAGE *
             ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:349:2: error: unknown type name 'PAGE'
  PAGE *h, **lp, **rp;
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:350:2: error: unknown type name 'indx_t'; did you mean 'ino_t'?
  indx_t *skip;
  ^~~~~~
  ino_t
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:352:1: error: expected identifier or '(' before '{' token
 {
 ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:451:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static PAGE *
             ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:454:2: error: unknown type name 'PAGE'
  PAGE *h, **lp, **rp;
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:455:2: error: unknown type name 'indx_t'; did you mean 'ino_t'?
  indx_t *skip;
  ^~~~~~
  ino_t
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:457:1: error: expected identifier or '(' before '{' token
 {
 ^
/components/micropython-component/micropython/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)
 ^~~~~~~~
/components/micropython-component/micropython/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)
      ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: In function 'bt_rroot':
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:501:2: error: expected declaration specifiers before 'PAGE'
  PAGE *h, *l, *r;
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:499:1: warnin type of 'h' defaults to 'int' [-Wimplicit-int]
 bt_rroot(t, h, l, r)
 ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:499:1: warnin type of 'l' defaults to 'int' [-Wimplicit-int]
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:499:1: warnin type of 'r' defaults to 'int' [-Wimplicit-int]
/components/micropython-component/micropython/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;
   ^~
/components/micropython-component/micropython/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;
                ^~
/components/micropython-component/micropython/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;
                           ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:167:16: error: 'recno_t' undeclared (first use in this function); did you mean 'ino_t'?
  LALIGN(sizeof(recno_t) + sizeof(pgno_t))
                ^~~~~~~
/components/micropython-component/micropython/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))
                      ^
/components/micropython-component/micropython/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;
                                        ^~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:167:34: error: 'pgno_t' undeclared (first use in this function); did you mean 'ino_t'?
  LALIGN(sizeof(recno_t) + sizeof(pgno_t))
                                  ^~~~~~
/components/micropython-component/micropython/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))
                      ^
/components/micropython-component/micropython/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;
                                        ^~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:507:22: error: invalid type argument of '->' (have 'int')
  dest = (char *)h + h->upper;
                      ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:171:13: error: expected expression before ')' token
  *(recno_t *)p = nrecs;      \
             ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:508:2: note: in expansion of macro 'WR_RINTERNAL'
  WR_RINTERNAL(dest,
  ^~~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:173:12: error: expected expression before ')' token
  *(pgno_t *)p = pgno;      \
            ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:508:2: note: in expansion of macro 'WR_RINTERNAL'
  WR_RINTERNAL(dest,
  ^~~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:511:3: error: invalid type argument of '->' (have 'int')
  h->linp[1] = h->upper -= NRINTERNAL;
   ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:511:16: error: invalid type argument of '->' (have 'int')
  h->linp[1] = h->upper -= NRINTERNAL;
                ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:512:22: error: invalid type argument of '->' (have 'int')
  dest = (char *)h + h->upper;
                      ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:171:13: error: expected expression before ')' token
  *(recno_t *)p = nrecs;      \
             ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:513:2: note: in expansion of macro 'WR_RINTERNAL'
  WR_RINTERNAL(dest,
  ^~~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:173:12: error: expected expression before ')' token
  *(pgno_t *)p = pgno;      \
            ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:513:2: note: in expansion of macro 'WR_RINTERNAL'
  WR_RINTERNAL(dest,
  ^~~~~~~~~~~~
/components/micropython-component/micropython/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);
   ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function); did you mean 'ino_t'?
      sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t))
                                 ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:516:13: note: in expansion of macro 'BTDATAOFF'
  h->lower = BTDATAOFF + 2 * sizeof(indx_t);
             ^~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:519:3: error: invalid type argument of '->' (have 'int')
  h->flags &= ~P_TYPE;
   ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:520:3: error: invalid type argument of '->' (have 'int')
  h->flags |= P_RINTERNAL;
   ^~
/components/micropython-component/micropython/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);
                         ^~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:523:10: error: 'RET_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'?
  return (RET_SUCCESS);
          ^~~~~~~~~~~
          EXIT_SUCCESS
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: At top level:
/components/micropython-component/micropython/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)
 ^~~~~~~~
/components/micropython-component/micropython/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)
                              ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: In function 'bt_broot':
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:541:2: error: expected declaration specifiers before 'PAGE'
  PAGE *h, *l, *r;
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:539:1: warnin type of 'h' defaults to 'int' [-Wimplicit-int]
 bt_broot(t, h, l, r)
 ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:539:1: warnin type of 'l' defaults to 'int' [-Wimplicit-int]
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:539:1: warnin type of 'r' defaults to 'int' [-Wimplicit-int]
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:547:2: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
  pgno_t pg_tmp;
  ^~~~~~
  ino_t
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:140:36: error: 'pgno_t' undeclared (first use in this function); did you mean 'ino_t'?
  LALIGN(sizeof(u_int32_t) + sizeof(pgno_t) + sizeof(u_char) + (len))
                                    ^~~~~~
/components/micropython-component/micropython/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))
                      ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:557:11: note: in expansion of macro 'NBINTERNAL'
  nbytes = NBINTERNAL(0);
           ^~~~~~~~~~
/components/micropython-component/micropython/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;
   ^~
/components/micropython-component/micropython/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;
                ^~
/components/micropython-component/micropython/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;
                           ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:559:22: error: invalid type argument of '->' (have 'int')
  dest = (char *)h + h->upper;
                      ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:146:12: error: expected expression before ')' token
  *(pgno_t *)p = pgno;      \
            ^
/components/micropython-component/micropython/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);
  ^~~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:562:11: error: invalid type argument of '->' (have 'int')
  switch (h->flags & P_TYPE) {
           ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:186:32: error: invalid type argument of '->' (have 'int')
  ((BLEAF *)((char *)(pg) + (pg)->linp[indx]))
                                ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:564:8: note: in expansion of macro 'GETBLEAF'
   bl = GETBLEAF(r, 0);
        ^~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:566:4: error: invalid type argument of '->' (have 'int')
   h->linp[1] = h->upper -= nbytes;
    ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:566:17: error: invalid type argument of '->' (have 'int')
   h->linp[1] = h->upper -= nbytes;
                 ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:567:23: error: invalid type argument of '->' (have 'int')
   dest = (char *)h + h->upper;
                       ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:146:12: error: expected expression before ')' token
  *(pgno_t *)p = pgno;      \
            ^
/components/micropython-component/micropython/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);
   ^~~~~~~~~~~~
/components/micropython-component/micropython/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)
                                 ^~~~~~~~~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:136:36: error: invalid type argument of '->' (have 'int')
  ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
                                    ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:582:8: note: in expansion of macro 'GETBINTERNAL'
   bi = GETBINTERNAL(r, 0);
        ^~~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:584:4: error: invalid type argument of '->' (have 'int')
   h->linp[1] = h->upper -= nbytes;
    ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:584:17: error: invalid type argument of '->' (have 'int')
   h->linp[1] = h->upper -= nbytes;
                 ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:585:23: error: invalid type argument of '->' (have 'int')
   dest = (char *)h + h->upper;
                       ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:587:32: error: invalid type argument of '->' (have 'int')
   ((BINTERNAL *)dest)->pgno = r->pgno;
                                ^~
/components/micropython-component/micropython/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);
   ^~
In file included from /components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:49:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/btree.h:94:33: error: 'indx_t' undeclared (first use in this function); did you mean 'ino_t'?
      sizeof(u_int32_t) + sizeof(indx_t) + sizeof(indx_t))
                                 ^~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:594:13: note: in expansion of macro 'BTDATAOFF'
  h->lower = BTDATAOFF + 2 * sizeof(indx_t);
             ^~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:597:3: error: invalid type argument of '->' (have 'int')
  h->flags &= ~P_TYPE;
   ^~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:598:3: error: invalid type argument of '->' (have 'int')
  h->flags |= P_BINTERNAL;
   ^~
/components/micropython-component/micropython/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);
                         ^~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:601:10: error: 'RET_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'?
  return (RET_SUCCESS);
          ^~~~~~~~~~~
          EXIT_SUCCESS
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: At top level:
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:618:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static PAGE *
             ^
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:621:2: error: unknown type name 'PAGE'
  PAGE *h, *l, *r;
  ^~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:622:2: error: unknown type name 'indx_t'; did you mean 'ino_t'?
  indx_t *pskip;
  ^~~~~~
  ino_t
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:624:1: error: expected identifier or '(' before '{' token
 {
 ^
/components/micropython-component/micropython/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)
 ^~~~~~~~~~~
/components/micropython-component/micropython/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)
        ^~~~~~~~~~~
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c: In function 'bt_preserve':
/components/micropython-component/micropython/lib/berkeley-db-1.xx/btree/bt_split.c:799:2: error: unknown type name 'pgno_t'; did you mean 'ino_t'?
  pgno_t pg;
  ^~~~~~
  ino_t
....

[642/1463] Performing configure step for 'bootloader'
-- Found Git: /esp_tools/Espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
fatal: detected dubious ownership in repository at '/esp_idf'
'/esp_idf' is owned by:
        'S-1-5-32-544'
but the current user is:
        'S-1-5-21-3206630998-4230790321-3591383506-1001'
		
		To add an exception for this directory, call:

        git config --global --add safe.directory /esp_idf
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /esp_tools/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /esp_tools/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /esp_tools/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- DEBU Use esp-modbus component folder: /esp_idf/components/freemodbus.
-- Project sdkconfig file /sdkconfig
-- Adding linker script /esp_idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script /esp_idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /esp_idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /esp_idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /esp_idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /esp_idf/components/esp_rom/esp32/ld/esp32.rom.eco3.ld
-- Adding linker script /esp_idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /esp_idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /esp_idf/components/bootloader /esp_idf/components/bootloader_support /esp_idf/components/efuse /esp_idf/components/esp32 /esp_idf/components/esp_common /esp_idf/components/esp_hw_support /esp_idf/components/esp_rom /esp_idf/components/esp_system /esp_idf/components/esptool_py /esp_idf/components/freertos /esp_idf/components/hal /esp_idf/components/log /esp_idf/components/bootloader/subproject/main /esp_idf/components/bootloader/subproject/components/micro-ecc /esp_idf/components/newlib /esp_idf/components/partition_table /esp_idf/components/soc /esp_idf/components/spi_flash /esp_idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /build/bootloader
ninja: build stopped: subcommand failed.
ninja failed with exit code 1


MicroController
Posts: 1709
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: berkeley-db-1.xx error

Postby MicroController » Fri May 12, 2023 2:54 pm

Looks like there is something wrong in "/components/micropython-component/micropython/lib/berkeley-db-1.xx/PORT/include/db.h".
Can you see if the file looks like a valid C header file?

hp26_esp32
Posts: 5
Joined: Wed Jun 17, 2020 6:28 am

Re: berkeley-db-1.xx error

Postby hp26_esp32 » Fri May 12, 2023 6:34 pm

The file looks file.

Code: Select all


/*-
 * Copyright (c) 1990, 1993, 1994
 *	The Regents of the University of California.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *	This product includes software developed by the University of
 *	California, Berkeley and its contributors.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 *	@(#)db.h	8.7 (Berkeley) 6/16/94
 */

#ifndef _DB_H_
#define	_DB_H_

#include <sys/types.h>
#include <sys/cdefs.h>

#include <limits.h>

#include <filevtable.h>
#ifdef __DBINTERFACE_PRIVATE
#include <compat.h>
#endif

#define	RET_ERROR	-1		/* Return values. */
#define	RET_SUCCESS	 0
#define	RET_SPECIAL	 1

#ifndef	__BIT_TYPES_DEFINED__
#define	__BIT_TYPES_DEFINED__
typedef	__signed char		   int8_t;
typedef	unsigned char		 u_int8_t;
typedef	short			  int16_t;
typedef	unsigned short		u_int16_t;
typedef	int			  int32_t;
typedef	unsigned int		u_int32_t;
#ifdef WE_DONT_NEED_QUADS
typedef	long long		  int64_t;
typedef	unsigned long long	u_int64_t;
#endif
#endif

#define	MAX_PAGE_NUMBER	0xffffffff	/* >= # of pages in a file */
typedef u_int32_t	pgno_t;
#define	MAX_PAGE_OFFSET	65535		/* >= # of bytes in a page */
typedef u_int16_t	indx_t;
#define	MAX_REC_NUMBER	0xffffffff	/* >= # of records in a tree */
typedef u_int32_t	recno_t;

/* Key/data structure -- a Data-Base Thang. */
typedef struct {
	void	*data;			/* data */
	size_t	 size;			/* data length */
} DBT;

/* Routine flags. */
#define	R_CURSOR	1		/* del, put, seq */
#define	__R_UNUSED	2		/* UNUSED */
#define	R_FIRST		3		/* seq */
#define	R_IAFTER	4		/* put (RECNO) */
#define	R_IBEFORE	5		/* put (RECNO) */
#define	R_LAST		6		/* seq (BTREE, RECNO) */
#define	R_NEXT		7		/* seq */
#define	R_NOOVERWRITE	8		/* put */
#define	R_PREV		9		/* seq (BTREE, RECNO) */
#define	R_SETCURSOR	10		/* put (RECNO) */
#define	R_RECNOSYNC	11		/* sync (RECNO) */

typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE;

/*
 * !!!
 * The following flags are included in the dbopen(3) call as part of the
 * open(2) flags.  In order to avoid conflicts with the open flags, start
 * at the top of the 16 or 32-bit number space and work our way down.  If
 * the open flags were significantly expanded in the future, it could be
 * a problem.  Wish I'd left another flags word in the dbopen call.
 *
 * !!!
 * None of this stuff is implemented yet.  The only reason that it's here
 * is so that the access methods can skip copying the key/data pair when
 * the DB_LOCK flag isn't set.
 */
#if UINT_MAX > 65535
#define	DB_LOCK		0x20000000	/* Do locking. */
#define	DB_SHMEM	0x40000000	/* Use shared memory. */
#define	DB_TXN		0x80000000	/* Do transactions. */
#else
#define	DB_LOCK		    0x2000	/* Do locking. */
#define	DB_SHMEM	    0x4000	/* Use shared memory. */
#define	DB_TXN		    0x8000	/* Do transactions. */
#endif

/* Access method description structure. */
typedef struct __db {
	DBTYPE type;			/* Underlying db type. */
	int (*close)	__P((struct __db *));
	int (*del)	__P((const struct __db *, const DBT *, u_int));
	int (*get)	__P((const struct __db *, const DBT *, DBT *, u_int));
	int (*put)	__P((const struct __db *, DBT *, const DBT *, u_int));
	int (*seq)	__P((const struct __db *, DBT *, DBT *, u_int));
	int (*sync)	__P((const struct __db *, u_int));
	void *internal;			/* Access method private. */
	int (*fd)	__P((const struct __db *));
} DB;

#define	BTREEMAGIC	0x053162
#define	BTREEVERSION	3

/* Structure used to pass parameters to the btree routines. */
typedef struct {
#define	R_DUP		0x01	/* duplicate keys */
	u_long	flags;
	u_int	cachesize;	/* bytes to cache */
	int	maxkeypage;	/* maximum keys per page */
	int	minkeypage;	/* minimum keys per page */
	u_int	psize;		/* page size */
	int	(*compare)	/* comparison function */
	    __P((const DBT *, const DBT *));
	size_t	(*prefix)	/* prefix function */
	    __P((const DBT *, const DBT *));
	int	lorder;		/* byte order */
} BTREEINFO;

#define	HASHMAGIC	0x061561
#define	HASHVERSION	2

/* Structure used to pass parameters to the hashing routines. */
typedef struct {
	u_int	bsize;		/* bucket size */
	u_int	ffactor;	/* fill factor */
	u_int	nelem;		/* number of elements */
	u_int	cachesize;	/* bytes to cache */
	u_int32_t		/* hash function */
		(*hash) __P((const void *, size_t));
	int	lorder;		/* byte order */
} HASHINFO;

/* Structure used to pass parameters to the record routines. */
typedef struct {
#define	R_FIXEDLEN	0x01	/* fixed-length records */
#define	R_NOKEY		0x02	/* key not required */
#define	R_SNAPSHOT	0x04	/* snapshot the input */
	u_long	flags;
	u_int	cachesize;	/* bytes to cache */
	u_int	psize;		/* page size */
	int	lorder;		/* byte order */
	size_t	reclen;		/* record length (fixed-length records) */
	u_char	bval;		/* delimiting byte (variable-length records */
	char	*bfname;	/* btree file name */ 
} RECNOINFO;

#ifdef __DBINTERFACE_PRIVATE
/*
 * Little endian <==> big endian 32-bit swap macros.
 *	M_32_SWAP	swap a memory location
 *	P_32_SWAP	swap a referenced memory location
 *	P_32_COPY	swap from one location to another
 */
#define	M_32_SWAP(a) {							\
	u_int32_t _tmp = a;						\
	((char *)&a)[0] = ((char *)&_tmp)[3];				\
	((char *)&a)[1] = ((char *)&_tmp)[2];				\
	((char *)&a)[2] = ((char *)&_tmp)[1];				\
	((char *)&a)[3] = ((char *)&_tmp)[0];				\
}
#define	P_32_SWAP(a) {							\
	u_int32_t _tmp = *(u_int32_t *)a;				\
	((char *)a)[0] = ((char *)&_tmp)[3];				\
	((char *)a)[1] = ((char *)&_tmp)[2];				\
	((char *)a)[2] = ((char *)&_tmp)[1];				\
	((char *)a)[3] = ((char *)&_tmp)[0];				\
}
#define	P_32_COPY(a, b) {						\
	((char *)&(b))[0] = ((char *)&(a))[3];				\
	((char *)&(b))[1] = ((char *)&(a))[2];				\
	((char *)&(b))[2] = ((char *)&(a))[1];				\
	((char *)&(b))[3] = ((char *)&(a))[0];				\
}

/*
 * Little endian <==> big endian 16-bit swap macros.
 *	M_16_SWAP	swap a memory location
 *	P_16_SWAP	swap a referenced memory location
 *	P_16_COPY	swap from one location to another
 */
#define	M_16_SWAP(a) {							\
	u_int16_t _tmp = a;						\
	((char *)&a)[0] = ((char *)&_tmp)[1];				\
	((char *)&a)[1] = ((char *)&_tmp)[0];				\
}
#define	P_16_SWAP(a) {							\
	u_int16_t _tmp = *(u_int16_t *)a;				\
	((char *)a)[0] = ((char *)&_tmp)[1];				\
	((char *)a)[1] = ((char *)&_tmp)[0];				\
}
#define	P_16_COPY(a, b) {						\
	((char *)&(b))[0] = ((char *)&(a))[1];				\
	((char *)&(b))[1] = ((char *)&(a))[0];				\
}
#endif

__BEGIN_DECLS
DB *dbopen __P((const char *, int, int, DBTYPE, const void *));

#ifdef __DBINTERFACE_PRIVATE
DB	*__bt_open __P((virt_fd_t, const FILEVTABLE *, const BTREEINFO *, int));
DB	*__hash_open __P((const char *, int, int, const HASHINFO *, int));
DB	*__rec_open __P((const char *, int, int, const RECNOINFO *, int));
void	 __dbpanic __P((DB *dbp));
#endif
__END_DECLS
#endif /* !_DB_H_ */



Who is online

Users browsing this forum: Baidu [Spider], snutw_ and 87 guests