emerson2703
(usa CentOS)
Enviado em 29/05/2009 - 12:17h
Colegas, descompactei o arquivo mas na hora de da MAKE aparece a seguinte menmsagem
cc -g -Wall -O2 -pipe -I/usr/local/include -I/usr/local/include -fno-builtin-log -c msn-proxy.c
In file included from ns-data.h:24,
from user.h:31,
from ns.h:24,
from msn-proxy.c:26:
client.h:27:19: error: event.h: Arquivo ou diretório não encontrado
In file included from ns-data.h:24,
from user.h:31,
from ns.h:24,
from msn-proxy.c:26:
client.h:35: error: field ‘read’ has incomplete type
client.h:36: error: field ‘write’ has incomplete type
client.h:37: error: field ‘listen’ has incomplete type
In file included from ns-data.h:25,
from user.h:31,
from ns.h:24,
from msn-proxy.c:26:
server.h:36: error: field ‘read’ has incomplete type
server.h:37: error: field ‘write’ has incomplete type
In file included from user.h:32,
from ns.h:24,
from msn-proxy.c:26:
sb-data.h:44: error: field ‘listen’ has incomplete type
In file included from msn-proxy.c:28:
ctl.h:33: error: field ‘read’ has incomplete type
In file included from config.h:29,
from net-io.h:27,
from msn-proxy.c:32:
mysql.h:51:25: error: mysql/mysql.h: Arquivo ou diretório não encontrado
In file included from config.h:29,
from net-io.h:27,
from msn-proxy.c:32:
mysql.h:67: error: expected specifier-qualifier-list before ‘MYSQL’
mysql.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘db_fetch_row’
mysql.h:79: error: expected ‘)’ before ‘*’ token
mysql.h:80: error: expected ‘)’ before ‘*’ token
mysql.h:81: error: expected ‘)’ before ‘*’ token
mysql.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mysql.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
msn-proxy.c: In function ‘cleanup’:
msn-proxy.c:53: error: ‘mysql_’ has no member named ‘db’
msn-proxy.c:54: error: ‘mysql_’ has no member named ‘host’
msn-proxy.c:55: error: ‘mysql_’ has no member named ‘pass’
msn-proxy.c:56: error: ‘mysql_’ has no member named ‘user’
msn-proxy.c:58: warning: implicit declaration of function ‘event_base_free’
msn-proxy.c: In function ‘main’:
msn-proxy.c:242: warning: implicit declaration of function ‘event_init’
msn-proxy.c:242: warning: assignment makes pointer from integer without a cast
msn-proxy.c:249: warning: implicit declaration of function ‘event_set’
msn-proxy.c:249: error: ‘EV_READ’ undeclared (first use in this function)
msn-proxy.c:249: error: (Each undeclared identifier is reported only once
msn-proxy.c:249: error: for each function it appears in.)
msn-proxy.c:249: error: ‘EV_PERSIST’ undeclared (first use in this function)
msn-proxy.c:250: warning: implicit declaration of function ‘event_add’
msn-proxy.c:255: warning: implicit declaration of function ‘event_dispatch’
make: ** [msn-proxy.o] Erro 1