Hello all potential helpers!
 
What I want to do is to write a noddy SNMP program using get/set & trap in C or C++ to communicate with 1 other host to run on IRIX 6.5.
I have installed the freeware net-snmp 4.2.1.
 
I'm pretty sure that I don't need Perl for anything but please confirm this. I'm also not sure what SSL I should be using (or how it fits in with SNMP).

I have tried (amongst other commands!) the following:

>cd /usr/freeware/src/ucd-snmp/ucd-snmp-4.2.1
>configure --with-ldflags=-I/usr/freeware/include/openssl --with-mibdirs="/usr/local/share/snmp/mibs" --enable-shared --with-gnu-ld
>gmake
>gmake test
............

  33: testing Proxy illegal SET handling support... 5688133:lt-snmpget: rld: Error: unresolvable symbol in /usr/freeware/src/ucd-snmp/ucd-snmp-4.2.1/snmplib/.libs/libsnmp-0.4.2.1.so.: des_key_sched
  5688133:lt-snmpget: rld: Error: unresolvable symbol in /usr/freeware/src/ucd-snmp/ucd-snmp-4.2.1/snmplib/.libs/libsnmp-0.4.2.1.so.: des_cbc_encrypt
  5688133:lt-snmpget: rld: Error: unresolvable symbol in /usr/freeware/src/ucd-snmp/ucd-snmp-4.2.1/snmplib/.libs/libsnmp-0.4.2.1.so.: des_ncbc_encrypt
  5688133:lt-snmpget: rld: Fatal Error: this executable has unresolvable symbols
  Cannot open /tmp/snmp-test-33-5686119/*pid*: No such file or directory
  FAIL
  Summary: 5 / 33 succeeded.
  gmake[1]: *** [test] Error 28
  gmake[1]: Leaving directory `/usr/freeware/src/ucd-snmp/ucd-snmp-4.2.1/testing'
  gmake: *** [test] Error 2

 

I have only included the very last part of the output for 'gmake test' just to show that it fails.

 

As a 'configure' option I used --with-ldflags set to the directory which has des.h in it (where 'des_key_sched' - an unresolved from'gmake test' -  is defined). To be honest there are so many things that I don't get about this installation that I may just be clutching at straws here!

 

I used 'gmake' as it works & 'make' doesn't!

 

Can anyone make any sense of this please?

Charlotte 

 

Reply via email to