Fedora15 has MySQL 5.5 which does not like the MY_INIT call in 
snmptrapd_sql.

May I suggest this fix:

diff --git a/apps/snmptrapd_sql.c b/apps/snmptrapd_sql.c
index c7433dc..74b660f 100644
--- a/apps/snmptrapd_sql.c
+++ b/apps/snmptrapd_sql.c
@@ -437,8 +437,6 @@ netsnmp_mysql_init(void)
          return -1;
      }

-    MY_INIT("snmptrapd");
-
      /** load .my.cnf values */
      load_defaults ("my", _sql.groups, &not_argc, &not_argv);
      for(i=0; i < not_argc; ++i) {

An alternative is to replace it with my_init(), but I don't see why it 
should be required at all.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - [email protected]
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to