ok, the lines that I cut out:
~/mysql++-3.1.0$ make
/home/~/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_mysql++.o -I. -fPIC -DPIC
-I/usr/include/mysql -g -O2 ./lib/mysql++.cpp
g++ -shared -fPIC -o libmysqlpp.so.3.1.0 mysqlpp_beemutex.o mysqlpp_cmdline.o
mysqlpp_connection.o mysqlpp_cpool.o mysqlpp_datetime.o mysqlpp_dbdriver.o
mysqlpp_field_names.o mysqlpp_field_types.o mysqlpp_manip.o mysqlpp_myset.o
mysqlpp_mysql++.o mysqlpp_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_connection.o mysqlpp_transaction.o mysqlpp_type_info.o
mysqlpp_uds_connection.o mysqlpp_utility.o mysqlpp_vallist.o mysqlpp_wnp_connection.o
-Wl,-soname,libmysqlpp.so.3 -lmysqlclient
(cd .; rm -f libmysqlpp.so libmysqlpp.so.3; ln -s libmysqlpp.so.3.1.0 libmysqlpp.so.3; ln
-s libmysqlpp.so.3 libmysqlpp.so)
rm -f libmysqlpp_ssqls2parse.a
ar rcu libmysqlpp_ssqls2parse.a ssqls2parse_parsev2.o
ranlib libmysqlpp_ssqls2parse.a
/home/~/mysql++-3.1.0/bk-deps g++ -c -o ssqlsxlat_genv2.o -Ilib -I/usr/include/mysql
-g -O2 ./ssx/genv2.cpp
g++ -o ssqlsxlat ssqlsxlat_genv2.o ssqlsxlat_main.o -L. -lmysqlclient -lmysqlpp
-lmysqlpp_ssqls2parse
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_array_index_array_index.o -Ilib
-I/usr/include/mysql -g -O2 ./test/array_index.cpp
g++ -o test_array_index test_array_index_array_index.o -L. -lmysqlclient -lmysqlpp
g++ -o test_cpool test_cpool_cpool.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_datetime_datetime.o -Ilib
-I/usr/include/mysql -g -O2 ./test/datetime.cpp
g++ -o test_datetime test_datetime_datetime.o -L. -lmysqlclient -lmysqlpp
g++ -o test_inttypes test_inttypes_inttypes.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_insertpolicy_insertpolicy.o -Ilib
-I/usr/include/mysql -g -O2 ./test/insertpolicy.cpp
g++ -o test_insertpolicy test_insertpolicy_insertpolicy.o -L. -lmysqlclient
-lmysqlpp
/home/kent/mysql++-3.1.0/bk-deps g++ -c -o test_manip_manip.o -Ilib
-I/usr/include/mysql -g -O2 ./test/manip.cpp
g++ -o test_manip test_manip_manip.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_null_comparison_null_comparison.o -Ilib
-I/usr/include/mysql -g -O2 ./test/null_comparison.cpp
g++ -o test_null_comparison test_null_comparison_null_comparison.o -L. -lmysqlclient
-lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_query_copy_query_copy.o -Ilib
-I/usr/include/mysql -g -O2 ./test/query_copy.cpp
g++ -o test_query_copy test_query_copy_query_copy.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_qssqls_qssqls.o -Ilib -I/usr/include/mysql
-g -O2 ./test/qssqls.cpp
g++ -o test_qssqls test_qssqls_qssqls.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_qstream_qstream.o -Ilib
-I/usr/include/mysql -g -O2 ./test/qstream.cpp
g++ -o test_qstream test_qstream_qstream.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_sqlstream_sqlstream.o -Ilib
-I/usr/include/mysql -g -O2 ./test/sqlstream.cpp
g++ -o test_sqlstream test_sqlstream_sqlstream.o -L. -lmysqlclient -lmysqlpp
/home/~/mysql++-3.1.0/bk-deps g++ -c -o test_ssqls2_ssqls2.o -Ilib -I/usr/include/mysql
-g -O2 ./test/ssqls2.cpp
g++ -o test_ssqls2 test_ssqls2_ssqls2.o -L. -lmysqlclient -lmysqlpp
-lmysqlpp_ssqls2parse
________________________________________
From: Warren Young [mysqlpp@stripped]
Sent: Wednesday, January 11, 2012 2:37 AM
To: plusplus@stripped
Subject: Re: new to mysql++, can't get example database set up
On Jan 10, 2012, at 10:55 PM, John Tate wrote:
> You didn't need to uninstall the packages, try putting them back
?? If installing binary versions of MySQL++ was a prerequisite for getting source
tarballs of MySQL++ to work, we'd have an impossible chicken-and-egg situation.
Having two versions of MySQL++ installed is possible, but requires careful -I and -L flag
management to ensure you don't "cross the streams".
I wouldn't recommend that a newbie have two versions installed.
>> I looked around and found that someone had this problem (or a problem like
>> it) in september, and the recommended fix was adding #include <stddef.h>
to
>> refcounted.h and #include <cstring> to genv2.cpp.
You can get these fixes for free by using the svn version of MySQL++ instead of the
last-released tarball.
>> //cut out several lines of what looks like things going smoothly
Seeing some of them might help.
>> ./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o): In function `Type':
>> /home/~/mysql++-3.1.0/./ssx/parsev2.cpp:256: undefined reference to
>> `mysqlpp::internal::str_to_lwr(std::basic_string<char,
This suggests that libmysqlpp.a can't link to libmysqlpp.so. This is why I think the
actual error might be a bit higher up. This looks like collateral damage to me.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus