Error compiling SNMP v3.1 on Solaris 2.8

Michael Alperovitch Malperovitch____pathfire.com
Wed Mar 13 20:02:19 CET 2002


I am getting error compiling SNMP v3.1 (file usm_v3.cpp) on Solaris 2.8 :

CC -mt -D_XPG4_EXTENDED -Dsun -D__unix   -I../include -I./ -I../../libdes -g
-pta -o usm_v3.o -c usm_v3.cpp
"/usr/include/iso/wchar_iso.h", line 100: Error: Multiple declaration for
mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 51: Error: The name
mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 78: Error: The name
mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/rw/iotraits", line 56: Error: The name
mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
4 Error(s) detected.
make: *** [usm_v3.o] Error 4

Any suggestion on how I can fix the problem?

Thanks,

Michael Alperovitch
Pathire Inc.




More information about the AGENTPP mailing list