List:MySQL++« Previous MessageNext Message »
From:Kartik Mahajan Date:August 16 2008 5:25am
Subject:RE: Unable to build MySQL++ on Solaris
View as plain text  

-----Original Message-----
From: Warren Young [mailto:mysqlpp@stripped] 
Sent: Thursday, August 14, 2008 4:16 PM
To: plusplus@stripped
Subject: Re: Unable to build MySQL++ on Solaris

On Aug 14, 2008, at 12:35 AM, Kartik Mahajan wrote:

> /rusers/Charging/kartikm/mysql++/mysql++-3.0.5>>./configure
> --enable-thread-check --with-mysql=/rusers/Charging/kartikm/mysql

It should build if you turn off the check for threads.  Clearly more  
work is needed to make that case work.

-- 
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=1



Hi, 

Even if I turn off the check for threads it does not compile. Here is the
output of make. I guess that mysqlpp has been built and the example programs
are giving linker error. I also need thread check facility as its very
important in the application I am writing. Kindly please give me some
guidance/suggestion or link etc that could help me build mysql++ on solaris
with --enable-thread-check.

Here is the output of make after >>./configure --
with-mysql=/rusers/Charging/kartikm/mysql

/rusers/Charging/kartikm/mysql++/mysql++-3.0.5>>make
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_beemutex.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/beemutex.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_connection.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/connection.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_cpool.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./lib/cpool.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_datetime.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/datetime.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_dbdriver.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/dbdriver.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_field_names.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/field_names.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_field_types.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/field_types.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_manip.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./lib/manip.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_myset.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./lib/myset.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_mysql++.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/mysql++.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_mystring.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/mystring.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_null.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./lib/null.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_options.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/options.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_qparms.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/qparms.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_query.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./lib/query.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_result.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/result.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_row.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./lib/row.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_sql_buffer.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/sql_buffer.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_stadapter.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/stadapter.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_tcp_connection.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/tcp_connection.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_transaction.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/transaction.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_type_info.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/type_info.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_uds_connection.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/uds_connection.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_vallist.o -I. -fPIC -DPIC  -I/rusers/Charging/kartikm/mysql/include
-g -O2 ./lib/vallist.cpp
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
mysqlpp_wnp_connection.o -I. -fPIC -DPIC
-I/rusers/Charging/kartikm/mysql/include -g -O2 ./lib/wnp_connection.cpp
g++ -shared -fPIC -o libmysqlpp.so.3.0.5 mysqlpp_beemutex.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_sql_buffer.o  mysqlpp_stadapter.o
mysqlpp_tcp_connection.o  mysqlpp_transaction.o  mysqlpp_type_info.o
mysqlpp_uds_connection.o  mysqlpp_vallist.o  mysqlpp_wnp_connection.o
-L/rusers/Charging/kartikm/mysql/lib  -hlibmysqlpp.so.3.0.5     -lnsl
-lsocket   -lintl -lnsl -lsocket -lmysqlclient
(cd .; rm -f  libmysqlpp.so  libmysqlpp.so.3; ln -s  libmysqlpp.so.3.0.5
libmysqlpp.so.3; ln -s  libmysqlpp.so.3  libmysqlpp.so)
/rusers/Charging/kartikm/mysql++/mysql++-3.0.5/bk-deps g++ -c -o
test_cpool_cpool.o -Ilib      -I/rusers/Charging/kartikm/mysql/include -g
-O2 ./test/cpool.cpp
g++ -o test_cpool test_cpool_cpool.o -L/rusers/Charging/kartikm/mysql/lib
-L.  -lnsl -lsocket   -lintl -lnsl -lsocket -lmysqlclient -lmysqlpp
Undefined                       first referenced
 symbol                             in file
mysql_next_result                   ./libmysqlpp.so
mysql_more_results                  ./libmysqlpp.so
mysql_set_server_option             ./libmysqlpp.so
ld: fatal: Symbol referencing errors. No output written to test_cpool
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `test_cpool'

Thread
Unable to build MySQL++ on SolarisKartik Mahajan14 Aug
  • Re: Unable to build MySQL++ on SolarisWarren Young14 Aug
    • RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
      • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
          • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
    • Re: Unable to build MySQL++ on SolarisJonathan Wakely16 Aug
      • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
          • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
  • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
    • RE: Unable to build MySQL++ on SolarisKartik Mahajan22 Aug
      • Re: Unable to build MySQL++ on SolarisWarren Young22 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan22 Aug
      • Re: Unable to build MySQL++ on SolarisJonathan Wakely22 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan23 Aug
          • Re: Unable to build MySQL++ on SolarisWarren Young23 Aug