Mysql-cluster 7.2.6 build is failing for gcc 3.4.3
Hi
I am trying to cross compile MYSQL Cluster 7.2.6 src for i686 architecture via toolchain.
Build is failing with following error.
[ 85%] Building CXX object client/CMakeFiles/mysql.dir/mysql.cc.o
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:1042: error: expected constructor, destructor, or type conversion before '*' token
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:1042: error: expected `,' or `;' before '*' token
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc: In function `int not_in_history(const char*)':
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2393: error: `HIST_ENTRY' undeclared (first use this function)
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2393: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2393: error: `oldhist' undeclared (first use this function)
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2393: error: `history_get' undeclared (first use this function)
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc: In function `void initialize_readline(char*)':
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2429: error: invalid conversion from `char**(*)()' to `char**(*)(const char*, int, int)'
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2430: error: invalid conversion from `int (*)(const char*, int)' to `char*(*)(const char*, int)'
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2431: error: invalid conversion from `int (*)()' to `int (*)(int, int)'
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2431: error: initializing argument 2 of `int rl_add_defun(const char*, int (*)(int, int), int)'
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc: In function `char** new_mysql_completion(const char*, int, int)':
/home/users/abhilash/mysql-cluster-gpl-7.2.6/client/mysql.cc:2453: error: `completion_matches' undeclared (first use this function)
make[2]: *** [client/CMakeFiles/mysql.dir/mysql.cc.o] Error 1
make[1]: *** [client/CMakeFiles/mysql.dir/all] Error 2
Note : cross compile gcc version 3.4.3 (Wind River Linux) (built 20050127)
Sytem gcc version 4.1.2 20080704 (Red Hat 4.1.2-51).
Can anyone provide me some information on this ?
Thanks,
Abhilasha
Subject
Views
Written By
Posted
Mysql-cluster 7.2.6 build is failing for gcc 3.4.3
3326
July 02, 2012 02:17AM
1657
July 09, 2012 08:52AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.