www.ProFTPD.de
13. März 2007, 22:02:54 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Proftpd + mysql  (Gelesen 252 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
FoX
Gast
« am: 05. Dezember 2004, 20:43:08 »

so mein configurestring ist:

./configure \
 --sysconfdir=/etc \
--with-modules=mod_sql:mod_sql_mysql \ --with-includes=/opt/mysql/current/include \ --with-libraries=/opt/mysql/current/lib \
--prefix=/opt/proftpd


so wenn ich ein make machen kommen nur fehler mit dem mysqlmod

mod_sql_mysql.c:137:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: error: parse error before "MYSQL"
mod_sql_mysql.c:164: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:344: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:344: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:344: error: for each function it appears in.)
mod_sql_mysql.c:344: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:346: error: parse error before "row"
mod_sql_mysql.c:355: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:361: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:367: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:373: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:373: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:383: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:436: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:436: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: warning: implicit declaration of function `mysql_options'
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
mod_sql_mysql.c:463: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:465: error: `CLIENT_INTERACTIVE' undeclared (first use in this function)
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:559: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:559: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:560: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:626: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:629: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:630: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:661: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:662: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:663: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:681: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:682: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:683: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:804: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:804: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:918: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1017: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1133: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1148: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1148: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1228: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1295: warning: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/opt/proftpd-1.2.9/modules'
make: *** [modules] Error 2


so ich habe mysql selbst kompiliert geht auch alles außer das mit dem ftp

bitte um abhilfe
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 06. Dezember 2004, 06:03:56 »

Zitat von: "FoX"
so mein configurestring ist:

./configure \
 --sysconfdir=/etc \
--with-modules=mod_sql:mod_sql_mysql \ --with-includes=/opt/mysql/current/include \ --with-libraries=/opt/mysql/current/lib \
--prefix=/opt/proftpd


so wenn ich ein make machen kommen nur fehler mit dem mysqlmod

mod_sql_mysql.c:137:19: mysql.h: No such file or directory


includes und libs richtig uebergeben...
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.059 Sekunden mit 17 Zugriffen.