I'm working on a Fujitsu-Siemens PrimePower platform (SPARC64), running SunOS5.8. I've downloaded the SUNWsasdk 1.0.3 development kit and have built a subagent.
When compiled without any particular options, my subagent is a 32bits executable. A "get" operation works perfectly for all types of MIB objects it handles (single variables or tables, integers or strings).
But when I compile it in 64 bits ("-KV9" option for CFLAGS & LDFLAGS), "get" operations fail for tables-type MIB objects defined as a string. A core dump is created, from which I show the backtrace below:
Have you got any idea of why this doesn't work in 64 bits? The "libssagent.so" and "libssasnmp.so" libraries used are the 64bits ones, as well as all the other libraries dynamically linked to the subagent executable. I've noticed that the master agent "snmpdx" is a 32-bits executable.