On Thu, 19 Oct 2006 22:09:29 -0700 chris wrote:
CJ> On 19-Oct-2006, at 3:57 PM, Robert Story wrote:
CJ> 
CJ> > The new hardware cpu code fails to build on my OS X box (darwin7).
CJ> >
CJ> Since I don't run Panther anymore I didn't attempt to update the  
CJ> directives for that release. I recommend you mimic some of the Darwin  
CJ> 8/9 patches I posted and that were recently integrated (to my great  
CJ> relief). In particular, avoid anything that uses nlist: it never  
CJ> really worked well on OS X because Darwin used different symbols than  
CJ> those used in the "more pure" BSD flavors.

Ok, I tried to use cpu_sysctl, w/no better luck.

hardware/cpu/cpu_sysctl.c:14:23: sys/sched.h: No such file or directory

hardware/cpu/cpu_sysctl.c:68:2: #error "No CPU statistics sysctl token"
hardware/cpu/cpu_sysctl.c:127: error: `CPUSTATES' undeclared
hardware/cpu/cpu_sysctl.c:128: error: `NETSNMP_KERN_CPU' undeclared
hardware/cpu/cpu_sysctl.c:141: error: `CP_USER' undeclared
hardware/cpu/cpu_sysctl.c:142: error: `CP_NICE' undeclared
hardware/cpu/cpu_sysctl.c:143: error: `CP_SYS' undeclared
hardware/cpu/cpu_sysctl.c:143: error: `CP_INTR' undeclared
hardware/cpu/cpu_sysctl.c:145: error: `CP_IDLE' undeclared
hardware/cpu/cpu_sysctl.c:154: error: structure has no member named
`NS_VM_INTR'
hardware/cpu/cpu_sysctl.c:155: error: structure has no member
named `NS_VM_SWTCH'
hardware/cpu/cpu_sysctl.c:156: error: structure has no member named
`NS_VM_SWAPIN'
hardware/cpu/cpu_sysctl.c:157: error: structure has no member named 
`NS_VM_SWAPOUT'



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to