List:MySQL++« Previous MessageNext Message »
From:Chris Langlois Date:January 10 2011 7:14am
Subject:Errors while compiling under cygwin
View as plain text  
I'm compiling on a 64 bit windows machine running cygwin with the 3.1.0
source code.

I receive the following errors when I run a make, any ideas?

$ make
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_beemutex.o -I.
-I/usr/local/
mysql/include -g -O2 ./lib/beemutex.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_cmdline.o -I.
-I/usr/local/m
ysql/include -g -O2 ./lib/cmdline.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_connection.o -I.
-I/usr/loca
l/mysql/include -g -O2 ./lib/connection.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_cpool.o -I.
-I/usr/local/mys
ql/include -g -O2 ./lib/cpool.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_datetime.o -I.
-I/usr/local/
mysql/include -g -O2 ./lib/datetime.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_dbdriver.o -I.
-I/usr/local/
mysql/include -g -O2 ./lib/dbdriver.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_field_names.o -I.
-I/usr/loc
al/mysql/include -g -O2 ./lib/field_names.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_field_types.o -I.
-I/usr/loc
al/mysql/include -g -O2 ./lib/field_types.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_manip.o -I.
-I/usr/local/mys
ql/include -g -O2 ./lib/manip.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_myset.o -I.
-I/usr/local/mys
ql/include -g -O2 ./lib/myset.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_mysql++.o -I.
-I/usr/local/m
ysql/include -g -O2 ./lib/mysql++.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_mystring.o -I.
-I/usr/local/
mysql/include -g -O2 ./lib/mystring.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_null.o -I.
-I/usr/local/mysq
l/include -g -O2 ./lib/null.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_options.o -I.
-I/usr/local/m
ysql/include -g -O2 ./lib/options.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_qparms.o -I.
-I/usr/local/my
sql/include -g -O2 ./lib/qparms.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_query.o -I.
-I/usr/local/mys
ql/include -g -O2 ./lib/query.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_result.o -I.
-I/usr/local/my
sql/include -g -O2 ./lib/result.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_row.o -I.
-I/usr/local/mysql
/include -g -O2 ./lib/row.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_scopedconnection.o -I.
-I/us
r/local/mysql/include -g -O2 ./lib/scopedconnection.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_sql_buffer.o -I.
-I/usr/loca
l/mysql/include -g -O2 ./lib/sql_buffer.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_sqlstream.o -I.
-I/usr/local
/mysql/include -g -O2 ./lib/sqlstream.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_ssqls2.o -I.
-I/usr/local/my
sql/include -g -O2 ./lib/ssqls2.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_stadapter.o -I.
-I/usr/local
/mysql/include -g -O2 ./lib/stadapter.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_tcp_connection.o -I.
-I/usr/
local/mysql/include -g -O2 ./lib/tcp_connection.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_transaction.o -I.
-I/usr/loc
al/mysql/include -g -O2 ./lib/transaction.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_type_info.o -I.
-I/usr/local
/mysql/include -g -O2 ./lib/type_info.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_uds_connection.o -I.
-I/usr/
local/mysql/include -g -O2 ./lib/uds_connection.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_utility.o -I.
-I/usr/local/m
ysql/include -g -O2 ./lib/utility.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_vallist.o -I.
-I/usr/local/m
ysql/include -g -O2 ./lib/vallist.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_wnp_connection.o -I.
-I/usr/
local/mysql/include -g -O2 ./lib/wnp_connection.cpp
g++ -shared -o cygmysqlpp-3.dll mysqlpp_beemutex.o mysqlpp_cmdline.o
mysqlpp_con
nection.o mysqlpp_cpool.o mysqlpp_datetime.o mysqlpp_dbdriver.o
mysqlpp_field_na
mes.o mysqlpp_field_types.o mysqlpp_manip.o mysqlpp_myset.o
mysqlpp_mysql++.o my
sqlpp_mystring.o mysqlpp_null.o mysqlpp_options.o mysqlpp_qparms.o
mysqlpp_query
.o mysqlpp_result.o mysqlpp_row.o mysqlpp_scopedconnection.o
mysqlpp_sql_buffer.
o mysqlpp_sqlstream.o mysqlpp_ssqls2.o mysqlpp_stadapter.o
mysqlpp_tcp_connectio
n.o mysqlpp_transaction.o mysqlpp_type_info.o mysqlpp_uds_connection.o
mysqlpp_u
tility.o mysqlpp_vallist.o mysqlpp_wnp_connection.o
-Wl,--out-implib=libmysqlpp
.dll.a     -lmysqlclient   -L/usr/local/mysql/lib -Wl,--enable-auto-import
-lin
tl
Creating library file: libmysqlpp.dll.a
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o ssqls2parse_parsev2.o -Ilib -I.
-I/us
r/local/mysql/include -g -O2 ./ssx/parsev2.cpp
rm -f libmysqlpp_ssqls2parse.a
ar rcu libmysqlpp_ssqls2parse.a ssqls2parse_parsev2.o
ranlib libmysqlpp_ssqls2parse.a
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o ssqlsxlat_genv2.o -Ilib
-I/usr/lo
cal/mysql/include -g -O2 ./ssx/genv2.cpp
/home/tas/mysql++-3.1.0/bk-deps g++ -c -o ssqlsxlat_main.o -Ilib
-I/usr/loc
al/mysql/include -g -O2 ./ssx/main.cpp
g++ -o ssqlsxlat.exe ssqlsxlat_genv2.o ssqlsxlat_main.o    -L.
-lmysqlclient   -
L/usr/local/mysql/lib -Wl,--enable-auto-import  -lmysqlpp
-lmysqlpp_ssqls2parse
-lintl
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o): In function
`_ZN7ParseV26Opti
on10parse_boolERKSs':
/home/tas/mysql++-3.1.0/./ssx/parsev2.cpp:579: undefined reference to
`mysqlpp::
internal::str_to_lwr(std::basic_string<char, std::char_traits<char>,
std::alloca
tor<char> >&)'
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o): In function
`_ZN7ParseV25Fiel
d4TypeC1ERKSs':
/home/tas/mysql++-3.1.0/./ssx/parsev2.cpp:256: undefined reference to
`mysqlpp::
internal::str_to_lwr(std::basic_string<char, std::char_traits<char>,
std::alloca
tor<char> >&)'
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o): In function
`_ZN7ParseV25Fiel
d4TypeC2ERKSs':
/home/tas/mysql++-3.1.0/./ssx/parsev2.cpp:256: undefined reference to
`mysqlpp::
internal::str_to_lwr(std::basic_string<char, std::char_traits<char>,
std::alloca
tor<char> >&)'
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o): In function
`_ZN7ParseV25Tabl
e5parseERKSt6vectorISsSaISsEEbRKNS_4FileE':
/home/tas/mysql++-3.1.0/./ssx/parsev2.cpp:625: undefined reference to
`mysqlpp::
internal::str_to_lwr(std::basic_string<char, std::char_traits<char>,
std::alloca
tor<char> >&)'
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o): In function
`_ZN7ParseV25Fiel
d5parseERKSt6vectorISsSaISsEEbRKNS_4FileE':
/home/tas/mysql++-3.1.0/./ssx/parsev2.cpp:192: undefined reference to
`mysqlpp::
internal::str_to_lwr(std::basic_string<char, std::char_traits<char>,
std::alloca
tor<char> >&)'
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o):/home/tas/mysql++-3.1.0/./ssx/
parsev2.cpp:496: more undefined references to
`mysqlpp::internal::str_to_lwr(std
::basic_string<char, std::char_traits<char>, std::allocator<char>
>&)'
follow
collect2: ld returned 1 exit status
make: *** [ssqlsxlat.exe] Error 1

Thanks.

Thread
Errors while compiling under cygwinChris Langlois10 Jan
  • Re: Errors while compiling under cygwinJonathan Wakely10 Jan
    • Re: Errors while compiling under cygwinChris Langlois10 Jan
    • Re: Errors while compiling under cygwinWarren Young10 Jan