From: Bill S. <wrs...@ze...> - 2001-09-25 18:30:24
|
I'll change the subject as the old one was a bit confusing. On Tue, 25 Sep 2001, Niels Baggesen wrote: > On Mon, Sep 24, 2001 at 03:43:46PM -0700, Bill Studenmund wrote: > > Does the gcc version work? I'm trying to build 4.2.1 (I realize it's not > > -current) and am running into the problem that since gcc is in 32-bit > > mode, it can't grovel kmem (64-bit kernel needs 64-bit apps for kmem > > access to work). So the agent dies as soon as it boots. > > It is not supposed to use kmem access under Solaris higher than 2.6. > Everything should use the kstat_ interfaces, which are available for > both 32 and 64 bit kernels. > > Are you sure you did a clean configure under Solaris 8? As my other note said, I'm using 4.2.1. config.h reports: /* Define if you have the <kstat.h> header file. */ #define HAVE_KSTAT_H 1 So it found <kstat.h>. The problem is, at least for 4.2.1, there is no code in the agent which uses it. The only occurences of HAVE_KSTAT_H are in config.h, ucd-snmp-config.h, the win32 stuff, the configure script itself, and snmplib/system.c. Does/will 4.2.2 fix this? Take care, Bill |