It's a speeling mistake.

It's supposed to be ai.ani_max.

it's in /usr/include/vm/anon.h 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thomas Anders
Sent: Monday, May 14, 2007 4:35 PM
To: Dave Shield
Cc: [email protected]
Subject: Re: Solaris memTotalFree.0

Dave Shield wrote:
> I've just added the basic content of the 'getTotalFree' routine to the
new
> HAL-based mechanism.  Give it a whirl, and let me know of any
problems.

Fails to compile for me on Solaris 9 SPARC:

 cc -I../../include -I/home/anders/src/net-snmp-5.5svn/include -I.
-I../../agent -I/home/anders/src/net-snmp-5.5svn/agent
-I../../agent/mibgroup -I/home/anders/src/net-snmp-5.5svn/agent/mibgroup
-I../../snmplib -I/home/anders/src/net-snmp-5.5svn/snmplib -g
-Dsolaris2=solaris2 -c
/home/anders/src/net-snmp-5.5svn/agent/mibgroup/hardware/memory/memory_s
olaris.c
 -KPIC -DPIC -o hardware/memory/.libs/memory_solaris.o
"../../include/net-snmp/net-snmp-config.h", line 2057: warning: macro
redefined: DONT_USE_NLIST
"/home/anders/src/net-snmp-5.5svn/agent/mibgroup/hardware/memory/memory_
solaris.c",
line 85: undefined symbol: ai_ani_max
cc: acomp failed for
/home/anders/src/net-snmp-5.5svn/agent/mibgroup/hardware/memory/memory_s
olaris.c

FWIW, there's no ai_ani_max in any /usr/include header file. Where is it
expected to come from?


+Thomas

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take
action relying on it. Any communication received in error, or subsequent
reply, should be deleted or destroyed.


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to