percona5.1 compile error on centos5.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Low
|
Unassigned |
Bug Description
(cd .libs && rm -f libmysqlclient_r.la && ln -s ../libmysqlclie
if gcc -DDEFAULT_
then mv -f ".deps/
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -g -O2 -DUNIV_LINUX -DUNIV_LINUX -rdynamic -o conf_to_src -static conf_to_src.o -lrt -lpthread -lcrypt -lnsl -lm -lpthread -lz
gcc -g -O2 -DUNIV_LINUX -DUNIV_LINUX -rdynamic -o conf_to_src conf_to_src.o -lrt -lpthread -lcrypt -lnsl -lm -lpthread -lz
make[2]: Leaving directory `/root/
make[1]: Leaving directory `/root/
Making all in client
make[1]: Entering directory `/root/
make all-am
make[2]: Entering directory `/root/
if g++ -DMYSQL_
then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
mysql.cc:1057: error: expected constructor, destructor, or type conversion before ‘*’ token
mysql.cc: In function ‘int not_in_
mysql.cc:2482: error: ‘HIST_ENTRY’ was not declared in this scope
mysql.cc:2482: error: ‘oldhist’ was not declared in this scope
mysql.cc:2482: error: ‘history_get’ was not declared in this scope
mysql.cc: In function ‘void initialize_
mysql.cc:2518: error: invalid conversion from ‘char** (*)()’ to ‘char** (*)(const char*, int, int)’
mysql.cc:2519: error: invalid conversion from ‘int (*)(const char*, int)’ to ‘char* (*)(const char*, int)’
mysql.cc:2520: error: invalid conversion from ‘int (*)()’ to ‘int (*)(int, int)’
mysql.cc:2520: error: initializing argument 2 of ‘int rl_add_defun(const char*, int (*)(int, int), int)’
mysql.cc: In function ‘char** new_mysql_
mysql.cc:2542: error: ‘completion_
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/root/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/
make: *** [all-recursive] Error 1
configure command is
./configure --prefix=
platform info
Linux SN-HP 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:25:58 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Changed in percona-server: | |
importance: | Undecided → Low |
Changed in percona-server: | |
status: | New → Incomplete |
and the version is Server- 5.1.60
Percona-