Using pkgsrc-2006Q4 on Darwin, I get the following (attached) linking errors when building mail/nmh. Any suggestions? Is there any more useful info that I can provide? -Oliver
=> Required installed package digest>=20010302: digest-20060826 found ===> Checking for vulnerabilities in nmh-1.0.4nb7 => Checksum SHA1 OK for nmh-1.0.4.tar.gz => Checksum RMD160 OK for nmh-1.0.4.tar.gz ===> Building for nmh-1.0.4nb7 for subdir in h config sbr zotnet mts uip etc man; do (cd $subdir && /usr/pkg/bin/bmake CC='gcc -pipe' CPPFLAGS='-no-cpp-precomp' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O2 -O1' LDFLAGS='-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/sbin/sendmail' default_editor='vi' default_pager='more' all) || exit 1; done for subdir in mts tws mf bboards; do (cd $subdir && /usr/pkg/bin/bmake CC='gcc -pipe' CPPFLAGS='-no-cpp-precomp' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O2 -O1' LDFLAGS='-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/sbin/sendmail' default_editor='vi' default_pager='more' all) || exit 1; done for subdir in smtp; do (cd $subdir && /usr/pkg/bin/bmake CC='gcc -pipe' CPPFLAGS='-no-cpp-precomp' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O2 -O1' LDFLAGS='-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/sbin/sendmail' default_editor='vi' default_pager='more' all) || exit 1; done gcc -pipe -L/usr/pkg/lib -o fmtdump fmtdump.o ../config/version.o ../config/config.o ../sbr/libmh.a ../mts/smtp/libsmtp.a ../zotnet/libzot.a /usr/bin/ld: warning multiple definitions of symbol _strncasecmp ../sbr/libmh.a(strcasecmp.o) definition of _strncasecmp in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib(strcasecmp.So) definition of _strncasecmp /usr/bin/ld: warning multiple definitions of symbol _strcasecmp ../sbr/libmh.a(strcasecmp.o) definition of _strcasecmp in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib(strcasecmp.So) definition of _strcasecmp /usr/bin/ld: Undefined symbols: _fmt_mnull collect2: ld returned 1 exit status [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was: /Volumes/absolute-pkgsrc/pkgsrc/mail/nmh/work/.gcc/bin/gcc -pipe -L/Volumes/absolute-pkgsrc/pkgsrc/mail/nmh/work/.buildlink/lib -o fmtdump fmtdump.o ../config/version.o ../config/config.o ../sbr/libmh.a ../mts/smtp/libsmtp.a ../zotnet/libzot.a -I/Volumes/absolute-pkgsrc/pkgsrc/mail/nmh/work/.buildlink/include *** Error code 1 Stop. bmake: stopped in /Volumes/absolute-pkgsrc/pkgsrc/mail/nmh/work/nmh-1.0.4/uip *** Error code 1 Stop. bmake: stopped in /Volumes/absolute-pkgsrc/pkgsrc/mail/nmh/work/nmh-1.0.4 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/nmh *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/nmh
Attachment:
pgpbibc1QTQez.pgp
Description: PGP signature