Error compiling SNMP v3.1 on Solaris 2.8
Frank Fock
Frank.Fock____t-online.de
Wed Mar 13 20:15:15 CET 2002
Hi Michael,
Seems that it is a compiler installation problem. Which version
are you using? It must be at least Forte 6.0 on Solaris 8.
Hope this helps,
Frank
Michael Alperovitch wrote:
> 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