Hi, I tried to build rmysql package on my local machine (mips64el) and got the same error. When I manually execute this command in chroot, error does not occur:
echo "#include <mysql.h>" | gcc -std=gnu99 -I/usr/include/mariadb -I/usr/include/mariadb/mysql -g -O2 -fdebug-prefix-map=/build/mariadb-connector-c-dopxmU/mariadb-connector-c-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused -Wno-uninitialized -E -xc - >/dev/null 2>&1 But running debian/rules binary-arch the error still appears. Regards, Radovan