Skip to content

Compiling error #1

@antage

Description

@antage
/opt/ruby-1.9.1-p129/bin/ruby extconf.rb install mysql-ruby-2.8.1.gem
Trying to detect MySQL configuration with mysql_config command...
Succeeded to detect MySQL configuration with mysql_config command.
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... yes
checking for rb_thread_start_timer()... no
checking for mysql.h... yes
creating Makefile

make
gcc -I. -I/opt/ruby-1.9.1-p129/include/ruby-1.9.1/x86_64-linux -I/opt/ruby-1.9.1-p129/include/ruby-1.9.1/ruby/backward -I/opt/ruby-1.9.1-p129/include/ruby-1.9.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_RB_STR_SET_LEN -DHAVE_MYSQL_H    -I/usr/include/mysql  -DBIG_JOINS=1 -fPIC -fno-strict-aliasing -fPIC  -O2 -g -Wall -Wno-parentheses  -o mysql.o -c mysql.c
In file included from /usr/include/stdlib.h:320,
                 from /opt/ruby-1.9.1-p129/include/ruby-1.9.1/ruby/ruby.h:50,
                 from /opt/ruby-1.9.1-p129/include/ruby-1.9.1/ruby.h:32,
                 from mysql.c:6:
/usr/include/sys/types.h:151: error: duplicate 'unsigned'
make: *** [mysql.o] Error 1

Ubuntu 9.04, ruby 1.9.1p129

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions