Path: utzoo!attcan!uunet!cs.utexas.edu!mailrus!cornell!uw-beaver!fluke!ssc-vax!bcsaic!paula
From: paula@bcsaic.UUCP (Paul Allen)
Newsgroups: comp.os.minix
Subject: Re: Compiling zterm problems, won't link
Message-ID: <15214@bcsaic.UUCP>
Date: 26 Sep 89 02:15:41 GMT
References: <551@fred.UUCP>
Reply-To: paula@bcsaic.UUCP (Paul Allen)
Organization: Boeing Computer Services AI Center, Seattle
Lines: 43

In article <551@fred.UUCP> bill@fred.UUCP (Bill Poitras) writes:
>When I was compiling zterm under Minix 1.4a, I got the message
>ctype.s, 94: _tolower mulitiple declared
>This happens when compiling the 'rz' program in zterm.  Why
>does this happen? Is it my library?  Any help would greatly be 
>appreciated.

I saw this after I applied Marty Leisner's controller_busy() patch
to my 1.3 at_wini.c.  While linking the kernel, asld complained
about "_control multiple declared" in table.c.  Running all of
kernel/*.s through libupack and grepping for 'control' turned
up *one* place where that symbol is declared: in table.s! 
Replacing the patched wini.c with the 1.3 at_wini.c cleared up
the problem, but leaves me with a driver that may have caused
the corruption that lost me a day's work not long ago.  :-(

Someone (can't find the reference just now) recently posted
that the "xxx multiple declared" asld bug was related to
code like:

	syma = symb
	.
	.
	.
	symb:
	.
	.

I don't see anything like this in table.s

Since my 1.3 kernel is suspect, the above compiling/linking was
done under 1.1 on a PC using the 1.2 compiler and the split I/D
asld that was posted a long time ago.

Any helpful hints will be greeted with wild enthusiasm!

Paul Allen


-- 
------------------------------------------------------------------------
Paul L. Allen                       | pallen@atc.boeing.com
Boeing Advanced Technology Center   | ...!uw-beaver!bcsaic!pallen