List:General Discussion« Previous MessageNext Message »
From:Sharl.Jimh.Tsin Date:August 16 2011 9:08am
Subject:Re: build mysql 5.5.15 err
View as plain text  
在 2011-08-16二的 16:18 +0800,linshengke写道:
> hi all,
> hear is basic information
> 
> [root@localhost mysql-5.5.15]# uname -a
> Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686
> i686 i386 GNU/Linux
> 
> [root@localhost mysql-5.5.15]# rpm -qa | grep gcc
> libgcc-4.1.2-50.el5
> gcc-c++-4.1.2-50.el5
> gcc-4.1.2-50.el5
> 
> [root@localhost mysql-5.5.15]# rpm -qa | grep bison
> bison-2.3-2.1
> 
> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
> -DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
> -DDEFAULT_CHARSET=utf8 \
> -DDEFAULT_COLLATION=utf8_general_ci \
> -DWITH_EXTRA_CHARSETS:STRING=utf8,gbk \
> -DWITH_MYISAM_STORAGE_ENGINE=1 \
> -DWITH_INNOBASE_STORAGE_ENGINE=1 \
> -DWITH_MEMORY_STORAGE_ENGINE=1 \
> -DWITH_READLINE=1 \
> -DENABLED_LOCAL_INFILE=1 \
> -DMYSQL_DATADIR=/var/mysql/data \
> -DMYSQL_USER=mysql \
> -DWITH_DEBUG=1
> 
> 
> then i run make
> get folling errors
> 
> cc1: warnings being treated as errors
> /tmp/mysql_soft/mysql-5.5.15/strings/ctype-ucs2.c:50: 警告:‘lfactor’
> 定义后未使用
> make[2]: *** [strings/CMakeFiles/strings.dir/ctype-ucs2.c.o] 错误 1
> make[1]: *** [strings/CMakeFilDBbA87V
> 
> someone please give me some instruction?
> 
> thanks
> 
> 2011-08-16 
> 
> 
> 
> andy 

see:"cc1: warnings being treated as errors",so compile stopped.

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

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?10073.

Thread
build mysql 5.5.15 errlinshengke16 Aug
  • Re: build mysql 5.5.15 errSharl.Jimh.Tsin16 Aug