Subject: Re: Sendmail 8.11.0 problem
To: Robert Elz <kre@munnari.OZ.AU>
From: None <itojun@iijlab.net>
List: tech-pkg
Date: 08/20/2000 09:09:55
>  | 	when compiled for dbm (-DNDBM in sendmail compilation), sendmail 8.11.0
>  | 	tries to use dbm_pagfno().  NetBSD does not supply the function
>  | 	(/usr/include/ndbm.h disables it by a #define)
>You must have _XOPEN_SOURCE defined somewhere, I don't think that is the
>default (but I haven't tried to make sendmail 8.11 on a NetBSD-current)

	could be, but anyway, we don't seem to have dbm_pagfno() in netbsd.

itojun


#if !defined(_XOPEN_SOURCE)
#define dbm_pagfno(a)   DBM_PAGFNO_NOT_AVAILABLE
#endif

	and

% nm /usr/lib/libc.a |grep dbm
ndbm.o:
00000238 T _dbm_clearerr
000000cc T _dbm_close
000001a0 T _dbm_delete
00000250 T _dbm_dirfno
00000224 T _dbm_error
000000dc T _dbm_fetch
00000128 T _dbm_firstkey
00000164 T _dbm_nextkey
00000040 T _dbm_open
000001d8 T _dbm_store