On Thu, Oct 19, 2017 at 4:38 AM, Robert Story <rst...@freesnmp.com> wrote:
> On Mon, 16 Oct 2017 18:45:55 +0200 Augusto wrote:
> AC> The new version of MariaDB C/C (3.x) [1] dropped some
> AC> header files from install (my_global.h for instance), now
> AC> mainly relying just on mysql.h.
> AC>
> AC> This change causes a build error on net-snmp mysql/mariadb
> AC> module:
> AC>
> AC> snmptrapd_sql.c:53:10: fatal error: my_global.h: No such file
> AC> or directory #include <my_global.h>
> AC> ^~~~~~~~~~~~~
> AC>
> AC> As I'm only building against MariaDB C/C (not MySQL C/C), I
> AC> just dropped 2 include directives from snmptrapd_sql.c, but
> AC> this is not a generic solution...
> AC>
> AC> Can you take a look, please?
>
> So this means we need to update our configure tests. What was the
> other header you had to drop?
The other header is my_sys.h
Now I've just found this ticket:
https://sourceforge.net/p/net-snmp/bugs/2782/
Which is related to another net-snmp MariadDB issue, but in the end there
is a comment from Kris Karas talking about the new problem (and also a
patch proposal).
Thanks!
--
Augusto Mecking Caringi
Software Engineer
Core Services - Databases Team
Red Hat
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders