[Gambas-bugtracker] Bug #1719: gb.db.mysql fails to compile

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jan 24 23:24:35 CET 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1719&from=L21haW4-

Tony MOREHEN reported a new bug.

Summary
-------

gb.db.mysql fails to compile

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : Unknown


Description
-----------

I get the following errors when trying to compile the latest Gambas master f35e4068bfae11f67101b9402a07a8bc07dc285f with mariadb-clients  10.4.11-1.

main.c:772:10: error: ‘SSL_MODE_DISABLED’ undeclared (first use in this f
unction)
  772 |   mode = SSL_MODE_DISABLED;
      |          ^~~~~~~~~~~~~~~~~
main.c:772:10: note: each undeclared identifier is reported only once for
 each function it appears in
main.c:773:23: error: ‘MYSQL_OPT_SSL_MODE’ undeclared (first use in this 
function); did you mean ‘MYSQL_OPT_SSL_CRL’?
  773 |   mysql_options(conn, MYSQL_OPT_SSL_MODE, &mode);
      |                       ^~~~~~~~~~~~~~~~~~
      |                       MYSQL_OPT_SSL_CRL


System information
------------------

[System]
Gambas=3.14.90
OperatingSystem=Linux
Kernel=5.4.13-3-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE
Theme=Qt5CTProxy
Language=en_CA.utf8
Memory=16022M

[Libraries]
Cairo=libcairo.so.2.11703.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GStreamer=libgstreamer-1.0.so.0.1602.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2406.7
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.94.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.14.0
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=xfce-default
DISPLAY=:0
EDITOR=joe
GB_GUI=gb.qt5
GDMSESSION=xfce-default
GTK2_RC_FILES=<home>/.gtkrc-2.0
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
GTK_OVERLAY_SCROLLING=0
HOME=<home>
LANG=en_CA.utf8
LC_ADDRESS=en_CA.UTF-8
LC_IDENTIFICATION=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
LC_MONETARY=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_NUMERIC=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_TIME=en_CA.UTF-8
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MFX_HOME=/opt/intel/mediasdk
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PATH=<home>/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/intel/mediasdk/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1309,unix/<hostname>:/tmp/.ICE-unix/1309
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
VISUAL=gbTE
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=xfce-default
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7




More information about the Bugtracker mailing list