Hello Any ideas? -christian-
Package: mysql Version: 3.23.33-1 Severity: normal Greetings, The build fails on ARM. Here's the end of the build log: g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OFF -O2 -fomit-frame-pointer -g -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -c mini_client.cc cc1plus: warning: -g with -fomit-frame-pointer may not give sensible debugging mini_client.cc: In function `int mc_sock_connect(int, const sockaddr *, unsigned int, unsigned int)': mini_client.cc:300: passing `size_socket *' as argument 5 of `getsockopt(int, int, int, void *, socklen_t *)' changes signedness mini_client.cc: In function `struct MYSQL * mc_mysql_connect(MYSQL *, const char *, const char *, const char *, const char *, unsigned int, const char *, unsigned int)': mini_client.cc:590: passing `int *' as argument 5 of `gethostbyname_r(const char *, hostent *, char *, unsigned int, hostent **, int *)' make[4]: *** [mini_client.o] Error 1 make[4]: Leaving directory `/redhat/packages/mysql-3.23.33/sql' Looks like it might be a char sign issue. ARM defaults to unsigned char (as does PPC). Does a "signed" or "unsigned" need to go in front of "char" in one of these files? I'd suggest "-funsigned-char", but that can cause other problems (like the Gnucash "missing cents" bug, where signed-char's CHAR_MAX=127 was being compared to precompiled unsigned CHAR_MAX=255 in glibc). Thanks, -Adam P. GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Welcome to the best software in the world today cafe! -- System Information Debian Release: testing/unstable Kernel Version: Linux p4-117-1 2.4.1 #1 Fri Feb 9 14:11:44 GMT 2001 armv4l unknown
--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php