List:General Discussion« Previous MessageNext Message »
From:Sharl Jimh Tsin Date:November 16 2010 7:49am
Subject:Compile error on MySQL 5.5.7 rc version,help!
View as plain text  
hi,everyone:
i need your helps,really!! this is my second compiling-failed on 
building my own MySQL already.previous is version 5.5.6 rc,now is 5.5.7 rc.
my build environment is centos 5 x86,full name is Linux PowerPC 
2.6.18-194.8.1.el5.028stab070.5 #1 SMP Fri Sep 17 19:10:36 MSD 2010 i686 
i686 i386 GNU/Linux.

i download the last dev branch of version 5.5.x's source tarball from 
MySQL's http mirror,then unpack it.
this is my configure strings:

[root@PowerPC mysql-5.5.7-rc]# ./configure \
 > --prefix=/usr/local/mysql \
 > --exec-prefix=/usr/local \
 > --sysconfdir=/etc/sysconfig/mysql \
 > --localstatedir=/var/run \
 > --enable-profiling \
 > --disable-largefile \
 > --disable-ipv6 \
 > --with-charset=utf8 \
 > --with-extra-charsets=all \
 > --with-unix-socket-path=/tmp/mysql.sock \
 > --with-mysqld-user=mysql \
 > --with-zlib-dir=bundled \
 > --with-low-memory \
 > --with-embedded-server \
 > --without-geometry \
 > --with-embedded-privilege-control \
 > --without-docs \
 > --without-man

no error & warning reported this step. then going to MAKE it,and the 
errors below break it.

regex -I../../sql -I. -g -O2 -DUNIV_LINUX -MT mi_static.o -MD -MP -MF 
.deps/mi_static.Tpo -c -o mi_static.o mi_static.c
mi_static.c:40: error: conflicting types for ‘myisam_max_temp_length’
../../include/myisam.h:254: error: previous declaration of 
‘myisam_max_temp_length’ was here
make[2]: *** [mi_static.o] Error 1
make[2]: Leaving directory `/root/mysql-5.5.7-rc/storage/myisam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-5.5.7-rc/storage'
make: *** [all-recursive] Error 1

what should i do now? thanks for any tips.

-- 
Best regards,
Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*)

Thread
Compile error on MySQL 5.5.7 rc version,help!Sharl Jimh Tsin16 Nov