Christian Hammers a écrit :
Hello Joel
Hello Christian,
On 2005-10-25 BERTRAND Joël wrote:
I have received from mysql.com :
This is not first time that we see 32-bit calls failing on 64-bit
system. But you can check it out by manually changing config.h,
specifically:
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1
Try undefining both and re-run complete make.
I shall try.
Did you try? Any news?
I have tried with the official sources (mysql-4.1.15) that come from
www.mysql.com web page.
if g++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME=\/export/home/bertrand/mysql\
-DDATADIR=\/export/home/bertrand/mysql/var\
-DSHAREDIR=\/export/home/bertrand/mysql/share/mysql\ -DHAVE_CONFIG_H
-I. -I. -I.. -I../innobase/include -I../include -I../include -I../regex
-I. -O3 -DDBUG_OFF-fno-implicit-templates -fno-exceptions
-fno-rtti -MT sql_analyse.o -MD -MP -MF .deps/sql_analyse.Tpo -c -o
sql_analyse.o sql_analyse.cc; \
then mv -f .deps/sql_analyse.Tpo .deps/sql_analyse.Po; else rm -f
.deps/sql_analyse.Tpo; exit 1; fi
sql_analyse.cc: In member function 'virtual void field_longlong::add()':
sql_analyse.cc:506: internal compiler error: in invert_exp_1, at jump.c:1719
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see URL:file:///usr/share/doc/gcc-4.0/README.Bugs.
make[4]: *** [sql_analyse.o] Erreur 1
make[4]: quittant le répertoire «
/export/home/bertrand/mysql/mysql-4.1.15/sql »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire «
/export/home/bertrand/mysql/mysql-4.1.15/sql »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire «
/export/home/bertrand/mysql/mysql-4.1.15/sql »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /export/home/bertrand/mysql/mysql-4.1.15 »
make: *** [all] Erreur 2
kant:[~/mysql/mysql-4.1.15]
This bug comes from g++-4.0. I have compiled this source with g++-3.3.
I have tried to connect to my server and the connection can be established :
kant:[~/mysql/mysql-4.1.15/client] ./mysql -uroot -p -halain
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 103 to server version: 4.1.14-Debian_6-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql
Best regards,
JKB