Hi, When I compile net-snmp-5.1.3.pre1 on Linux I get the following error:
gcc -o snmptrapd snmptrapd.o ./.libs/libnetsnmptrapd.a -L/home/klaash/net-snmp-5.1.3.pre1/snmplib -L/home/klaash/net-snmp-5.1.3.pre1/agent -L/home/klaash/net-snmp-5.1.3.pre1/agent/helpers ../agent/.libs/libnetsnmpagent.a ../agent/.libs/libnetsnmpmibs.a ../agent/helpers/.libs/libnetsnmphelpers.a ../snmplib/.libs/libnetsnmp.a -lcrypto -lm ./.libs/libnetsnmptrapd.a(snmptrapd_handlers.o)(.text+0x1a15): In function `command_handler': /home/klaash/net-snmp-5.1.3.pre1/apps/snmptrapd_handlers.c:856: undefined reference to `run_exec_command' collect2: ld returned 1 exit status make[1]: *** [snmptrapd] Error 1 make[1]: Leaving directory `/home/klaash/net-snmp-5.1.3.pre1/apps' make: *** [subdirs] Error 1 The following configure options were used: ./configure \ --with-out-mib-modules="snmpv3mibs ucd_snmp agent_mibs agentx notification" \ --enable-static \ --disable-shared I tried the same with version 5.2.1 and get a similar error: snmptrapd.o(.text+0xd78): In function `main': /home/klaash/net-snmp-5.2.1/apps/snmptrapd.c:962: undefined reference to `init_register_usmUser_context' ./.libs/libnetsnmptrapd.a(snmptrapd_handlers.o)(.text+0x1a15): In function `command_handler': /home/klaash/net-snmp-5.2.1/apps/snmptrapd_handlers.c:856: undefined reference to `run_exec_command' collect2: ld returned 1 exit status make[1]: *** [snmptrapd] Error 1 make[1]: Leaving directory `/home/klaash/net-snmp-5.2.1/apps' make: *** [subdirs] Error 1 Thanks, Holger -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Story Sent: 20 June 2005 17:15 To: [email protected]; net-snmp-users Subject: net-snmp-5.1.3.pre1 available for testing net-snmp-5.1.3.pre1 is available for testing. Please give it a whirl, and let us know if you have any problems. Precursors to this release we successfully built on the following SourceForge compile farm test machines this weekend: OpenBSD 3.4, NetBSD 1.6, Linux 2.2.20 (alpha), Solaris (sparc, 5.9) It compiles on FreeBSD 4.1, but SNMPv3 seems to be core-dumping. More testing/fixes for FreeBSD is strongly encouraged. The Linux AMD64 build broke while linking. More testing/fixes for any/all 64 bit platforms is strongly encouraged Please read the ChangeLog file for a more detailed listing of changes/bug fixes. <snipped changelog> -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
