List:Connector/C++« Previous Message
From:Bernd Prager Date:July 8 2014 3:08am
Subject:cygwin 64bit fails
View as plain text  
All,

I am trying to compile the mysql-connector-c++-1.1.3 from source in 
cygwin 1.7.30 / c++ (GCC) 4.8.3.

cmake -L runs successfully.
make fails with:

Linking CXX shared library cygmysqlcppconn-7.dll
c++: error: unrecognized command line option 
‘-map=/usr/src/ports/mysql/mysql-5.5.35-1/build=/usr/src/debug/mysql-5.5.35-1’
c++: error: unrecognized command line option 
‘-map=/usr/src/ports/mysql/mysql-5.5.35-1/build=/usr/src/debug/mysql-5.5.35-1’
driver/CMakeFiles/mysqlcppconn.dir/build.make:638: recipe for target 
'driver/cygmysqlcppconn-7.dll' failed
make[2]: *** [driver/cygmysqlcppconn-7.dll] Error 1
CMakeFiles/Makefile2:95: recipe for target 
'driver/CMakeFiles/mysqlcppconn.dir/all' failed
make[1]: *** [driver/CMakeFiles/mysqlcppconn.dir/all] Error 2

Any help or advice would be welcome.
Thank you,
-- Bernd
Thread
cygwin 64bit failsBernd Prager8 Jul 2014