Titel: mysql.h Beitrag von: Ifrit am 19. Februar 2006, 12:53:37 Leider das altbekannt problem:
Zitat cd lib/ && make lib make[1]: Entering directory `/usr/src/proftpd-1.2.10/lib' make[1]: Für das Ziel »lib« ist nichts zu tun. make[1]: Leaving directory `/usr/src/proftpd-1.2.10/lib' cd src/ && make src make[1]: Entering directory `/usr/src/proftpd-1.2.10/src' make[1]: Für das Ziel »src« ist nichts zu tun. make[1]: Leaving directory `/usr/src/proftpd-1.2.10/src' cd modules/ && make modules make[1]: Entering directory `/usr/src/proftpd-1.2.10/modules' gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql_mysql.c mod_sql_mysql.c:137:19: mysql.h: Datei oder Verzeichnis nicht gefunden mod_sql_mysql.c:164: error: syntax 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:325: warning: implicit declaration of function `mysql_errno' mod_sql_mysql.c:325: error: dereferencing pointer to incomplete type mod_sql_mysql.c:327: warning: implicit declaration of function `mysql_error' mod_sql_mysql.c:327: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `_build_data': mod_sql_mysql.c:338: error: `MYSQL' undeclared (first use in this function) mod_sql_mysql.c:338: error: (Each undeclared identifier is reported only once mod_sql_mysql.c:338: error: for each function it appears in.) mod_sql_mysql.c:338: error: `mysql' undeclared (first use in this function) mod_sql_mysql.c:339: error: `MYSQL_RES' undeclared (first use in this function) mod_sql_mysql.c:339: error: `result' undeclared (first use in this function) mod_sql_mysql.c:340: error: `MYSQL_ROW' undeclared (first use in this function) mod_sql_mysql.c:340: error: syntax error before "row" mod_sql_mysql.c:349: error: dereferencing pointer to incomplete type mod_sql_mysql.c:355: warning: implicit declaration of function `mysql_store_result' mod_sql_mysql.c:361: warning: implicit declaration of function `mysql_num_rows' mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_num_fields' mod_sql_mysql.c:367: error: `row' undeclared (first use in this function) mod_sql_mysql.c:367: warning: implicit declaration of function `mysql_fetch_row' mod_sql_mysql.c:377: warning: implicit declaration of function `mysql_free_result' mod_sql_mysql.c: In function `cmd_open': mod_sql_mysql.c:430: warning: implicit declaration of function `mysql_ping' mod_sql_mysql.c:430: error: dereferencing pointer to incomplete type mod_sql_mysql.c:442: error: dereferencing pointer to incomplete type mod_sql_mysql.c:442: warning: implicit declaration of function `mysql_init' mod_sql_mysql.c:444: error: dereferencing pointer to incomplete type mod_sql_mysql.c:455: warning: implicit declaration of function `mysql_options' mod_sql_mysql.c:455: error: dereferencing pointer to incomplete type mod_sql_mysql.c:455: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function) mod_sql_mysql.c:457: warning: implicit declaration of function `mysql_real_connect' mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type mod_sql_mysql.c:458: error: dereferencing pointer to incomplete type mod_sql_mysql.c:458: error: dereferencing pointer to incomplete type mod_sql_mysql.c:459: error: `CLIENT_INTERACTIVE' undeclared (first use in this function) mod_sql_mysql.c: In function `cmd_close': mod_sql_mysql.c:553: warning: implicit declaration of function `mysql_close' mod_sql_mysql.c:553: error: dereferencing pointer to incomplete type mod_sql_mysql.c:554: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `cmd_defineconnection': mod_sql_mysql.c:620: error: invalid application of `sizeof' to an incomplete type mod_sql_mysql.c:623: error: dereferencing pointer to incomplete type mod_sql_mysql.c:624: error: dereferencing pointer to incomplete type mod_sql_mysql.c:655: error: dereferencing pointer to incomplete type mod_sql_mysql.c:656: error: dereferencing pointer to incomplete type mod_sql_mysql.c:657: error: dereferencing pointer to incomplete type mod_sql_mysql.c:674: error: dereferencing pointer to incomplete type mod_sql_mysql.c:675: error: dereferencing pointer to incomplete type mod_sql_mysql.c:676: error: dereferencing pointer to incomplete type mod_sql_mysql.c:677: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `cmd_select': mod_sql_mysql.c:798: warning: implicit declaration of function `mysql_real_query' mod_sql_mysql.c:798: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `cmd_insert': mod_sql_mysql.c:912: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `cmd_update': mod_sql_mysql.c:1011: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `cmd_query': mod_sql_mysql.c:1127: error: dereferencing pointer to incomplete type mod_sql_mysql.c:1142: warning: implicit declaration of function `mysql_field_count' mod_sql_mysql.c:1142: error: dereferencing pointer to incomplete type mod_sql_mysql.c: In function `cmd_escapestring': mod_sql_mysql.c:1222: warning: implicit declaration of function `mysql_escape_string' mod_sql_mysql.c: In function `cmd_checkauth': mod_sql_mysql.c:1289: warning: implicit declaration of function `make_scrambled_password' make[1]: *** [mod_sql_mysql.o] Fehler 1 make[1]: Leaving directory `/usr/src/proftpd-1.2.10/modules' make: *** [modules] Fehler 2 es scheint wieder mysql.h bzw. mod_sql_mysql.c zu fehlen, dies müsste doch eigendlich in der mysql-devel enthalten sein. Hab auch die neuste version installiert. Suse 9.3 MySQL 5.0.18-0 proftpd 1.2.1.0 Hab mitlerweile schon jedes forum durchsucht...leider keine lösung gefunden, oder ich hab sie überlesen. Wo muss ich mir die mysql.h herholen? Vielen Dank im Vorraus Ifrit Titel: Selbstlösung Beitrag von: Ifrit am 19. Februar 2006, 17:01:59 und tatsächlich, Lesen sollte gelernt sein.
für alle die das selber problem haben: Code: ./configure --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_file:mod_quotatab_sql --prefix=/usr/ --sysconfdir=/etc --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql ausführen ;) |