Re: Mysql 8.x will not compile with latest Kannel
Hillel Bilman <[email protected]> Sun, 25 Aug 2019 22:15:12 +0200
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <CAMuHb=d98pfgb3Ch8zCwYDibK7khKnq-BCjJUFbfY4-mxaoDzA@mail.gmail.com> |
--00000000000092064b0590f6b4e0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Great, thanks! to Werner and Alex On Sat, Aug 3, 2019 at 9:54 PM Alexander Malysh <[email protected]> wrote: > Hi, > > yes, I already saw it. Fixed in SVN. > > Alex > > > Am 02.08.2019 um 17:18 schrieb Werner Coetzee < > [email protected]>: > > Compare pre-8 documentation (e.g. 5.5 > https://dev.mysql.com/doc/refman/5.5/en/c-api-data-structures.html ) to > mysql 8.0 documentation > https://dev.mysql.com/doc/refman/8.0/en/c-api-data-structures.html > > For 8 it says: > my_bool: A boolean type, for values that are true (nonzero) or false > (zero). The my_bool type was used before MySQL 8.0. As of MySQL 8.0, use > the bool or int C type instead. > NOTE: The change from my_bool to bool means that the mysql.h header file > requires a C++ or C99 compiler to compile. > > So maybe dbpool_mysql.c can do with a #if MYSQL_VERSION_ID check? e.g. > > #if MYSQL_VERSION_ID >=3D 80000 > typedef int my_bool; > #endif > > Werner > > > Werner Coetzee=E2=80=8B > C Developer > <image286865.png> > *[email protected]* <[email protected]> > <image918509.png> > +27 (21) 910 7700 > <image874095.png> > *From:* devel <[email protected]> *On Behalf Of *Hillel Bilman > *Sent:* 02 August 2019 16:30 > *To:* Alexander Malysh <[email protected]> > *Cc:* Kannel Devel <[email protected]> > *Subject:* Mysql 8.x will not compile with latest Kannel > > > Hi Alex, > > The server I'm using has: > Mysql 8.0.17 > Centos 7.x > Kannel svn-r5278M (latest version from svn) > > Latest Kannel SVN will not compile with Mysql 8.0.17. > This error with Mysql 8.x was reported in redmine 08/18/2018 > https://redmine.kannel.org/issues/782 > <https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fredm= ine.kannel.org%2Fissues%2F782&data=3D02%7C01%7C%7C0d7a493199de4c4ae61408d71= 7560036%7Cf05b82000f184302889e9f6703297586%7C0%7C0%7C637003530455590653&sda= ta=3DS%2FjJrklB%2BM%2FtVaIQ9bU51KrWit7baFk7LzyrnyLf5bA%3D&reserved=3D0> > But there does not seem to be any reported solution. > > Any help is appreciated to be able to compile Kannel. > > Steps using to compile Kannel: > svn co https://svn.kannel.org/gateway/trunk/ > <https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fsvn.= kannel.org%2Fgateway%2Ftrunk%2F&data=3D02%7C01%7C%7C0d7a493199de4c4ae61408d= 717560036%7Cf05b82000f184302889e9f6703297586%7C0%7C0%7C637003530455600647&s= data=3DjXRnV%2Blvm8ThzHynnpyo1PFsSzUcr8OdCCDphFmoOFc%3D&reserved=3D0> > gateway > cd gateway > ./bootstrap.sh > ./configure --with-defaults=3Dspeed --with-mysql --enable-start-stop-dae= mon > --enable-ssl --disable-localtime --enable-cookies > make;make install > > Configuring for Kannel gateway version svn-r5278M ... > .. > Showing the database section with the two WARNINGs: > Configuring DB support ... > checking whether to compile with MySQL support... searching > checking for mysql_config... /bin/mysql_config > checking mysql version... 8.0.17 > checking mysql reentrant libs... -L/usr/lib64/mysql -lmysqlclient > -lpthread -lm -lrt -lssl -lcrypto -ldl > checking for mysql_init in -lmysqlclient_r... no > checking mysql libs... -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -lr= t > -lssl -lcrypto -ldl > checking for mysql_init in -lmysqlclient... yes > checking mysql includes... -I/usr/include/mysql > checking mysql/mysql.h usability... yes > checking mysql/mysql.h presence... no > configure: WARNING: mysql/mysql.h: accepted by the compiler, rejected by > the preprocessor! > configure: WARNING: mysql/mysql.h: proceeding with the compiler's result > checking for mysql/mysql.h... yes > checking mysql/mysql_version.h usability... yes > checking mysql/mysql_version.h presence... yes > checking for mysql/mysql_version.h... yes > checking for mysql_stmt_init in -lmysqlclient_r... no > checking for mysql_stmt_init in -lmysqlclient... yes > checking whether to compile with MySQL support... yes > checking whether to compile with LibSDB support... disabled > checking whether to compile with SQLite2 support... disabled > checking whether to compile with SQLite3 support... disabled > checking whether to compile with Oracle support... disabled > checking whether to compile with PostgresSQL support... disabled > checking whether to compile with Redis support... disabled > checking whether to compile with FreeTDS Ct-Lib support... disabled > checking whether to compile with Cassandra support... disabled > > root@eco007-truservcomm-jhb1-001 /home/kannel/gateway $ make > make all-recursive > make[1]: Entering directory `/home/kannel/gateway' > Making all in gwlib > make[2]: Entering directory `/home/kannel/gateway/gwlib' > /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -std=3Dgnu99 > -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_XOPEN_SOURCE=3D600 -D_BSD_SOURCE > -D_DEFAULT_SOURCE -D_LARGE_FILES=3D -I/usr/include/libxml2 > -I/usr/include/openssl -I/usr/include/mysql -MT dbpool.lo -MD -MP -MF > .deps/dbpool.Tpo -c -o dbpool.lo dbpool.c > libtool: compile: gcc -std=3Dgnu99 -DHAVE_CONFIG_H -I. -I.. -g -O2 > -D_XOPEN_SOURCE=3D600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES=3D > -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include/mysql -MT > dbpool.lo -MD -MP -MF .deps/dbpool.Tpo -c dbpool.c -fPIC -DPIC -o > .libs/dbpool.o > In file included from gwlib.h:83:0, > from dbpool.c:70: > dbpool_mysql.c: In function 'mysql_select': > dbpool_mysql.c:248:48: error: 'my_bool' undeclared (first use in this > function) > bind[i].is_null =3D gw_malloc(sizeof(my_bool)); > ^ > gwmem.h:122:43: note: in definition of macro 'gw_malloc' > #define gw_malloc(size) (gw_native_malloc(size)) > ^ > dbpool_mysql.c:248:48: note: each undeclared identifier is reported only > once for each function it appears in > bind[i].is_null =3D gw_malloc(sizeof(my_bool)); > ^ > gwmem.h:122:43: note: in definition of macro 'gw_malloc' > #define gw_malloc(size) (gw_native_malloc(size)) > ^ > make[2]: *** [dbpool.lo] Error 1 > make[2]: Leaving directory `/home/kannel/gateway/gwlib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/kannel/gateway' > make: *** [all] Error 2 > > root@eco007-truservcomm-jhb1-001 /home/kannel/gateway $ rpm -qa|grep mysq= l > mysql-community-common-8.0.17-1.el7.x86_64 > mysql-community-server-8.0.17-1.el7.x86_64 > mysql-community-libs-8.0.17-1.el7.x86_64 > mysql-community-libs-compat-8.0.17-1.el7.x86_64 > mysql80-community-release-el7-3.noarch > mysql-community-client-8.0.17-1.el7.x86_64 > mysql-community-devel-8.0.17-1.el7.x86_64 > > > > --00000000000092064b0590f6b4e0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Great, thanks! to Werner and Alex<br></div><br><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Aug 3, 2019 = at 9:54 PM Alexander Malysh <<a href=3D"mailto:[email protected]">amaly= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex"><div style=3D"overflow-wrap: break-word;">Hi,<div><br></div><d= iv>yes, I already saw it. Fixed in SVN.</div><div><br></div><div>Alex</div>= <div><br><div><br><blockquote type=3D"cite"><div>Am 02.08.2019 um 17:18 sch= rieb Werner Coetzee <<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>>:</div><br class=3D"gm= ail-m_3860173052938169089Apple-interchange-newline"><div><div class=3D"gmai= l-m_3860173052938169089WordSection1" style=3D"font-family:Helvetica;font-si= ze:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;lette= r-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white= -space:normal;word-spacing:0px;text-decoration:none"><div style=3D"margin:0= cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Compar= e pre-8 documentation (e.g. 5.5<span class=3D"gmail-m_3860173052938169089Ap= ple-converted-space">=C2=A0</span><a href=3D"https://dev.mysql.com/doc/refm= an/5.5/en/c-api-data-structures.html" style=3D"color:purple;text-decoration= :underline" target=3D"_blank">https://dev.mysql.com/doc/refman/5.5/en/c-api= -data-structures.html</a><span class=3D"gmail-m_3860173052938169089Apple-co= nverted-space">=C2=A0</span>) to mysql 8.0 documentation<a href=3D"https://= dev.mysql.com/doc/refman/8.0/en/c-api-data-structures.html" style=3D"color:= purple;text-decoration:underline" target=3D"_blank">https://dev.mysql.com/d= oc/refman/8.0/en/c-api-data-structures.html</a><u></u><u></u></span></div><= div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,san= s-serif"><span><u></u>=C2=A0<u></u></span></div><div style=3D"margin:0cm 0c= m 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>For 8 it sa= ys:<u></u><u></u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-si= ze:11pt;font-family:Calibri,sans-serif"><span>my_bool: A boolean type, for = values that are true (nonzero) or false (zero). The my_bool type was used b= efore MySQL 8.0. As of MySQL 8.0, use the bool or int C type instead.<u></u= ><u></u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;f= ont-family:Calibri,sans-serif"><span>NOTE: The change from my_bool to bool = means that the mysql.h header file requires a C++ or C99 compiler to compil= e.<u></u><u></u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-siz= e:11pt;font-family:Calibri,sans-serif"><span><u></u>=C2=A0<u></u></span></d= iv><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri= ,sans-serif"><span>So maybe dbpool_mysql.c can do with a #if MYSQL_VERSION_= ID check? e.g.<u></u><u></u></span></div><div style=3D"margin:0cm 0cm 0.000= 1pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u>=C2=A0<u></= u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-fa= mily:Calibri,sans-serif"><span>#if MYSQL_VERSION_ID >=3D 80000<u></u><u>= </u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-= family:Calibri,sans-serif"><span>typedef int my_bool;<u></u><u></u></span><= /div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calib= ri,sans-serif"><span>#endif<u></u><u></u></span></div><div style=3D"margin:= 0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></= u>=C2=A0<u></u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-size= :11pt;font-family:Calibri,sans-serif"><span>Werner<u></u><u></u></span></di= v><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,= sans-serif"><span><u></u>=C2=A0<u></u></span></div><div style=3D"margin:0cm= 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u>= =C2=A0<u></u></span></div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:1= 1pt;font-family:Calibri,sans-serif"><b><span lang=3D"EN-US"></span></b></di= v><div><table cellpadding=3D"0" cellspacing=3D"0" border=3D"0" style=3D"wid= th:1083px"><tbody><tr style=3D"font-size:0px"><td align=3D"left" style=3D"v= ertical-align:top"><table cellpadding=3D"0" cellspacing=3D"0" border=3D"0" = style=3D"font-size:0px"><tbody><tr style=3D"font-size:0px"><td align=3D"lef= t" style=3D"padding:0px 0px 8px;border-style:none none solid;border-bottom-= width:2px;border-bottom-color:rgb(44,196,236);vertical-align:top"><table ce= llpadding=3D"0" cellspacing=3D"0" border=3D"0" style=3D"width:183.922px;fon= t-size:0px;color:rgb(44,196,236);font-style:normal;font-weight:700;white-sp= ace:nowrap"><tbody><tr style=3D"font-size:20px"><td align=3D"left" style=3D= "vertical-align:top;font-family:Arial">Werner=C2=A0Coetzee<span style=3D"fo= nt-family:remialcxesans;font-size:1px;color:rgb(255,255,255);line-height:1p= x">=E2=80=8B</span></td></tr><tr style=3D"font-size:14px;color:rgb(49,53,56= );font-weight:400"><td align=3D"left" style=3D"vertical-align:top;font-fami= ly:Arial">C=C2=A0Developer</td></tr></tbody></table></td></tr><tr style=3D"= font-size:0px"><td align=3D"left" style=3D"padding:4px 0px 0px;vertical-ali= gn:top"><table cellpadding=3D"0" cellspacing=3D"0" border=3D"0" style=3D"fo= nt-size:0px"><tbody><tr style=3D"font-size:0px"><td align=3D"left" style=3D= "padding:8px 0px 0px;vertical-align:top"><table cellpadding=3D"0" cellspaci= ng=3D"0" border=3D"0" style=3D"font-size:0px"><tbody><tr style=3D"font-size= :0px"><td align=3D"left" style=3D"vertical-align:top"><table cellpadding=3D= "0" cellspacing=3D"0" border=3D"0" style=3D"font-size:0px"><tbody><tr style= =3D"font-size:0px"><td align=3D"left" style=3D"vertical-align:top"><table c= ellpadding=3D"0" cellspacing=3D"0" border=3D"0" style=3D"font-size:0px"><tb= ody><tr style=3D"font-size:0px"><td align=3D"left" style=3D"padding:0px 0px= 4px;vertical-align:top"><table cellpadding=3D"0" cellspacing=3D"0" border= =3D"0" style=3D"font-size:0px;line-height:normal"><tbody><tr style=3D"font-= size:0px"><td align=3D"left" style=3D"vertical-align:top"><span id=3D"gmail= -m_3860173052938169089cid:[email protected]"><image28686= 5.png></span></td><td align=3D"left" style=3D"vertical-align:top"><table= cellpadding=3D"0" cellspacing=3D"0" border=3D"0" style=3D"font-size:0px;co= lor:rgb(0,0,1);font-style:normal;font-weight:400;white-space:nowrap"><tbody= ><tr style=3D"font-size:12px"><td align=3D"left" style=3D"padding:0px 0px 0= px 4px;vertical-align:top;font-family:Arial"><a href=3D"mailto:werner.coetz= [email protected]" id=3D"gmail-m_3860173052938169089LPlnk689713" style=3D"c= olor:rgb(0,0,1);text-decoration:none" target=3D"_blank"><strong style=3D"fo= nt-weight:400">[email protected]</strong></a></td></tr></tbody>= </table></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr s= tyle=3D"font-size:0px"><td align=3D"left" style=3D"vertical-align:top"><tab= le cellpadding=3D"0" cellspacing=3D"0" border=3D"0" style=3D"font-size:0px;= line-height:normal"><tbody><tr style=3D"font-size:0px"><td align=3D"left" s= tyle=3D"vertical-align:top"><span id=3D"gmail-m_3860173052938169089cid:imag= [email protected]"><image918509.png></span></td><td align= =3D"left" style=3D"vertical-align:top"><table cellpadding=3D"0" cellspacing= =3D"0" border=3D"0" style=3D"font-size:0px;color:rgb(49,53,56);font-style:n= ormal;font-weight:400;white-space:nowrap"><tbody><tr style=3D"font-size:12p= x"><td align=3D"left" style=3D"padding:0px 0px 0px 4px;vertical-align:top;f= ont-family:Arial">+27=C2=A0(21)=C2=A0910=C2=A07700<br></td></tr></tbody></t= able></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody>= </table></td></tr></tbody></table></td></tr><tr style=3D"font-size:0px;line= -height:normal"><td align=3D"left" style=3D"padding:15px 0px 0px;vertical-a= lign:top"><span id=3D"gmail-m_3860173052938169089cid:image874095.png@2EB793= 62.E7C05662"><image874095.png></span></td></tr></tbody></table></td><= /tr></tbody></table></div><b>From:</b><span lang=3D"EN-US"><span class=3D"g= mail-m_3860173052938169089Apple-converted-space">=C2=A0</span>devel <<a = href=3D"mailto:[email protected]" target=3D"_blank">devel-bounces@ka= nnel.org</a>><span class=3D"gmail-m_3860173052938169089Apple-converted-s= pace">=C2=A0</span><b>On Behalf Of<span class=3D"gmail-m_386017305293816908= 9Apple-converted-space">=C2=A0</span></b>Hillel Bilman<br><b>Sent:</b><span= class=3D"gmail-m_3860173052938169089Apple-converted-space">=C2=A0</span>02= August 2019 16:30<br><b>To:</b><span class=3D"gmail-m_3860173052938169089A= pple-converted-space">=C2=A0</span>Alexander Malysh <<a href=3D"mailto:a= [email protected]" target=3D"_blank">[email protected]</a>><br><b>Cc:</= b><span class=3D"gmail-m_3860173052938169089Apple-converted-space">=C2=A0</= span>Kannel Devel <<a href=3D"mailto:[email protected]" target=3D"_blank"= >[email protected]</a>><br><b>Subject:</b><span class=3D"gmail-m_38601730= 52938169089Apple-converted-space">=C2=A0</span>Mysql 8.x will not compile w= ith latest Kannel<u></u><u></u></span><div><br class=3D"gmail-m_38601730529= 38169089webkit-block-placeholder"></div><div style=3D"margin:0cm 0cm 0.0001= pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u>=C2=A0<u></u></div= ><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Cali= bri,sans-serif">Hi Alex,<u></u><u></u></div><div><div style=3D"margin:0cm 0= cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u>=C2=A0<u>= </u></div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;f= ont-family:Calibri,sans-serif">The server I'm using has:<u></u><u></u><= /div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-f= amily:Calibri,sans-serif">Mysql 8.0.17<u></u><u></u></div></div><div><div s= tyle=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-ser= if">Centos 7.x<u></u><u></u></div></div><div><div style=3D"margin:0cm 0cm 0= .0001pt;font-size:11pt;font-family:Calibri,sans-serif">Kannel=C2=A0=C2=A0sv= n-r5278M (latest version from svn)<u></u><u></u></div></div><div><div style= =3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">= <u></u>=C2=A0<u></u></div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;= font-size:11pt;font-family:Calibri,sans-serif">Latest Kannel SVN will not c= ompile with Mysql 8.0.17.<u></u><u></u></div></div><div><div style=3D"margi= n:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">This erro= r with Mysql 8.x was reported in redmine=C2=A008/18/2018=C2=A0=C2=A0<a href= =3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fred= mine.kannel.org%2Fissues%2F782&data=3D02%7C01%7C%7C0d7a493199de4c4ae614= 08d717560036%7Cf05b82000f184302889e9f6703297586%7C0%7C0%7C63700353045559065= 3&sdata=3DS%2FjJrklB%2BM%2FtVaIQ9bU51KrWit7baFk7LzyrnyLf5bA%3D&rese= rved=3D0" style=3D"color:purple;text-decoration:underline" target=3D"_blank= ">https://redmine.kannel.org/issues/782</a><u></u><u></u></div></div><div><= div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,san= s-serif">But there does not seem to be any reported solution.<u></u><u></u>= </div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-= family:Calibri,sans-serif"><u></u>=C2=A0<u></u></div></div><div><div style= =3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">= Any help is appreciated to be able to compile Kannel.<u></u><u></u></div></= div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:C= alibri,sans-serif"><u></u>=C2=A0<u></u></div></div><div><div style=3D"margi= n:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Steps usi= ng to compile Kannel:<u></u><u></u></div></div><div><div style=3D"margin:0c= m 0cm 0.0001pt"><span style=3D"font-size:12pt;font-family:"Times New R= oman",serif;color:rgb(58,58,58)">svn co<span class=3D"gmail-m_38601730= 52938169089Apple-converted-space">=C2=A0</span><a href=3D"https://eur01.saf= elinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fsvn.kannel.org%2Fgateway= %2Ftrunk%2F&data=3D02%7C01%7C%7C0d7a493199de4c4ae61408d717560036%7Cf05b= 82000f184302889e9f6703297586%7C0%7C0%7C637003530455600647&sdata=3DjXRnV= %2Blvm8ThzHynnpyo1PFsSzUcr8OdCCDphFmoOFc%3D&reserved=3D0" style=3D"colo= r:purple;text-decoration:underline" target=3D"_blank">https://svn.kannel.or= g/gateway/trunk/</a>=C2=A0 gateway</span><u></u><u></u></div><div style=3D"= margin:0cm 0cm 0.0001pt">cd gateway<br>./bootstrap.sh<br>./configure --with= -defaults=3Dspeed --with-mysql =C2=A0--enable-start-stop-daemon --enable-ss= l =C2=A0--disable-localtime =C2=A0--enable-cookies<span class=3D"gmail-m_38= 60173052938169089Apple-converted-space">=C2=A0</span><br>make;make install<= u></u><u></u></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11p= t;font-family:Calibri,sans-serif"><u></u>=C2=A0<u></u></div></div><div><div= style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-s= erif">Configuring for Kannel gateway version svn-r5278M ...=C2=A0<u></u><u>= </u></div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;f= ont-family:Calibri,sans-serif">=C2=A0..<u></u><u></u></div></div><div><div = style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-se= rif">Showing the database section with the two WARNINGs:<u></u><u></u></div= ></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-famil= y:Calibri,sans-serif">Configuring DB support ...<br>checking whether to com= pile with MySQL support... searching<br>checking for mysql_config... /bin/m= ysql_config<br>checking mysql version... 8.0.17<br>checking mysql reentrant= libs... -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -lrt -lssl -lcrypto= -ldl<br>checking for mysql_init in -lmysqlclient_r... no<br>checking mysql= libs... -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -lrt -lssl -lcrypto= -ldl<br>checking for mysql_init in -lmysqlclient... yes<br>checking mysql = includes... -I/usr/include/mysql<br>checking mysql/mysql.h usability... yes= <br>checking mysql/mysql.h presence... no<br>configure: WARNING: mysql/mysq= l.h: accepted by the compiler, rejected by the preprocessor!<br>configure: = WARNING: mysql/mysql.h: proceeding with the compiler's result<br>checki= ng for mysql/mysql.h... yes<br>checking mysql/mysql_version.h usability... = yes<br>checking mysql/mysql_version.h presence... yes<br>checking for mysql= /mysql_version.h... yes<br>checking for mysql_stmt_init in -lmysqlclient_r.= .. no<br>checking for mysql_stmt_init in -lmysqlclient... yes<br>checking w= hether to compile with MySQL support... yes<br>checking whether to compile = with LibSDB support... disabled<br>checking whether to compile with SQLite2= support... disabled<br>checking whether to compile with SQLite3 support...= disabled<br>checking whether to compile with Oracle support... disabled<br= >checking whether to compile with PostgresSQL support... disabled<br>checki= ng whether to compile with Redis support... disabled<br>checking whether to= compile with FreeTDS Ct-Lib support... disabled<br>checking whether to com= pile with Cassandra support... disabled<u></u><u></u></div></div><div><div = style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-se= rif"><u></u>=C2=A0<u></u></div></div><div><div style=3D"margin:0cm 0cm 0.00= 01pt;font-size:11pt;font-family:Calibri,sans-serif">root@eco007-truservcomm= -jhb1-001 /home/kannel/gateway $ make<br>make =C2=A0all-recursive<br>make[1= ]: Entering directory `/home/kannel/gateway'<br>Making all in gwlib<br>= make[2]: Entering directory `/home/kannel/gateway/gwlib'<br>/bin/sh ../= libtool =C2=A0--tag=3DCC =C2=A0 --mode=3Dcompile gcc -std=3Dgnu99 -DHAVE_CO= NFIG_H -I. -I.. =C2=A0 =C2=A0 -g -O2 -D_XOPEN_SOURCE=3D600 -D_BSD_SOURCE -D= _DEFAULT_SOURCE -D_LARGE_FILES=3D -I/usr/include/libxml2 -I/usr/include/ope= nssl -I/usr/include/mysql -MT dbpool.lo -MD -MP -MF .deps/dbpool.Tpo -c -o = dbpool.lo dbpool.c<br>libtool: compile: =C2=A0gcc -std=3Dgnu99 -DHAVE_CONFI= G_H -I. -I.. -g -O2 -D_XOPEN_SOURCE=3D600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -= D_LARGE_FILES=3D -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/inclu= de/mysql -MT dbpool.lo -MD -MP -MF .deps/dbpool.Tpo -c dbpool.c =C2=A0-fPIC= -DPIC -o .libs/dbpool.o<br>In file included from gwlib.h:83:0,<br>=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from dbpool.c:70:<br= >dbpool_mysql.c: In function 'mysql_select':<br>dbpool_mysql.c:248:= 48: error: 'my_bool' undeclared (first use in this function)<br>=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bind[i].is_null =3D gw_malloc(= sizeof(my_bool));<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>gwmem.h:122:43: note: in def= inition of macro 'gw_malloc'<br>=C2=A0#define gw_malloc(size) (gw_n= ative_malloc(size))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>dbpool_mysql.c:248:48: note: each undeclare= d identifier is reported only once for each function it appears in<br>=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bind[i].is_null =3D gw_malloc(= sizeof(my_bool));<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>gwmem.h:122:43: note: in def= inition of macro 'gw_malloc'<br>=C2=A0#define gw_malloc(size) (gw_n= ative_malloc(size))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>make[2]: *** [dbpool.lo] Error 1<br>make[2]= : Leaving directory `/home/kannel/gateway/gwlib'<br>make[1]: *** [all-r= ecursive] Error 1<br>make[1]: Leaving directory `/home/kannel/gateway'<= br>make: *** [all] Error 2<u></u><u></u></div></div><div><div style=3D"marg= in:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u>= =C2=A0<u></u></div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-si= ze:11pt;font-family:Calibri,sans-serif">root@eco007-truservcomm-jhb1-001 /h= ome/kannel/gateway $ rpm -qa|grep mysql<br>mysql-community-common-8.0.17-1.= el7.x86_64<br>mysql-community-server-8.0.17-1.el7.x86_64<br>mysql-community= -libs-8.0.17-1.el7.x86_64<br>mysql-community-libs-compat-8.0.17-1.el7.x86_6= 4<br>mysql80-community-release-el7-3.noarch<br>mysql-community-client-8.0.1= 7-1.el7.x86_64<br>mysql-community-devel-8.0.17-1.el7.x86_64<u></u><u></u></= div></div><div><div style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-fa= mily:Calibri,sans-serif"><u></u>=C2=A0<u></u></div></div></div></div></div>= </div></blockquote></div><br></div></div></blockquote></div> --00000000000092064b0590f6b4e0--