Subject: Re: xosview and machine/cpu.h problems
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Space Case <wormey@eskimo.com>
List: port-mac68k
Date: 12/30/1997 12:23:55
On Dec 30, 10:58am, Bill Studenmund wrote:
>In-Reply-To: "Brian C. Grayson" at Dec 30, 97 02:06:52 am
>>   I received notice recently (PR#4731, by Steve Allen) that
>> xosview-1.5.1 will not compile on macs, due to want_resched and
>> astpending being multiply defined.  After a bit of digging,
>
>Are you sure the error's "multiply defined variables?" I ask as
>a lot of files in the kernel include machine/cpu.h, and they
>don't get errors.

Yup, that's what it is:

c++  -L./netbsd -L/usr/X11R6/lib -o xosview llist.o  Host.o  xwin.o  Xrm.o  defa
ultstring.o  meter.o  fieldmeter.o  fieldmeterdecay.o  bitmeter.o  xosview.o  ma
in.o -lmeter -lX11 -lkvm
./netbsd/libmeter.a(memmeter.o): Definition of symbol `_astpending' (multiply de
fined)
./netbsd/libmeter.a(memmeter.o): Definition of symbol `_want_resched' (multiply
defined)
./netbsd/libmeter.a(pagemeter.o): Definition of symbol `_astpending' (multiply d
efined)
./netbsd/libmeter.a(pagemeter.o): Definition of symbol `_want_resched' (multiply
 defined)
*** Error code 1


~Steve

-- 
Steven R. Allen - wormey@eskimo.com      http://www.eskimo.com/~wormey/

Faith is the quality that enables you to eat blackberry jam on a picnic
without looking to see whether the seeds move.

Contrary to popular belief, Unix is user friendly.  
It just happens to be selective about who it makes friends with.
	-Kyle Hearn  <kyle@intex.net>

Adolescence, n.:
	The stage between puberty and adultery.