Subject: Re: -current build: sendmail -> undefined reference to `__unsetenv13'
To: Hubert Feyrer <>
From: Luke Mewburn <>
List: current-users
Date: 04/10/2003 11:34:30
On Wed, Apr 09, 2003 at 06:35:24PM +0200, Hubert Feyrer wrote:
  | Building -current/i386, I get:
  | 	all ===> gnu/usr.sbin/sendmail/sendmail
  | 	/usr/cvs/src-current/tools/obj.i386/tools.NetBSD-1.6Q-i386/bin/i386--netbsdelf-gcc
  | 	-o sendmail -nostdlib  -Wl,-rpath-link,/lib:/usr/lib  -L/lib
  | 	/usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o alias.o arpadate.o
  | 	bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o
  | 	envelope.o err.o headers.o macro.o main.o map.o mci.o milter.o mime.o
  | 	parseaddr.o queue.o readcf.o recipient.o sasl.o savemail.o sfsasl.o
  | 	shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o
  | 	tls.o trace.o udb.o usersmtp.o util.o version.o -lwrap
  | 	-L/usr/cvs/src-current/gnu/usr.sbin/sendmail/libsmutil/obj.i386 -lsmutil
  | 	-L/usr/cvs/src-current/gnu/usr.sbin/sendmail/libsm/obj.i386 -lsm -lutil
  | 	-lssl -lcrypto -L/usr/lib  -lgcc -lc -lgcc /usr/lib/crtend.o
  | 	/usr/lib/crtn.o
  | 	main.o: In function `main':
  | 	main.o(.text+0x2706): undefined reference to `__unsetenv13'
  | 	main.o(.text+0x2b17): undefined reference to `__unsetenv13'
  | 	collect2: ld returned 1 exit status
  | 	*** Error code 1
  | grep doesn't find unsetenv13 in src/BUILDING or src/UPDATING.
  | What's the right fix here?

Wasn't sendmail removed from the tree a couple of weeks ago?
Update your sources and try again.