MySQL Forums
Forum List  »  Router & Proxy

Problem to compile from src
Posted by: philippe marsigny
Date: June 26, 2007 08:19AM

Hi,


I running:
[root@Mysql232 mysql-proxy-0.5.0r8]# uname -a
Linux Mysql232.symex.be 2.6.20-1.2952.fc6 #1 SMP Wed May 16 18:18:22 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

And when i want to compile i have this error
Anyone can help me
Thx


[root@Mysql232 mysql-proxy-0.5.0r8]# make
make all-recursive
make[1]: Entering directory `/export/sources/mysql-proxy-0.5.0r8'
Making all in src
make[2]: Entering directory `/export/sources/mysql-proxy-0.5.0r8/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -MT mysql_proxy-mysql-proxy.o -MD -MP -MF ".deps/mysql_proxy-mysql-proxy.Tpo" -c -o mysql_proxy-mysql-proxy.o `test -f 'mysql-proxy.c' || echo './'`mysql-proxy.c; \
then mv -f ".deps/mysql_proxy-mysql-proxy.Tpo" ".deps/mysql_proxy-mysql-proxy.Po"; else rm -f ".deps/mysql_proxy-mysql-proxy.Tpo"; exit 1; fi
In file included from mysql-proxy.c:22:
network-mysqld.h:38:19: error: mysql.h: No such file or directory
In file included from mysql-proxy.c:22:
network-mysqld.h:259: error: field ‘command’ has incomplete type
In file included from mysql-proxy.c:23:
network-mysqld-proto.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
network-mysqld-proto.h:37: error: expected ‘)’ before ‘*’ token
mysql-proxy.c: In function ‘index_usage_select’:
mysql-proxy.c:66: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
mysql-proxy.c:66: error: (Each undeclared identifier is reported only once
mysql-proxy.c:66: error: for each function it appears in.)
mysql-proxy.c:66: error: ‘field’ undeclared (first use in this function)
mysql-proxy.c:72: error: ‘FIELD_TYPE_STRING’ undeclared (first use in this function)
mysql-proxy.c:73: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
mysql-proxy.c:81: error: ‘FIELD_TYPE_LONGLONG’ undeclared (first use in this function)
mysql-proxy.c:82: error: ‘NUM_FLAG’ undeclared (first use in this function)
mysql-proxy.c:82: error: ‘UNSIGNED_FLAG’ undeclared (first use in this function)
mysql-proxy.c:97: error: ‘FIELD_TYPE_DOUBLE’ undeclared (first use in this function)
mysql-proxy.c: In function ‘config_select’:
mysql-proxy.c:112: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
mysql-proxy.c:112: error: ‘field’ undeclared (first use in this function)
mysql-proxy.c:119: error: ‘FIELD_TYPE_STRING’ undeclared (first use in this function)
mysql-proxy.c:120: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
mysql-proxy.c: In function ‘connections_select’:
mysql-proxy.c:170: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
mysql-proxy.c:170: error: ‘field’ undeclared (first use in this function)
mysql-proxy.c:175: error: ‘FIELD_TYPE_LONG’ undeclared (first use in this function)
mysql-proxy.c:176: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
mysql-proxy.c:182: error: ‘FIELD_TYPE_STRING’ undeclared (first use in this function)
make[2]: *** [mysql_proxy-mysql-proxy.o] Error 1
make[2]: Leaving directory `/export/sources/mysql-proxy-0.5.0r8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/sources/mysql-proxy-0.5.0r8'
make: *** [all] Error 2

Options: ReplyQuote


Subject
Views
Written By
Posted
Problem to compile from src
4634
June 26, 2007 08:19AM
3015
June 26, 2007 09:20AM
2890
June 26, 2007 10:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.