Problem compiling mysql++ on Windows with mingw
Posted by:
Joey Chua
Date: May 20, 2007 01:40PM
Tried compiling using
$ mingw32-make -f Makefile.mingw
The follwing are output after the command:
g++ -c -o mysqlpp_coldata.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progr am Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_coldata.o -MFmysqlpp_colda ta.o.d -MD lib/coldata.cpp
g++ -c -o mysqlpp_connection.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Pr ogram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_connection.o -MFmysqlpp _connection.o.d -MD lib/connection.cpp
g++ -c -o mysqlpp_datetime.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Prog ram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_datetime.o -MFmysqlpp_dat etime.o.d -MD lib/datetime.cpp
g++ -c -o mysqlpp_field_names.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\P rogram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_field_names.o -MFmysql pp_field_names.o.d -MD lib/field_names.cpp
g++ -c -o mysqlpp_fields.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progra m Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_fields.o -MFmysqlpp_fields. o.d -MD lib/fields.cpp
g++ -c -o mysqlpp_field_types.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\P rogram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_field_types.o -MFmysql pp_field_types.o.d -MD lib/field_types.cpp
g++ -c -o mysqlpp_manip.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Program Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_manip.o -MFmysqlpp_manip.o.d -MD lib/manip.cpp
g++ -c -o mysqlpp_myset.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Program Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_myset.o -MFmysqlpp_myset.o.d -MD lib/myset.cpp
g++ -c -o mysqlpp_mysql++.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progr am Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_mysql++.o -MFmysqlpp_mysql ++.o.d -MD lib/mysql++.cpp
g++ -c -o mysqlpp_qparms.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progra m Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_qparms.o -MFmysqlpp_qparms. o.d -MD lib/qparms.cpp
g++ -c -o mysqlpp_query.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Program Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_query.o -MFmysqlpp_query.o.d -MD lib/query.cpp
g++ -c -o mysqlpp_result.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progra m Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_result.o -MFmysqlpp_result. o.d -MD lib/result.cpp
g++ -c -o mysqlpp_row.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Program F iles\MySQL\MySQL Server 5.0\include" -MTmysqlpp_row.o -MFmysqlpp_row.o.d -MD l ib/row.cpp
g++ -c -o mysqlpp_sql_string.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Pr ogram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_sql_string.o -MFmysqlpp _sql_string.o.d -MD lib/sql_string.cpp
g++ -c -o mysqlpp_string_util.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\P rogram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_string_util.o -MFmysql pp_string_util.o.d -MD lib/string_util.cpp
g++ -c -o mysqlpp_transaction.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\P rogram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_transaction.o -MFmysql pp_transaction.o.d -MD lib/transaction.cpp
g++ -c -o mysqlpp_type_info.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Pro gram Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_type_info.o -MFmysqlpp_t ype_info.o.d -MD lib/type_info.cpp
g++ -c -o mysqlpp_vallist.o -g -mthreads -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progr am Files\MySQL\MySQL Server 5.0\include" -MTmysqlpp_vallist.o -MFmysqlpp_valli st.o.d -MD lib/vallist.cpp
g++ -shared -fPIC -o mysqlpp.dll mysqlpp_coldata.o mysqlpp_connection.o mysqlpp_ datetime.o mysqlpp_field_names.o mysqlpp_fields.o mysqlpp_field_types.o mysqlpp_ manip.o mysqlpp_myset.o mysqlpp_mysql++.o mysqlpp_qparms.o mysqlpp_query.o mysql pp_result.o mysqlpp_row.o mysqlpp_sql_string.o mysqlpp_string_util.o mysqlpp_tra nsaction.o mysqlpp_type_info.o mysqlpp_vallist.o -Wl,--out-implib=libmysqlpp.a -g -mthreads -L"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt" -lmysqlclient
Creating library file: libmysqlpp.a
g++ -c -o util_util.o -mthreads -g -Ilib -D_UNICODE -DMYSQLPP_NO_DLL -I"C:\Progr am Files\MySQL\MySQL Server 5.0\include" -MTutil_util.o -MFutil_util.o.d -MD e xamples/util.cpp
if exist libmysqlpp_util.a del libmysqlpp_util.a
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
C:\mingw\bin\mingw32-make.exe: *** [libmysqlpp_util.a] Error 258
Does someone know what to do? Thanks!
Subject
Views
Written By
Posted
Problem compiling mysql++ on Windows with mingw
5964
May 20, 2007 01:40PM
3051
September 09, 2007 05:06PM
3453
September 25, 2007 09:58PM
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.