Subject: Problems compiling the Uptimes Client
To: None <netbsd-help@netbsd.org>
From: Jeff Flowers <jeffrey@jeffreyf.net>
List: netbsd-help
Date: 06/13/2002 09:26:33
I have tried to compile the current upclient on both NetBSD 1.5.2 and
1.6Beta and I get this alert. The below output was saved via Putty.

------------------------------
osrisos# cd src
osrisos# make bsd
make CC=gcc  LDFLAGS='-lkvm'  OBJECTS='stats-bsd.c network.c base64.c
options.c'  CFLAGS='-DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\"'  upclient
gcc -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\" -lkvm stats-bsd.c
network.c base64.c options.c upclient.c -o upclient
stats-bsd.c: In function `getstats':
stats-bsd.c:101: `CPUSTATES' undeclared (first use in this function)
stats-bsd.c:101: (Each undeclared identifier is reported only once
stats-bsd.c:101: for each function it appears in.)
stats-bsd.c:126: `CP_IDLE' undeclared (first use in this function)
*** Error code 1

Stop.
*** Error code 1

Stop.
osrisos# exit
------------------------------

I tried to write the author but he is not responding, so I thought I would
as here. Any thought on how I can fix this? I have put a copy of the source
tar ball on my website. Please note that the software is GPLed. It can be
accessed at:

http://www.jeffreyf.net/upclient-4.2.1.23.tar.gz


BTW, a NetBSD machine currently leads the field on http://uptimes.wonko.com/





Thanks!


Jeff Flowers
jeffrey@jeffreyf.net