You can download Ubuntu 12.04 LTS from here
sudo apt-get udate
sudo apt-get install git ruby
git clone -b public git://g.csail.mit.edu/cryptdb
cd cryptdb
sudo ./scripts/install.rb .
If you want to install it on Ubuntu 14.04 take a look at [4]
[ 87%] Building C object libmysqld/CMakeFiles/sql_embedded.dir/__/sql-common/pack.c.o
[ 87%] Building C object libmysqld/CMakeFiles/sql_embedded.dir/__/sql-common/client_plugin.c.o
[ 87%] Building C object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/password.c.o
[ 87%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/discover.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/derror.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/field.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/field_conv.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/filesort.cc.o
/home/maverick/cryptdb/mysql-src/sql/filesort.cc: In function ‘void make_sortkey(SORTPARAM*, uchar*, uchar*)’:
/home/maverick/cryptdb/mysql-src/sql/filesort.cc:841:16: warning: variable ‘tmp_length’ set but not used [-Wunused-but-set-variable]
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/gstream.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/handler.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/hash_filo.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/hostname.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/init.cc.o
[ 88%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_buff.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_cmpfunc.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_create.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_func.cc.o
/home/maverick/cryptdb/mysql-src/sql/item_func.cc: In member function ‘virtual void Item_func_get_user_var::fix_length_and_dec()’:
/home/maverick/cryptdb/mysql-src/sql/item_func.cc:5087:7: warning: variable ‘error’ set but not used [-Wunused-but-set-variable]
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_row.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_strfunc.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_subselect.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_sum.cc.o
[ 89%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_timefunc.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_xmlfunc.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/key.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/lock.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/log.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/log_event.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/mf_iocache.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/my_decimal.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/net_serv.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/opt_range.cc.o
[ 90%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/opt_sum.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/parse_file.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/procedure.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/protocol.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/records.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/repl_failsafe.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/rpl_filter.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/rpl_record.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sha2.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/des_key_file.cc.o
[ 91%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/rpl_injector.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/set_var.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/spatial.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sp_cache.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sp.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sp_head.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sp_pcontext.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sp_rcontext.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_acl.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_analyse.cc.o
[ 92%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_base.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_cache.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_class.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_crypt.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_cursor.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_db.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_delete.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_derived.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_do.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_error.cc.o
[ 93%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_handler.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_help.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_insert.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/datadict.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_admin.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_truncate.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_reload.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_lex.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/keycaches.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_list.cc.o
[ 94%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_load.cc.o
/home/maverick/cryptdb/mysql-src/sql/sql_load.cc: In function ‘int mysql_load(THD*, sql_exchange*, TABLE_LIST*, List<Item>&, List<Item>&, List<Item>&, enum_duplicates, bool, bool)’:
/home/maverick/cryptdb/mysql-src/sql/sql_load.cc:188:8: warning: variable ‘transactional_table’ set but not used [-Wunused-but-set-variable]
/home/maverick/cryptdb/mysql-src/sql/sql_load.cc:189:8: warning: variable ‘is_concurrent’ set but not used [-Wunused-but-set-variable]
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_locale.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_binlog.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_manager.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_parse.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_partition.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_plugin.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/debug_sync.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_prepare.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_rename.cc.o
[ 95%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_repl.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_select.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_servers.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_show.cc.o
[ 96%] Building C object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_state.c.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_string.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_tablespace.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_table.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_test.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_trigger.cc.o
[ 96%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_udf.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_union.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_update.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_view.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_profile.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/strfunc.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/table.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/thr_malloc.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_time.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/tztime.cc.o
[ 97%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/uniques.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/unireg.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/partition_info.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_connect.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/scheduler.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_audit.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_alter.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_partition_admin.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/event_parse_data.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_signal.cc.o
[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/rpl_handler.cc.o
[ 99%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/rpl_utility.cc.o
[ 99%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sys_vars.cc.o
[ 99%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_builtin.cc.o
[ 99%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/mdl.cc.o
[ 99%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/transaction.cc.o
[ 99%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o
Linking CXX static library libsql_embedded.a
[ 99%] Built target sql_embedded
[ 99%] Generating mysqlserver_depends.c
Scanning dependencies of target mysqlserver
[ 99%] Building C object libmysqld/CMakeFiles/mysqlserver.dir/mysqlserver_depends.c.o
Linking C static library libmysqld.a
/usr/bin/ar: creating /home/maverick/cryptdb/mysql-src/build/libmysqld/libmysqld.a
[ 99%] Built target mysqlserver
Scanning dependencies of target mysql_client_test_embedded
[ 99%] Building C object libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/__/__/tests/mysql_client_test.c.o
/home/maverick/cryptdb/mysql-src/tests/mysql_client_test.c: In function ‘test_bug33831’:
/home/maverick/cryptdb/mysql-src/tests/mysql_client_test.c:18599:11: warning: variable ‘error’ set but not used [-Wunused-but-set-variable]
Linking CXX executable mysql_client_test_embedded
[ 99%] Built target mysql_client_test_embedded
Scanning dependencies of target mysql_embedded
[ 99%] Building CXX object libmysqld/examples/CMakeFiles/mysql_embedded.dir/__/__/client/completion_hash.cc.o
[ 99%] Building CXX object libmysqld/examples/CMakeFiles/mysql_embedded.dir/__/__/client/mysql.cc.o
[100%] Building CXX object libmysqld/examples/CMakeFiles/mysql_embedded.dir/__/__/client/readline.cc.o
Linking CXX executable mysql_embedded
[100%] Built target mysql_embedded
Scanning dependencies of target mysqltest_embedded
[100%] Building CXX object libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/__/__/client/mysqltest.cc.o
Linking CXX executable mysqltest_embedded
[100%] Built target mysqltest_embedded
Scanning dependencies of target my_safe_process
[100%] Building CXX object mysql-test/lib/My/SafeProcess/CMakeFiles/my_safe_process.dir/safe_process.cc.o
Linking CXX executable my_safe_process
[100%] Built target my_safe_process
Building cryptdb...
perl mergedep.pl obj/.deps
rm -rf obj
perl mergedep.pl obj/.deps
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/BasicCrypto.cc -o obj/crypto/BasicCrypto.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/paillier.cc -o obj/crypto/paillier.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/urandom.cc -o obj/crypto/urandom.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/arc4.cc -o obj/crypto/arc4.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/hgd.cc -o obj/crypto/hgd.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/pbkdf2.cc -o obj/crypto/pbkdf2.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/ecjoin.cc -o obj/crypto/ecjoin.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/ECJoin.cc -o obj/crypto/ECJoin.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/search.cc -o obj/crypto/search.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/skip32.cc -o obj/crypto/skip32.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/ffx.cc -o obj/crypto/ffx.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/online_ope.cc -o obj/crypto/online_ope.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/mont.cc -o obj/crypto/mont.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/prng.cc -o obj/crypto/prng.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/ope.cc -o obj/crypto/ope.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c crypto/SWPSearch.cc -o obj/crypto/SWPSearch.o
ar r obj/libedbcrypto.a obj/crypto/BasicCrypto.o obj/crypto/paillier.o obj/crypto/urandom.o obj/crypto/arc4.o obj/crypto/hgd.o obj/crypto/pbkdf2.o obj/crypto/ecjoin.o obj/crypto/ECJoin.o obj/crypto/search.o obj/crypto/skip32.o obj/crypto/ffx.o obj/crypto/online_ope.o obj/crypto/mont.o obj/crypto/prng.o obj/crypto/ope.o obj/crypto/SWPSearch.o
ar: creating obj/libedbcrypto.a
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c util/onions.cc -o obj/util/onions.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c util/cryptdb_log.cc -o obj/util/cryptdb_log.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c util/ctr.cc -o obj/util/ctr.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c util/util.cc -o obj/util/util.o
echo "#include <util/version.hh>" > obj/util/version.cc.tmp
( REL="$(git describe --always --long --dirty=+dirty)" ; \
echo "const char* cryptdb_version_string = \"$REL\";" >> obj/util/version.cc.tmp )
cmp -s obj/util/version.cc.tmp obj/util/version.cc || mv obj/util/version.cc.tmp obj/util/version.cc
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c obj/util/version.cc -o obj/util/version.o
g++ -shared -o obj/libedbutil.so obj/util/onions.o obj/util/cryptdb_log.o obj/util/ctr.o obj/util/util.o obj/util/version.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -lntl -lcrypto -lgmp
g++ -shared -o obj/libedbcrypto.so obj/crypto/BasicCrypto.o obj/crypto/paillier.o obj/crypto/urandom.o obj/crypto/arc4.o obj/crypto/hgd.o obj/crypto/pbkdf2.o obj/crypto/ecjoin.o obj/crypto/ECJoin.o obj/crypto/search.o obj/crypto/skip32.o obj/crypto/ffx.o obj/crypto/online_ope.o obj/crypto/mont.o obj/crypto/prng.o obj/crypto/ope.o obj/crypto/SWPSearch.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbutil -lcrypto -lntl
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c parser/sql_utils.cc -o obj/parser/sql_utils.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c parser/Annotation.cc -o obj/parser/Annotation.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c parser/lex_util.cc -o obj/parser/lex_util.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c parser/embedmysql.cc -o obj/parser/embedmysql.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c parser/mysqld-filler.cc -o obj/parser/mysqld-filler.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c parser/mysql_type_metadata.cc -o obj/parser/mysql_type_metadata.o
g++ -shared -o obj/libedbparser.so obj/parser/sql_utils.o obj/parser/Annotation.o obj/parser/lex_util.o obj/parser/embedmysql.o obj/parser/mysqld-filler.o obj/parser/mysql_type_metadata.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbutil -ledbcrypto \
-Wl,--whole-archive -L/home/maverick/cryptdb/mysql-src/build/libmysqld -lmysqld \
-Wl,--no-whole-archive -laio -lz -ldl -lrt -lcrypt
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/cdb_test.cc -o obj/main/cdb_test.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/schema.cc -o obj/main/schema.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/Translator.cc -o obj/main/Translator.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/Connect.cc -o obj/main/Connect.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/Analysis.cc -o obj/main/Analysis.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/CryptoHandlers.cc -o obj/main/CryptoHandlers.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_util.cc -o obj/main/rewrite_util.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_field.cc -o obj/main/rewrite_field.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/dispatcher.cc -o obj/main/dispatcher.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/sql_handler.cc -o obj/main/sql_handler.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/dml_handler.cc -o obj/main/dml_handler.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/ddl_handler.cc -o obj/main/ddl_handler.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/alter_sub_handler.cc -o obj/main/alter_sub_handler.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_const.cc -o obj/main/rewrite_const.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_func.cc -o obj/main/rewrite_func.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_sum.cc -o obj/main/rewrite_sum.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/metadata_tables.cc -o obj/main/metadata_tables.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/error.cc -o obj/main/error.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/stored_procedures.cc -o obj/main/stored_procedures.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_ds.cc -o obj/main/rewrite_ds.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c main/rewrite_main.cc -o obj/main/rewrite_main.o
g++ -shared -o obj/libcryptdb.so obj/main/schema.o obj/main/Translator.o obj/main/Connect.o obj/main/Analysis.o obj/main/CryptoHandlers.o obj/main/rewrite_util.o obj/main/rewrite_field.o obj/main/dispatcher.o obj/main/sql_handler.o obj/main/dml_handler.o obj/main/ddl_handler.o obj/main/alter_sub_handler.o obj/main/rewrite_const.o obj/main/rewrite_func.o obj/main/rewrite_sum.o obj/main/metadata_tables.o obj/main/error.o obj/main/stored_procedures.o obj/main/rewrite_ds.o obj/main/rewrite_main.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbcrypto -ledbutil -ledbparser -lntl -lcrypto
g++ obj/main/cdb_test.o -o obj/main/cdb_test -ledbparser -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbutil -ledbcrypto -lcryptdb
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c test/test_utils.cc -o obj/test/test_utils.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c test/test.cc -o obj/test/test.o
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c test/TestQueries.cc -o obj/test/TestQueries.o
g++ -o obj/test/test obj/test/test_utils.o obj/test/test.o obj/test/TestQueries.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-lcryptdb -ledbcrypto -ledbutil -ledbparser
ar r obj/libedbutil.a obj/util/onions.o obj/util/cryptdb_log.o obj/util/ctr.o obj/util/util.o obj/util/version.o
ar: creating obj/libedbutil.a
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c udf/edb.cc -o obj/udf/edb.o
g++ -shared -o obj/udf/edb.so obj/udf/edb.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline \
obj/libedbcrypto.a \
obj/libedbutil.a \
-lcrypto -lntl -lgmp
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c mysqlproxy/ConnectWrapper.cc -o obj/mysqlproxy/ConnectWrapper.o
g++ -shared -o obj/libexecute.so obj/mysqlproxy/ConnectWrapper.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbcrypto -lcryptdb -ledbutil -ledbparser -llua5.1
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c tools/import/cryptdbimport.cc -o obj/tools/import/cryptdbimport.o
g++ -o obj/tools/import/cryptdbimport obj/tools/import/cryptdbimport.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbcrypto -ledbutil -ledbparser -lcryptdb
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c tools/learn/cryptdblearn.cc -o obj/tools/learn/cryptdblearn.o
g++ -o obj/tools/learn/cryptdblearn obj/tools/learn/cryptdblearn.o -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbcrypto -ledbutil -ledbparser -lcryptdb
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c scripts/procs.cc -o obj/scripts/procs.o
g++ obj/scripts/procs.o -o obj/scripts/procs -ledbparser -L/home/maverick/cryptdb/obj -Wl,--no-undefined -lpthread -lrt -ldl -lcrypt -lreadline -Wl,-rpath=/home/maverick/cryptdb/obj -Wl,-rpath=/home/maverick/cryptdb \
-ledbcrypto -ledbutil -lcryptdb
g++ -MD -g -O0 -fno-strict-aliasing -fno-rtti -fwrapv -fPIC -Wall -Werror -Wpointer-arith -Wendif-labels -Wformat=2 -Wextra -Wmissing-noreturn -Wwrite-strings -Wno-unused-parameter -Wno-deprecated -Wmissing-declarations -Woverloaded-virtual -Wunreachable-code -D_GNU_SOURCE -std=c++0x -I/home/maverick/cryptdb -I/home/maverick/cryptdb/mysql-src/build/include -I/home/maverick/cryptdb/mysql-src/include -I/home/maverick/cryptdb/mysql-src/sql -I/home/maverick/cryptdb/mysql-src/regex -I/home/maverick/cryptdb/mysql-src/build/sql -DHAVE_CONFIG_H -DMYSQL_SERVER -DEMBEDDED_LIBRARY -DDBUG_OFF -DMYSQL_BUILD_DIR=\"/home/maverick/cryptdb/mysql-src/build\" -Itools/import -Imain/ -Itools/learn -Imain/ -Iutil/ -c scripts/locklib.cc -o obj/scripts/locklib.o
g++ -shared -fpic -o obj/scripts/locklib.so obj/scripts/locklib.o -llua5.1
mysql stop/waiting
perl mergedep.pl obj/.deps obj/crypto/arc4.d obj/crypto/BasicCrypto.d obj/crypto/ecjoin.d obj/crypto/ECJoin.d obj/crypto/ffx.d obj/crypto/hgd.d obj/crypto/mont.d obj/crypto/online_ope.d obj/crypto/ope.d obj/crypto/paillier.d obj/crypto/pbkdf2.d obj/crypto/prng.d obj/crypto/search.d obj/crypto/skip32.d obj/crypto/SWPSearch.d obj/crypto/urandom.d obj/parser/Annotation.d obj/parser/embedmysql.d obj/parser/lex_util.d obj/parser/mysqld-filler.d obj/parser/mysql_type_metadata.d obj/parser/sql_utils.d obj/main/alter_sub_handler.d obj/main/Analysis.d obj/main/cdb_test.d obj/main/Connect.d obj/main/CryptoHandlers.d obj/main/ddl_handler.d obj/main/dispatcher.d obj/main/dml_handler.d obj/main/error.d obj/main/metadata_tables.d obj/main/rewrite_const.d obj/main/rewrite_ds.d obj/main/rewrite_field.d obj/main/rewrite_func.d obj/main/rewrite_main.d obj/main/rewrite_sum.d obj/main/rewrite_util.d obj/main/schema.d obj/main/sql_handler.d obj/main/stored_procedures.d obj/main/Translator.d obj/test/test.d obj/test/TestQueries.d obj/test/test_utils.d obj/util/cryptdb_log.d obj/util/ctr.d obj/util/onions.d obj/util/util.d obj/util/version.d obj/udf/edb.d obj/mysqlproxy/ConnectWrapper.d obj/scripts/locklib.d obj/scripts/procs.d
echo "#include <util/version.hh>" > obj/util/version.cc.tmp
( REL="$(git describe --always --long --dirty=+dirty)" ; \
echo "const char* cryptdb_version_string = \"$REL\";" >> obj/util/version.cc.tmp )
cmp -s obj/util/version.cc.tmp obj/util/version.cc || mv obj/util/version.cc.tmp obj/util/version.cc
install -m 644 obj/libedbcrypto.so /usr/lib
install -m 644 obj/libcryptdb.so /usr/lib
install -m 644 obj/libedbutil.so /usr/lib
install -m 644 -g mysql -o mysql obj/udf/edb.so /usr/lib/mysql/plugin
mysql start/running, process 44252
You must do: export EDBDIR=/full/path/to/cryptdb/ before running cryptdb; we recommend putting it into your .bashrc
- [1] https://github.com/CryptDB/cryptdb
- [2] https://whitehatty.com/2012/09/30/cryptdb-howto-compile-on-ubuntu-linux-12-04/
- [3] http://releases.ubuntu.com/12.04/
- [4] https://whitehatty.com/2012/09/30/cryptdb-howto-compile-on-ubuntu-linux-12-04/#comment-731
- [5] https://www.quora.com/What-are-the-steps-to-install-CryptDB-on-Linux