Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql 5.7.20 #61

Open
sveneld opened this issue Nov 5, 2017 · 2 comments
Open

mysql 5.7.20 #61

sveneld opened this issue Nov 5, 2017 · 2 comments

Comments

@sveneld
Copy link

sveneld commented Nov 5, 2017

When i'm run make install I receive such error

In file included from ha_pinba.cc:36:0:
/home/sveneld/pinba/mysql_source/mysql-5.7-5.7.20/sql/field.h:24:73: fatal error: binary_log_funcs.h: No such file or directory
compilation terminated.
Makefile:508: recipe for target 'ha_pinba.lo' failed
make[1]: *** [ha_pinba.lo] Error 1
make[1]: Leaving directory '/home/sveneld/pinba/pinba_engine-master/src'
Makefile:442: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
@deeravenger
Copy link

deeravenger commented Dec 13, 2017

I had the same error (pinba 1.2 + mysql-5.7.19 + centos-release-6-9.el6.12.3.x86_64)

I downloaded binary_log_funcs.h from https://github.com/mysql/mysql-server/tree/5.7/libbinlogevents/export

And now I'm with errors:

/tmp/source_mysql/sql/field.h:27:56: error: mysqld_error.h: No such file or directory
In file included from /tmp/source_mysql/sql/field.h:30,
from ha_pinba.cc:36:
/tmp/source_mysql/sql/table.h:30:39: error: table_id.h: No such file or directory
ha_pinba.cc:37:26: error: sql/structs.h: No such file or directory
ha_pinba.cc:45:24: error: my_pthread.h: No such file or directory
ha_pinba.cc:609:102: error: macro "my_hash_init" requires 9 arguments, but only 8 given
In file included from /tmp/source_mysql/sql/field.h:30,
from ha_pinba.cc:36:
/tmp/source_mysql/sql/table.h:678: error: 'Table_id' does not name a type
/tmp/source_mysql/sql/table.h: In member function 'ulonglong TABLE_SHARE::get_table_def_version()':
/tmp/source_mysql/sql/table.h:795: error: 'table_map_id' was not declared in this scope
/tmp/source_mysql/sql/table.h: In member function 'ulonglong TABLE_SHARE::get_table_ref_version() const':
/tmp/source_mysql/sql/table.h:880: error: 'table_map_id' was not declared in this scope
/tmp/source_mysql/sql/table.h: At global scope:
/tmp/source_mysql/sql/table.h:2306: error: 'Table_id' does not name a type
In file included from ha_pinba.cc:36:
/tmp/source_mysql/sql/field.h: In member function 'bool Field_blob::copy()':
/tmp/source_mysql/sql/field.h:3854: error: 'ER_OUTOFMEMORY' was not declared in this scope
/tmp/source_mysql/sql/field.h: In member function 'void Field_json::invalid_text(const char*, size_t) const':
/tmp/source_mysql/sql/field.h:4051: error: 'ER_INVALID_JSON_TEXT' was not declared in this scope
ha_pinba.cc: In function 'int pinba_engine_init(void*)':
ha_pinba.cc:64: error: 'my_hash_init' was not declared in this scope
ha_pinba.cc: In function 'PINBA_SHARE* get_share(const char*, TABLE*)':
ha_pinba.cc:1878: error: invalid conversion from 'PINBA_SHARE**' to 'myf'
ha_pinba.cc:1878: error: initializing argument 2 of 'void* my_multi_malloc(PSI_memory_key, myf, ...)'
make[2]: *** [ha_pinba.lo] Error 1
make[2]: Leaving directory /tmp/pinba_engine-1.2.0/src' make[1]: *** [all] Error 2 make[1]: Leaving directory /tmp/pinba_engine-1.2.0/src'
make: *** [all-recursive] Error 1

@zakachkin
Copy link

When trying to compile under mariadb-10.2, it gives the same error. There is a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants