Error compiling SNMP v3.1 on Solaris 2.8

Ram Krishnaswamy RKrishnaswamy____pathfire.com
Thu Mar 14 18:00:22 CET 2002


Frank,

I am working with Michael on this. Can U tell me whether we could use any
other compiler, say a GNU, so that we don't have to purchase the Forte?
Thanks.

Ram
(ramk at pathfire.com)

-----Original Message-----
From: Frank.Fock____t-online.de [mailto:Frank.Fock____t-online.de]
Sent: Wednesday, March 13, 2002 2:15 PM
To: Michael Alperovitch
Cc: agentpp-dl____agentpp.com
Subject: Re: Error compiling SNMP v3.1 on Solaris 2.8


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