Subject: Re: Problems compiling the Uptimes Client
To: Jeff Flowers <jeffrey@jeffreyf.net>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 06/13/2002 15:36:34
--mSxgbZZZvrAyzONB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 13, 2002 at 09:26:33AM -0400, Jeff Flowers wrote:
> 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.
>=20
> ------------------------------
> osrisos# cd src
> osrisos# make bsd
> make CC=3Dgcc  LDFLAGS=3D'-lkvm'  OBJECTS=3D'stats-bsd.c network.c base64=
.c
> options.c'  CFLAGS=3D'-DPLATFORM_BSD -DCONFIGFILE=3D\"upclient.conf\"'  u=
pclient
> gcc -DPLATFORM_BSD -DCONFIGFILE=3D\"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
>=20
> Stop.
> *** Error code 1
>=20
> Stop.
> osrisos# exit
> ------------------------------
>=20
> 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?

use pkgsrc/net/upclient or look at patches included there.

regards,


--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--mSxgbZZZvrAyzONB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9CJ/hWc63C347cOIRAqsdAJ9ub/a60T2MKSqVnCtNGO4aldsT/QCfZC1h
JVpNoelembjdDh6OiRa2qUM=
=weRg
-----END PGP SIGNATURE-----

--mSxgbZZZvrAyzONB--