Subject: pkgsrc package mail/exmh broken
To: None <tech-pkg@netbsd.org>
From: A. L. Meyers <almeyers@consult-meyers.com>
List: tech-pkg
Date: 03/07/2004 09:26:45
Good morning,

Doing "bmake" or "bmake -B" in the exmh source directory consistently
produces the following error and does not complete compilation:

for subdir in mts tws mf bboards; do  (cd $subdir && /usr/pkg/bin/bmake CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H'  CFLAGS='-O2 -march=pentiumpro -pipe' LDFLAGS='-Wl,-R/usr/pkg/lib -L/usr/pkg/lib' LIBS=''  prefix='/usr/pkg' exec_prefix='/usr/pkg' bindir='/usr/pkg/bin'  etcdir='/usr/pkg/etc/nmh' libdir='/usr/pkg/libexec/nmh' mandir='/usr/pkg/man'  mailspool='/var/mail' sendmailpath='/usr/lib/sendmail'  default_editor='vi' default_pager='more' all) || exit 1;  done
for subdir in smtp; do  (cd $subdir && /usr/pkg/bin/bmake CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H'  CFLAGS='-O2 -march=pentiumpro -pipe' LDFLAGS='-Wl,-R/usr/pkg/lib -L/usr/pkg/lib' LIBS=''  prefix='/usr/pkg' exec_prefix='/usr/pkg' bindir='/usr/pkg/bin'  etcdir='/usr/pkg/etc/nmh' libdir='/usr/pkg/libexec/nmh' mandir='/usr/pkg/man'  mailspool='/var/mail' sendmailpath='/usr/lib/sendmail'  default_editor='vi' default_pager='more' all) || exit 1;  done
gcc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o slocal slocal.o aliasbr.o dropsbr.o ../config/version.o ../config/config.o ../sbr/libmh.a ../mts/smtp/libsmtp.a ../zotnet/libzot.a
../sbr/libmh.a(lock_file.o)(.text+0x37b): In function `lockname':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
slocal.o(.text+0x2589): In function `suppress_duplicates':
: undefined reference to `dbm_open'
slocal.o(.text+0x25ea): In function `suppress_duplicates':
: undefined reference to `dbm_fetch'
slocal.o(.text+0x2613): In function `suppress_duplicates':
: undefined reference to `dbm_close'
slocal.o(.text+0x26b0): In function `suppress_duplicates':
: undefined reference to `dbm_store'
collect2: ld returned 1 exit status
*** Error code 1

Please let me know if you require additional information.

Thanks and best regards,

Lux
-- 
If you receive this by error, please delete it and inform the sender.
Key fingerprint: 8994 CFDD 9C60 C978 A488 689F 5DCC EFC4 4D36 580D
To Big Brother Echelon from "spook":
Ft. Meade explosion Ortega ihwan NSA Somalia Peshawar class struggle spy