On 19-Oct-2006, at 3:57 PM, Robert Story wrote:

The new hardware cpu code fails to build on my OS X box (darwin7).


hardware/cpu/cpu_nlist.c:17:25: vm/vm_param.h: No such file or directory

hardware/cpu/cpu_nlist.c:18:26: vm/vm_extern.h: No such file or directory


There is a <sys/vmparam.h>, but I couldn't find a vm_extern equivalent (based

on name only). Fixing the vmparam header didn't help the compile any.


hardware/cpu/cpu_nlist.c: In function `netsnmp_cpu_arch_load':

hardware/cpu/cpu_nlist.c:58: error: `CPUSTATES' undeclared


I could only find this in an odd rpc related header... probably not what we

want.


hardware/cpu/cpu_nlist.c:65: error: `CP_USER' undeclared

hardware/cpu/cpu_nlist.c:66: error: `CP_NICE' undeclared

hardware/cpu/cpu_nlist.c:67: error: `CP_SYS' undeclared

hardware/cpu/cpu_nlist.c:67: error: `CP_INTR' undeclared

hardware/cpu/cpu_nlist.c:68: error: `CP_IDLE' undeclared


couldn't find these anywhere in /usr/include/


Since I don't run Panther anymore I didn't attempt to update the directives for that release. I recommend you mimic some of the Darwin 8/9 patches I posted and that were recently integrated (to my great relief). In particular, avoid anything that uses nlist: it never really worked well on OS X because Darwin used different symbols than those used in the "more pure" BSD flavors.

--chris
net-snmp-owners at group.apple.com



-------------------------------------------------------------------------
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