Subject: RE: multiple definitions of CLK_TCK on pmax
To: None <owner-port-pmax@NetBSD.ORG, port-pmax@sun-lamp.cs.berkeley.edu>
From: Adam Glass <adamg@microsoft.com>
List: port-pmax
Date: 08/31/1994 09:37:36
the answer is that it shouldin't be in pmax/include/limits.h

i've cced JT who will give us usual explanation.....

----------
| From: Jonathan Stone  <jonathan@DSG.Stanford.EDU>
| To:  <port-pmax@sun-lamp.cs.berkeley.edu>
| Subject: multiple definitions of CLK_TCK on pmax
| Date: Tuesday, August 30, 1994 11:40PM
|
| Received: from sun-lamp.CS.Berkeley.EDU by
| netmail2.microsoft.com with SMTP (5.65/25-eef)
| 	id AA08160; Tue, 30 Aug 94 23:43:43 -0700
| Received: (from mailman@localhost) by sun-lamp.cs.berkeley.edu
| (8.6.9/8.6.9) id XAA07142 for port-pmax-outgoing; Tue, 30 Aug
| 1994 23:39:54 -0700
| Received: from Kahului.Stanford.EDU (Kahului.Stanford.EDU
| [36.18.0.61]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with
| ESMTP id XAA07136 for <port-pmax@sun-lamp.cs.berkeley.edu>;
| Tue, 30 Aug 1994 23:39:53 -0700
| Received: (from jonathan@localhost) by Kahului.Stanford.EDU
| (8.6.9/8.6.9) id XAA27872; Tue, 30 Aug 1994 23:40:38 -0700
| Message-Id: <199408310640.XAA27872@Kahului.Stanford.EDU>
| Sender: owner-port-pmax@NetBSD.ORG
| Precedence: bulk
|
|
| CLK_TCK is defined  both in sys/arch/pmax/limits.h and
| in include/time.h. Which is right? Are they both right?
| If so, which one should user-level code be including??
|
| If it's not  clear, I'm asking because I'm trying to compile
| user code, and I get errors like the following:
| I get:
|
| In file included from /usr/include/sys/time.h:117,
|                  from /usr/include/unistd.h:104,
|                  from /src/NetBSD/src/lib/libc/db/btree/bt_close.c:48:
| /usr/include/time.h:97: warning: `CLK_TCK' redefined
| /usr/include/machine/limits.h:41: warning: this is the location of 
the previous
| which may be because I  hand-constructed a /usr/include directory on a
| NetBSD/pmax filesystem.  Which  I did because I don't yet have
| an install  that   supports "-d", or  pax, so I can't do a "make
| install" to get the header files right before building a libc.a
| in 4.4BSD a.out format.
|
|
| 

------------------------------------------------------------------------------