compiling on CentOS 7 - arguments list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-pam-for-mysql |
New
|
Undecided
|
Unassigned |
Bug Description
I am having some issues compiling this project on CentOS 7 - please let me know if I can provide any information in addition to what I have below.
Thanks much!
=======
output of make
=======
make all-recursive
make[1]: Entering directory `/root/
Making all in src
make[2]: Entering directory `/root/
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DMYSQL_
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DMYSQL_
groups.c: In function 'groups_iter_new':
groups.c:55:40: error: too few arguments to function 'mysql_
groups.c:61:3: error: too few arguments to function 'mysql_
it->buf= (char *) my_malloc(
^
groups.c:67:5: warning: passing argument 1 of 'mysql_
it->buf= (char *) my_realloc(it->buf, it->buf_size, MYF(MY_FAE));
^
groups.c:67:5: note: expected 'PSI_memory_key' but argument is of type 'char *'
groups.c:67:5: warning: passing argument 2 of 'mysql_
groups.c:67:5: note: expected 'void *' but argument is of type 'int'
groups.c:67:5: error: too few arguments to function 'mysql_
groups.c:81:3: error: too few arguments to function 'mysql_
it->groups= (gid_t *) my_malloc(
^
groups.c:86:38: warning: passing argument 1 of 'mysql_
groups.c:86:38: note: expected 'PSI_memory_key' but argument is of type 'gid_t *'
groups.c:86:38: warning: passing argument 2 of 'mysql_
groups.c:86:38: note: expected 'void *' but argument is of type 'long unsigned int'
groups.c:86:38: error: too few arguments to function 'mysql_
groups.c: In function 'groups_iter_next':
groups.c:118:5: warning: passing argument 1 of 'mysql_
it->buf= (char *) my_realloc(it->buf, it->buf_size, MYF(MY_FAE));
^
groups.c:118:5: note: expected 'PSI_memory_key' but argument is of type 'char *'
groups.c:118:5: warning: passing argument 2 of 'mysql_
groups.c:118:5: note: expected 'void *' but argument is of type 'int'
groups.c:118:5: error: too few arguments to function 'mysql_
make[2]: *** [auth_pam_
make[2]: Leaving directory `/root/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/
make: *** [all] Error 2
=======
end - output of make
=======
=======
Specs
=======
CentOS 7
Linux 3.10.0-
Percona-
Percona-
Percona-
Percona-
Percona-
Percona-
gcc-c++
libgcc-
gcc-4.8.
make-3.
<config.log attached>
I was able to get traction on this by using the src files from the rpm:
cp /usr/src/ debug/percona- server- 5.7.17- 11/percona- server- 5.7.17- 11/plugin/ percona- pam-for- mysql/src/ * src/