Entrar
Usuário novo? Cadastre-se
jundlinux · Grupo de Usuários Linux de Jundiaí
? Você já é um associado? Entre no Yahoo!

Dicas

Você sabia...
Você pode ordenar suas mensagens por data? Basta clicar no link da coluna data. Suas preferências serão lembradas para que você não precise fazer isso novamente sempre que retornar.

Mensagens

  Ajuda
Avançado
MSN-Proxy   Lista de mensagens  
Responder | Encaminhar Mensagem #2950 de 3063 |
Re: [jundlinux] MSN-Proxy

Olá Marcelo.

Muito provavelmente você está sem as bibliotecas de desenvolvimento do Mysql.
"mysql.h:52:19: mysql.h: No such file or directory".

Faça o teste... qualquer coisa poste aqui de novo.

Abraços,

Carlos


2008/8/19 Marcelo Gomes <marcelo@...>:
> Boa Tarde!
>
> Pessoal alguem poderia me ajudar com relacão a instalacão do
> Msn-Proxy...ou seja...estou instalando mas está dando um erro qdo
> executo o comando make....alguem poderia me ajudar.???..alias uso o
> FEDORA CORE REALEASE 2.....
>
> [root@firewall msn-proxy]# make |more
> cc -g -Wall -O2 -pipe -I/usr/local/include -I/usr/local/include
> -fno-builtin-log
> -c msn-proxy.c
> In file included from config.h:30,
> from net-io.h:28,
> from msn-proxy.c:33:
> mysql.h:52:19: mysql.h: No such file or directory
> In file included from config.h:30,
> from net-io.h:28,
> from msn-proxy.c:33:
> mysql.h:68: error: syntax error before "MYSQL"
> mysql.h:68: warning: no semicolon at end of struct or union
> mysql.h:77: error: syntax error before '}' token
> mysql.h:77: warning: type defaults to `int' in declaration of `mysql_'
> mysql.h:77: warning: data definition has no type or storage class
> mysql.h:79: error: syntax error before "db_fetch_row"
> mysql.h:79: error: syntax error before '*' token
> mysql.h:79: warning: type defaults to `int' in declaration of
> `db_fetch_row'
> mysql.h:79: warning: data definition has no type or storage class
> mysql.h:80: error: syntax error before '*' token
> mysql.h:81: error: syntax error before '*' token
> mysql.h:82: error: syntax error before '*' token
> mysql.h:83: error: syntax error before '*' token
> mysql.h:83: error: syntax error before '*' token
> mysql.h:83: warning: type defaults to `int' in declaration of `db_free'
> mysql.h:83: warning: data definition has no type or storage class
> mysql.h:84: error: syntax error before '*' token
> mysql.h:85: error: syntax error before '*' token
> mysql.h:85: error: syntax error before '*' token
> mysql.h:85: warning: type defaults to `int' in declaration of `db_query'
> mysql.h:85: warning: data definition has no type or storage class
> mysql.h:86: error: syntax error before '*' token
> mysql.h:87: error: syntax error before '*' token
> mysql.h:88: error: syntax error before '*' token
> mysql.h:89: error: syntax error before '*' token
> mysql.h:90: error: syntax error before '*' token
> mysql.h:91: error: `db_init' declared as function returning a function
> mysql.h:92: error: syntax error before "void"
> mysql.h:93: error: syntax error before '*' token
> mysql.h:94: error: syntax error before '*' token
> In file included from net-io.h:28,
> from msn-proxy.c:33:
> config.h:76: error: syntax error before "mysql_"
> config.h:76: warning: no semicolon at end of struct or union
> config.h:90: error: syntax error before '}' token
> config.h:90: warning: type defaults to `int' in declaration of `config_'
> config.h:90: warning: data definition has no type or storage class
> config.h:92: error: syntax error before '*' token
> config.h:93: error: syntax error before '*' token
> config.h:94: error: syntax error before '*' token
> config.h:95: error: syntax error before '*' token
> config.h:96: error: syntax error before '*' token
> config.h:97: error: syntax error before '*' token
> config.h:99: error: syntax error before '*' token
> In file included from msn-proxy.c:35:
> msn-proxy.h:108: error: syntax error before "config"
> msn-proxy.h:108: warning: type defaults to `int' in declaration of
> `config'
> msn-proxy.h:108: warning: data definition has no type or storage class
> msn-proxy.c:38: error: syntax error before "config"
> msn-proxy.c:38: warning: type defaults to `int' in declaration of
> `config'
> msn-proxy.c:38: warning: data definition has no type or storage class
> msn-proxy.c: In function `detach':
> msn-proxy.c:64: error: request for member `log' in something not a
> structure or union
> msn-proxy.c: In function `main':
> msn-proxy.c:92: error: request for member `log' in something not a
> structure or union
> msn-proxy.c:115: error: request for member `file' in something not a
> structure or union
> msn-proxy.c:167: error: request for member `mysql' in something not a
> structure or union
> msn-proxy.c:171: error: request for member `mysql' in something not a
> structure or union
> msn-proxy.c:183: error: request for member `backlog' in something not a
> structure or union
> msn-proxy.c:189: error: request for member `listen_port' in something
> not a structure or union
> msn-proxy.c:190: error: request for member `backlog' in something not a
> structure or union
> make: *** [msn-proxy.o] Error 1
> [root@firewall msn-proxy]#
>
>
>
>
>



--
Carlos Mello Jr
Seja Livre, Use Linux!



Ter, 19 de Ago de 2008 7:48 pm

cmellojr
Offline Offline
Enviar e-mail Enviar e-mail

Encaminhar Mensagem #2950 de 3063 |
Expandir mensagens Nome/E-mail Classificar por data

Boa Tarde! Pessoal alguem poderia me ajudar com relacão a instalacão do Msn-Proxy...ou seja...estou instalando mas está dando um erro qdo executo o comando...
Marcelo Gomes
mrs.mgomes
Offline Enviar e-mail
19 de Ago de 2008
7:29 pm

Olá Marcelo. Muito provavelmente você está sem as bibliotecas de desenvolvimento do Mysql. "mysql.h:52:19: mysql.h: No such file or directory". Faça o...
Carlos Mello Jr
cmellojr
Offline Enviar e-mail
19 de Ago de 2008
7:48 pm

Olá, Carlos! Então eu baixei o libevent-1.4.6 e compilou sem problemas...nao seria essa a biblioteca?? se não for aonde eu poderia baixar???? alguem tem...
Marcelo Gomes
mrs.mgomes
Offline Enviar e-mail
20 de Ago de 2008
11:38 am

Olá Marcelo... acho que não é só essa biblioteca que você precisa... está faltando mais coisa... arquivos .h são arquivos de cabeçalho... pela mensagem...
Carlos Mello Jr
cmellojr
Offline Enviar e-mail
20 de Ago de 2008
12:11 pm

cara, procura o arquivo 'mysql.h' edita ele e procura a linha: #include <mysql/mysql.h> remova o PATH 'mysql/' deixando assim: #include <mysql.h> roda o Make...
Thiago Pellison
tpellison
Offline Enviar e-mail
20 de Ago de 2008
11:55 am
Avançado

Copyright © 2009 Yahoo! do Brasil Internet Ltda. Todos os direitos reservados.
Política de Privacidade - Termos do Serviço - Diretrizes - Ajuda