configure: WARNING: unrecognized options: --enable-bdb, --enable-hdb
configure: WARNING: unrecognized options: --enable-bdb, --enable-hdb
In file included from passwd.c:38:
../../include/ac/crypt.h:26:23: error: conflicting types for ‘crypt’; have ‘char *(void)’
   26 |         extern char *(crypt)();
      |                       ^~~~~
In file included from ../../include/ac/unistd.h:25,
                 from passwd.c:34:
/usr/include/unistd.h:1162:14: note: previous declaration of ‘crypt’ with type ‘char *(const char *, const char *)’
 1162 | extern char *crypt (const char *__key, const char *__salt)
      |              ^~~~~
passwd.c: In function ‘lutil_crypt’:
passwd.c:627:20: error: too many arguments to function ‘crypt’; expected 0, have 2
  627 |         char *cr = crypt( key, salt );
      |                    ^~~~~  ~~~
../../include/ac/crypt.h:26:23: note: declared here
   26 |         extern char *(crypt)();
      |                       ^~~~~
make[2]: *** [: passwd.o] Error 1
make[1]: *** [Makefile:311: all-common] Error 1
make: *** [Makefile:319: all-common] Error 1
Traceback (most recent call last):
  File "/var/pisi/openldap/actions.py", line 93, in build
    autotools.make("-j1")
  File "/usr/lib/pisilinux/pisi/actionsapi/autotools.py", line 103, in make
    if system('make %s %s' % (get.makeJOBS(), parameters)):
  File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "make -j5 -j1" failed, return value was 2.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.