I just snook it right in explicitly.  Somewhere near the top of the
file.

I guess HAVE_UTMPX_H isn't get set in config.log either.

And ac_cv_header_utmpx_h=no is set.

Is utmp.h checked for in configure[.in] ?

I see:

for ac_header in sys/timeout.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h
sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h
sys/vmparam.h sys/vmmac.h sys/vmsyst
m.h sys/time.h sys/times.h sys/swap.h sys/statvfs.h sys/vfs.h
sys/mnttab.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h
sys/utsname.h sys/cdefs.h getopt.h locale.h
 pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h

...but that's only utmpx.h

~BAS


On Sat, 2005-10-01 at 12:19, Robert Story wrote:
> On Fri, 23 Sep 2005 20:37:51 -0400 (EDT) Brian wrote:
> BAS> 2) Then host/hr_storage fails to compile with:
> BAS> 
> BAS> host/hr_storage.c:741: error: structure has no member named `m_mbufs'
> BAS> 
> BAS> ...this is fixed with this "1 line" patch:
> BAS> 
> BAS> 
> http://www.openbsd.org/cgi-bin/cvsweb/ports/net/net-snmp/patches/patch-agent_mibgroup_host_hr_storage_c?rev=1.2&content-type=text/x-cvsweb-markup
> BAS> 
> BAS> This *NEEDS TO BE COMMITED* back to the original tree.
> 
> Nah, there is other stuff in mbstat that may be useful. Instead, I've added a
> configure test for this structure member. Checking in for 5.1.x, 5.2.x and
> 5.3.x.
> 
> BAS> 3) I had to add #include "/usr/include/utmp.h" to 
> BAS> agent/mibgroup/host/hr_system.c.  None of the #ifdef's actually pull it
> BAS> in OpenBSD.
> 
> Where did you add it? Does it need to come in front of anything in particular?



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to