+ Responder ao Tópico



  1. Bom dia pessoal ...

    Ao compilar o maildrop estou me deperando com um erro na hora que aplico o make ....

    mdmysql.c:10:25: mysql/mysql.h: Arquivo ou diretório não encontrado
    mdmysql.c:11:26: mysql/errmsg.h: Arquivo ou diretório não encontrado
    mdmysql.c: In function `get_user_mysql':
    mdmysql.c:17: error: `MYSQL' undeclared (first use in this function)
    mdmysql.c:17: error: (Each undeclared identifier is reported only once
    mdmysql.c:17: error: for each function it appears in.)
    mdmysql.c:17: error: syntax error before "mysql_buf"
    mdmysql.c:18: error: `MYSQL_RES' undeclared (first use in this function)
    mdmysql.c:18: error: `result' undeclared (first use in this function)
    mdmysql.c:19: error: `MYSQL_ROW' undeclared (first use in this function)
    mdmysql.c:19: error: syntax error before "row"
    mdmysql.c:32: error: `mysql' undeclared (first use in this function)
    mdmysql.c:32: warning: implicit declaration of function `mysql_connect'
    mdmysql.c:32: error: `mysql_buf' undeclared (first use in this function)
    mdmysql.c:32: error: `server' undeclared (first use in this function)
    mdmysql.c:32: error: `userid' undeclared (first use in this function)
    mdmysql.c:32: error: `password' undeclared (first use in this function)
    mdmysql.c:37: warning: implicit declaration of function `mysql_select_db'
    mdmysql.c:39: warning: implicit declaration of function `mysql_close'
    mdmysql.c:64: warning: implicit declaration of function `mysql_query'
    mdmysql.c:73: warning: implicit declaration of function `mysql_store_result'
    mdmysql.c:81: warning: implicit declaration of function `mysql_num_rows'
    mdmysql.c:83: warning: implicit declaration of function `mysql_free_result'
    mdmysql.c:88: error: `row' undeclared (first use in this function)
    mdmysql.c:88: warning: implicit declaration of function `mysql_fetch_row'
    make[2]: ** [mdmysql.o] Erro 1
    make[2]: Leaving directory `/root/source/maildrop-1.6.3/maildrop'
    make[1]: ** [all] Erro 2
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/maildrop'
    make: ** [all-recursive] Erro 1
    [root@logos maildrop-1.6.3]# make check Making check in numlib
    make[1]: Entering directory `/root/source/maildrop-1.6.3/numlib'
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/numlib'
    Making check in liblock
    make[1]: Entering directory `/root/source/maildrop-1.6.3/liblock'
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/liblock'
    Making check in rfc822
    make[1]: Entering directory `/root/source/maildrop-1.6.3/rfc822'
    ./testsuite | cmp -s - ./testsuite.txt
    ./reftest | cmp -s - ./reftest.txt
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/rfc822'
    Making check in rfc2045
    make[1]: Entering directory `/root/source/maildrop-1.6.3/rfc2045'
    /bin/sh ./testsuite | cmp -s - ./testsuite.txt
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/rfc2045'
    Making check in gdbmobj
    make[1]: Entering directory `/root/source/maildrop-1.6.3/gdbmobj'
    ./testsuite | cmp -s - ./testsuite.txt
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/gdbmobj'
    Making check in maildir
    make[1]: Entering directory `/root/source/maildrop-1.6.3/maildir'
    /bin/sh ./testsuite 2>&1 | cmp - ./testsuite.txt
    LC_ALL=C; export LC_ALL; ./maildirkwtest | cmp -s - ./maildirkwtest.txt
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/maildir'
    Making check in makedat
    make[1]: Entering directory `/root/source/maildrop-1.6.3/makedat'
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/makedat'
    Making check in maildrop
    make[1]: Entering directory `/root/source/maildrop-1.6.3/maildrop'
    Compiling mdmysql.c
    mdmysql.c:10:25: mysql/mysql.h: Arquivo ou diretório não encontrado
    mdmysql.c:11:26: mysql/errmsg.h: Arquivo ou diretório não encontrado
    mdmysql.c: In function `get_user_mysql':
    mdmysql.c:17: error: `MYSQL' undeclared (first use in this function)
    mdmysql.c:17: error: (Each undeclared identifier is reported only once
    mdmysql.c:17: error: for each function it appears in.)
    mdmysql.c:17: error: syntax error before "mysql_buf"
    mdmysql.c:18: error: `MYSQL_RES' undeclared (first use in this function)
    mdmysql.c:18: error: `result' undeclared (first use in this function)
    mdmysql.c:19: error: `MYSQL_ROW' undeclared (first use in this function)
    mdmysql.c:19: error: syntax error before "row"
    mdmysql.c:32: error: `mysql' undeclared (first use in this function)
    mdmysql.c:32: warning: implicit declaration of function `mysql_connect'
    mdmysql.c:32: error: `mysql_buf' undeclared (first use in this function)
    mdmysql.c:32: error: `server' undeclared (first use in this function)
    mdmysql.c:32: error: `userid' undeclared (first use in this function)
    mdmysql.c:32: error: `password' undeclared (first use in this function)
    mdmysql.c:37: warning: implicit declaration of function `mysql_select_db'
    mdmysql.c:39: warning: implicit declaration of function `mysql_close'
    mdmysql.c:64: warning: implicit declaration of function `mysql_query'
    mdmysql.c:73: warning: implicit declaration of function `mysql_store_result'
    mdmysql.c:81: warning: implicit declaration of function `mysql_num_rows'
    mdmysql.c:83: warning: implicit declaration of function `mysql_free_result'
    mdmysql.c:88: error: `row' undeclared (first use in this function)
    mdmysql.c:88: warning: implicit declaration of function `mysql_fetch_row'
    make[1]: ** [mdmysql.o] Erro 1
    make[1]: Leaving directory `/root/source/maildrop-1.6.3/maildrop'
    make: ** [check-recursive] Erro 1
    [root@logos maildrop-1.6.3]#


    isso acontece em todas as verssões que temto compilar ....
    o que pode ser ....

    vi que ele mostra alguma coisa falando do mysql ....

    mdmysql.c:10:25: mysql/mysql.h: Arquivo ou diretório não encontrado
    mdmysql.c:11:26: mysql/errmsg.h: Arquivo ou diretório não encontrado


    HELP ME ... !!! !!! !!!

    Falow ...


  2. Olá pessoal ,,,

    resolvi o problema ... tive que instalar o mysql-devel ...

    Funfou legal ...

    Falow ...






Tópicos Similares

  1. Erro ao compilar o maildrop ...
    Por rootmaster no fórum Servidores de Rede
    Respostas: 1
    Último Post: 27-09-2006, 12:02
  2. Respostas: 0
    Último Post: 05-04-2006, 22:47
  3. Erro ao compilar o module-init-tool
    Por vonlinkerstain no fórum Servidores de Rede
    Respostas: 2
    Último Post: 01-03-2004, 23:00
  4. erro ao compilar o samba
    Por APS no fórum Servidores de Rede
    Respostas: 0
    Último Post: 03-10-2003, 11:27
  5. Erro ao compilar o Kernel
    Por fsales no fórum Servidores de Rede
    Respostas: 1
    Último Post: 22-04-2003, 02:50

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L