Skip to content

已经安装了glibc2.4,dbproxy 在make的时候报错 #141

@sunashe

Description

@sunashe

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/data/mysql/base/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/lua5.1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -ggdb -s -O0 -MT libmysql_proxy_la-network-mysqld-packet.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-packet.Tpo -c network-mysqld-packet.c -fPIC -DPIC -o .libs/libmysql_proxy_la-network-mysqld-packet.o
network-mysqld-packet.c: In function ‘network_mysqld_auth_challenge_new’:
network-mysqld-packet.c:1470:9: error: ‘CLIENT_SECURE_CONNECTION’ undeclared (first use in this function)
CLIENT_SECURE_CONNECTION |
^
network-mysqld-packet.c:1470:9: note: each undeclared identifier is reported only once for each function it appears in
network-mysqld-packet.c: In function ‘network_mysqld_proto_get_auth_challenge’:
network-mysqld-packet.c:1583:31: error: ‘CLIENT_SECURE_CONNECTION’ undeclared (first use in this function)
if (shake->capabilities & CLIENT_SECURE_CONNECTION) {
^
network-mysqld-packet.c: In function ‘network_mysqld_auth_response_new’:
network-mysqld-packet.c:1695:26: error: ‘CLIENT_SECURE_CONNECTION’ undeclared (first use in this function)
auth->capabilities = CLIENT_SECURE_CONNECTION | CLIENT_PROTOCOL_41;
^
network-mysqld-packet.c: In function ‘network_mysqld_proto_get_auth_response’:
network-mysqld-packet.c:1772:34: error: ‘CLIENT_SECURE_CONNECTION’ undeclared (first use in this function)
if (auth->capabilities & CLIENT_SECURE_CONNECTION) {
^
network-mysqld-packet.c: In function ‘network_mysqld_auth_response_dump’:
network-mysqld-packet.c:2457:28: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘gchar * {aka char *}’ [-Wformat=]
"capabilities:%d max_packet_size:%d charset:%d "
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions