-------- Forwarded Message -------- From: Dennis Schridde <devuran...@gmx.net> To: bug-glpk@gnu.org Subject: src/glplib.h:28:17: error: conflicting types for '_glp_lib_str2int' with gplk-4.52.1 and mariadb-5.5.32 Date: Tue, 04 Feb 2014 13:10:46 +0100
Hello! When compiling glpk-4.52.1 with mysql support against mariadb-5.5.32, the build will fail: In file included from /var/tmp/portage/sci-mathematics/glpk-4.52.1-r1/work/glpk-4.52.1/src/glpmpl.h:32:0, from /var/tmp/portage/sci-mathematics/glpk-4.52.1-r1/work/glpk-4.52.1/src/glpsql.c:31: /var/tmp/portage/sci-mathematics/glpk-4.52.1-r1/work/glpk-4.52.1/src/glplib.h:28:17: error: conflicting types for '_glp_lib_str2int' #define str2int _glp_lib_str2int ^ /usr/include/mysql/m_string.h:182:14: note: in expansion of macro 'str2int' extern char *str2int(const char *src,int radix,long lower,long upper, ^ /var/tmp/portage/sci-mathematics/glpk-4.52.1-r1/work/glpk-4.52.1/src/glplib.h:28:17: note: previous declaration of '_glp_lib_str2int' was here #define str2int _glp_lib_str2int ^ /var/tmp/portage/sci-mathematics/glpk-4.52.1-r1/work/glpk-4.52.1/src/glplib.h:29:5: note: in expansion of macro 'str2int' int str2int(const char *str, int *val); ^ Makefile:1230: recipe for target 'libglpk_la-glpsql.lo' failed A complete build.log is attached. For more details please see the bugreport at the Gentoo/Linux tracker [1]. If you need more information to fix this, please do not hesitate to ask me, or reply to the Gentoo bug. Best regards, Dennis [1] https://bugs.gentoo.org/show_bug.cgi?id=420095 _______________________________________________ Bug-glpk mailing list Bug-glpk@gnu.org https://lists.gnu.org/mailman/listinfo/bug-glpk