Re: [CMake] Cross Compile MySQL Connector/C for Linux/PowerPC architecture using CMake - Failure

2013-03-27 Thread Niranjan M
Hi, This problem is now resolved, my tool chain already had a definition for RINT which was causing the problem, but cmake was unable to detect it. I commented out this part from my_global.h file which solved the problem. With Regards, Niranjan On Wed, Mar 20, 2013 at 6:03 PM, Niranjan M

Re: [CMake] Cross Compile MySQL Connector/C for Linux/PowerPC architecture using CMake - Failure

2013-03-20 Thread Niranjan M
); return i; } #endif /* HAVE_RINT */ With Regards, Niranjan On Wed, Mar 20, 2013 at 2:18 PM, Niranjan M wrote: > Hi Brad, >Thanks for the help. I uninstalled my older CMAKE 2.8.7 ans > installed the latest CMAKE which is 2.8.10.2. > > I am still getting the same er

Re: [CMake] Cross Compile MySQL Connector/C for Linux/PowerPC architecture using CMake - Failure

2013-03-20 Thread Niranjan M
compiler, I am not getting similar problem for *ppc_4xx-g++* which is my C++ compiler. I am attaching the new build file. With Regards, Niranjan On Wed, Mar 20, 2013 at 1:24 PM, Brad King wrote: > On 3/19/2013 5:51 PM, Niranjan M wrote: > > --debug-trycompile > ... > > --

[CMake] Cross Compile MySQL Connector/C for Linux/PowerPC architecture using CMake - Failure

2013-03-19 Thread Niranjan M
Hi All, I am trying to cross compile MySql Connector/C for Linux/PowerPC architecture and I am getting the below error. PS: CMAKE Version used is 2.8.7 Command: Step 1: Setup my tool chain for PowerPC Step 2: Cmake command cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=~/NewDataBaseStu