bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] [Fwd: src/glplib.h:28:17: error: conflicting types for '_glp_


From: Andrew Makhorin
Subject: [Bug-glpk] [Fwd: 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 17:37:08 +0400

-------- Forwarded Message --------
From: Dennis Schridde <address@hidden>
To: address@hidden
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]