[tkined] Building 3.0.0 under HP-UX

Rossi, Marc (marcr@crt.com)
Mon, 14 Dec 1998 14:49:39 -0600

I am attempting to build the 3.0.0 release ANSI (-Ae) under HP-UX 10.20.
I am getting the following errors:

cc: "../tnm/snmp/tnmSnmpUtil.c", line 909: error 1711: Inconsistent
parameter list declaration for "TnmSnmpCreateSession".
cc: "../tnm/snmp/tnmSnmpUtil.c", line 1627: warning 604: Pointers are
not assignment-compatible.
cc: "../tnm/snmp/tnmSnmpUtil.c", line 1702: warning 604: Pointers are
not assignment-compatible.
cc: "../tnm/snmp/tnmSnmpUtil.c", line 1702: warning 563: Argument #3 is
not the correct type.
cc: "../tnm/snmp/tnmSnmpUtil.c", line 1702: warning 604: Pointers are
not assignment-compatible.

I am also getting similar errors for several function declarations in
tnmAsn1.c (TnmBerWrongValue(), TnmBerWrongTag(),
TnmBerEncSequenceStart(),
TnmBerDecSequenceStart(),TnmBerEncInt(),TnmBerDecInt(),TnmBerEncOctetStr
ing(), TnmBerDecOctetString(),TnmBerEncNull(),TnmBerDecNull()).

This is not happening with all functions in these modules
(TnmSnmpDeleteSession() & TnmBerEncOID() for example).

If I change the function definitions for those which the compiler
complains about to the ANSI style, everything builds fine.

Any ideas?

Marc

Marc Rossi
NationsBank
312.234.2933
mailto:marcr@crt.com

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.