[AGENT++] snmp++ 3.2.16 Compilation problem on Tru64

GOELLESCH Niels niels.goellesch at eurocontrol.int
Tue Mar 1 15:53:27 CET 2005


I am using Tru64 4.0f and had troubles when more than 5 varbinds are added to pdu during a get request. The request Pdu is transmitted on the network, but as soon as the reply arrives, an ASN1 decoding error occurs. 

 

The problem can be found in asn1.cpp line 555.

 

A conditional compilation is done where a check is made whether the symbol "alpha" is defined. This symbol is by default defined on a Tru64 system; There are three solutions:

 

1)       replace "alpha" by "__osf__"  (this is the solution that I have choosen, because symbol is always defined on Tru64))

2)       replace "alpha" by "__alpha"  (whether the symbol is defined depends on compiler settings)

3)       add a -Dalpha in the Makefile.dunix

 

Hope this info is useful for anyone else.

 

Kind regards,

      Niels


____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.



More information about the AGENTPP mailing list