*BSD News Article 18215


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!news.weeg.uiowa.edu!jboggs
From: jboggs@news.weeg.uiowa.edu (John D. Boggs)
Subject: Multiply defined symbols when linking elm
Message-ID: <1993Jul10.184810.7635@news.weeg.uiowa.edu>
Lines: 25
Reply-To: jdb@erato.iowa-city.ia.us
Organization: University of Iowa, Iowa City, IA, USA
Date: Sat, 10 Jul 1993 18:48:10 GMT

gcc  -o ../bin/elm addr_util.o	 alias.o		 aliaslib.o	 args.o		 a_edit.o	 a_screen.o	 a_sort.o	 a_quit.o	 bouncebk.o	 builtin.o	 calendar.o	 curses.o	 date.o		 delete.o	 edit.o		 editmsg.o	 elm.o		 encode.o	 exitprog.o	 expires.o	 file.o		 file_util.o	 fileio.o	 find_alias.o	 forms.o		 hdrconfg.o	 help.o		 in_utils.o	 init.o		 leavembox.o	 lock.o		 limit.o		 mailmsg1.o	 mailmsg2.o	 mime.o		 mkhdrs.o	 newmbox.o	 options.o	 out_utils.o	 pattern.o	 pmalloc.o	 quit.o		 read_rc.o	 remail.o	 reply.o		 retur




	 save_opts.o	 savecopy.o	 screen.o	 showmsg.o	 showmsg_c.o	 signals.o	 softkeys.o	 sort.o		 string2.o	 strings.o	 syscall.o	 utils.o		 wildcards.o	 wordwrap.o ../lib/libutil.a -ltermlib  
opt_utils.o: Definition of symbol _tolower (multiply defined)
opt_utils.o: Definition of symbol _toupper (multiply defined)
isctype.o: Definition of symbol _tolower (multiply defined)
isctype.o: Definition of symbol _toupper (multiply defined)
*** Error code 1

Stop.
*** Error code 1

Stop.


This is what elm does to me when I try to make it.  Toupper and tolower are
undefined all over the distribution, supposedly to prevent this very error.

Does anyone know what I can do to fix this?  I feel like I am *that* close
to getting elm to run on my machine, after which my life will be complete.

-John     jdb@erato.iowa-city.ia.us
-- 
John D. Boggs     jdb@erato.iowa-city.ia.us
                  or  ...!access1!erato!jdb