K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2013-08-01T20:10:57.384425Z
K 7
svn:log
V 1017
ckpasswd:  use Berkeley DB ndbm compatibility layer first

On a few systems like Fedora 18 ppc64, the GNU dbm library
shipped as ndbm.h is not usable.

ckpasswd.c: In function 'password_dbm':
ckpasswd.c:165:5: warning: passing argument 1 of 'dbm_open' discards 'const' qualifier from pointer target type [enabled by default]
     database = dbm_open(file, O_RDONLY, 0600);
     ^
In file included from ckpasswd.c:30:0:
/usr/include/ndbm.h:55:14: note: expected 'char *' but argument is of type 'const char *'
 extern DBM  *dbm_open (char *file, int flags, int mode);
              ^
ckpasswd.o: In function `password_dbm':
/home/iulius/autobuild/inn/authprogs/ckpasswd.c:165: undefined reference to `dbm_open'
/home/iulius/autobuild/inn/authprogs/ckpasswd.c:170: undefined reference to `dbm_fetch'
/home/iulius/autobuild/inn/authprogs/ckpasswd.c:177: undefined reference to `dbm_close'
/home/iulius/autobuild/inn/authprogs/ckpasswd.c:172: undefined reference to `dbm_close'
collect2: error: ld returned 1 exit status

END
