#129 ✓resolved
Julian DeFronzo

Unable to build do_mysql on Dapper Drake

Reported by Julian DeFronzo | January 4th, 2008 @ 08:13 PM

I dont know if this the right place to put this, but i haven't figured it out.

I am unable to install/build the do_mysql gem on Dapper Drake. I am getting the following error:

cc -fPIC -Wall -g -O2  -fPIC -Wall   -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I.  -I/usr/include/mysql  -c mysql_c.c
mysql_c.c: In function '_wrap_mysql_get_ssl_cipher':
mysql_c.c:8963: warning: implicit declaration of function 'mysql_get_ssl_cipher'
mysql_c.c: In function '_wrap_mysql_set_local_infile_handler':
mysql_c.c:9549: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c:9555: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c:9561: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c:9567: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_mysql_odbc_escape_string':
mysql_c.c:10850: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_BIND_store_param_func_set':
mysql_c.c:11993: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_BIND_fetch_result_set':
mysql_c.c:12046: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_BIND_skip_result_set':
mysql_c.c:12099: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_STMT_read_row_func_set':
mysql_c.c:12743: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_query_result_set':
mysql_c.c:13657: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_advanced_command_set':
mysql_c.c:13710: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c:13715: warning: assignment from incompatible pointer type
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_rows_set':
mysql_c.c:13763: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_use_result_set':
mysql_c.c:13816: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_fetch_lengths_set':
mysql_c.c:13869: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_flush_use_result_set':
mysql_c.c:13922: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_list_fields_set':
mysql_c.c:13975: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_prepare_result_set':
mysql_c.c:14028: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_stmt_execute_set':
mysql_c.c:14081: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_binary_rows_set':
mysql_c.c:14134: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_unbuffered_fetch_set':
mysql_c.c:14187: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_free_embedded_thd_set':
mysql_c.c:14240: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_statistics_set':
mysql_c.c:14293: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_next_result_set':
mysql_c.c:14346: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_change_user_result_set':
mysql_c.c:14399: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function '_wrap_MYSQL_METHODS_read_rows_from_cursor_set':
mysql_c.c:14452: warning: dereferencing type-punned pointer will break strict-aliasing rules
mysql_c.c: In function 'Init_mysql_c':
mysql_c.c:16079: error: 'MYSQL_OPT_SSL_VERIFY_SERVER_CERT' undeclared (first use in this function)
mysql_c.c:16079: error: (Each undeclared identifier is reported only once
mysql_c.c:16079: error: for each function it appears in.)
make: *** [mysql_c.o] Error 1

Thanks in advance...

~Julian

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags

Pages