build mysql 5.5.15 err

build mysql 5.5.15 err

am 16.08.2011 10:18:04 von linshengke

--=====003_Dragon414223060336_=====
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: base64

aGkgYWxsLA0KaGVhciBpcyBiYXNpYyBpbmZvcm1hdGlvbg0KDQpbcm9vdEBs b2NhbGhvc3QgbXlz
cWwtNS41LjE1XSMgdW5hbWUgLWENCkxpbnV4IGxvY2FsaG9zdC5sb2NhbGRv bWFpbiAyLjYuMTgt
MTI4LmVsNSAjMSBTTVAgV2VkIEphbiAyMSAxMDo0NDoyMyBFU1QgMjAwOSBp Njg2IGk2ODYgaTM4
NiBHTlUvTGludXgNCg0KW3Jvb3RAbG9jYWxob3N0IG15c3FsLTUuNS4xNV0j IHJwbSAtcWEgfCBn
cmVwIGdjYw0KbGliZ2NjLTQuMS4yLTUwLmVsNQ0KZ2NjLWMrKy00LjEuMi01 MC5lbDUNCmdjYy00
LjEuMi01MC5lbDUNCg0KW3Jvb3RAbG9jYWxob3N0IG15c3FsLTUuNS4xNV0j IHJwbSAtcWEgfCBn
cmVwIGJpc29uDQpiaXNvbi0yLjMtMi4xDQoNCmNtYWtlIC4gLURDTUFLRV9J TlNUQUxMX1BSRUZJ
WD0vdXNyL2xvY2FsL215c3FsIFwNCi1ETVlTUUxfVU5JWF9BRERSPS90bXAv bXlzcWwuc29jayBc
DQotRERFRkFVTFRfQ0hBUlNFVD11dGY4IFwNCi1EREVGQVVMVF9DT0xMQVRJ T049dXRmOF9nZW5l
cmFsX2NpIFwNCi1EV0lUSF9FWFRSQV9DSEFSU0VUUzpTVFJJTkc9dXRmOCxn YmsgXA0KLURXSVRI
X01ZSVNBTV9TVE9SQUdFX0VOR0lORT0xIFwNCi1EV0lUSF9JTk5PQkFTRV9T VE9SQUdFX0VOR0lO
RT0xIFwNCi1EV0lUSF9NRU1PUllfU1RPUkFHRV9FTkdJTkU9MSBcDQotRFdJ VEhfUkVBRExJTkU9
MSBcDQotREVOQUJMRURfTE9DQUxfSU5GSUxFPTEgXA0KLURNWVNRTF9EQVRB RElSPS92YXIvbXlz
cWwvZGF0YSBcDQotRE1ZU1FMX1VTRVI9bXlzcWwgXA0KLURXSVRIX0RFQlVH PTENCg0KDQp0aGVu
IGkgcnVuIG1ha2UNCmdldCBmb2xsaW5nIGVycm9ycw0KDQpjYzE6IHdhcm5p bmdzIGJlaW5nIHRy
ZWF0ZWQgYXMgZXJyb3JzDQovdG1wL215c3FsX3NvZnQvbXlzcWwtNS41LjE1 L3N0cmluZ3MvY3R5
cGUtdWNzMi5jOjUwOiC+r7jmo7qhrmxmYWN0b3KhryC2qNLluvPOtMq508MN Cm1ha2VbMl06ICoq
KiBbc3RyaW5ncy9DTWFrZUZpbGVzL3N0cmluZ3MuZGlyL2N0eXBlLXVjczIu Yy5vXSC07c7zIDEN
Cm1ha2VbMV06ICoqKiBbc3RyaW5ncy9DTWFrZUZpbERCYkE4N1YNCg0Kc29t ZW9uZSBwbGVhc2Ug
Z2l2ZSBtZSBzb21lIGluc3RydWN0aW9uPw0KDQp0aGFua3MNCg0KMjAxMS0w OC0xNiANCg0KDQoN
CmFuZHkgDQo=

--=====003_Dragon414223060336_=====--

Re: build mysql 5.5.15 err

am 16.08.2011 11:08:37 von amoiz.shine

在 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.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org