I am getting compilation errors as below when I compile to create tnm.so
The configuration shell script runned fine.
$ make
cc -c -O -PIC -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tnmIcmp.c
"./../tnm/generic/tnmIcmp.c", line 118: no automatic aggregate initialization
"./../tnm/generic/tnmIcmp.c", line 118: no automatic aggregate initialization
"./../tnm/generic/tnmIcmp.c", line 118: operands of = have incompatible types
.
.
.
Make this change:
===================================================
118c118,119
< TnmIcmpTarget target = icmpPtr->targets[i];
--- > TnmIcmpTarget target; > target = icmpPtr->targets[i]; ===================================================Juergen, let's include this in the Porting Notes <URL:http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ porting.notes>. The one question I have is whether you might want to change the source itself. I know it's a nuisance for the SunOS compiler not to under- stand this initialization, but the fact is that many people working in network management *do* rely on this compiler.
Cameron Laird Network Engineered Solutions http://starbase.neosoft.com/~bodi/nesi.html claird@calladan.com +1 713 763 8366 claird@NeoSoft.com +1 281 996 8546 FAX Houston WWW Business Guide: http://starbase.neosoft.com/~bodi/HouGuide.html