Blad przy make i make install daemona :(
Witam
Wyskakuje mi nastepujacy problem (ponizej) rozumiem ze to problem mysql-a ale jak wyszuukje takowych plikow to nie moe ichznalezc. MySql jest zainstalowany wiec gdzie problem ? Moze w momencie configure podaje zle parametry, ale niestety nie wiem dokladnie do czego one maja byc :(
Mam nadzieje ze za lamerskie pytanie nie zostane zrugany ;)
Pozdrawiam
Listing:
make && make installlms/daemon # cc -I/usr/include -Wall -O2 -fPIC -DGNU -DUSE_MYSQL -DLMS_LIB_DIR="/usr/local/lms/lib" -c -o dbdrivers/mysql/db.o dbdrivers/mysql/db.c In file included from dbdrivers/mysql/db.c:31: dbdrivers/mysql/db.h:6:25: mysql/mysql.h: No such file or directory dbdrivers/mysql/db.h:7:32: mysql/mysqld_error.h: No such file or directory In file included from dbdrivers/mysql/db.c:31: dbdrivers/mysql/db.h:23: error: syntax error before "CONN" dbdrivers/mysql/db.h:23: warning: type defaults to `int' in declaration of `CONN' dbdrivers/mysql/db.h:23: warning: data definition has no type or storage class dbdrivers/mysql/db.h:24: error: syntax error before "ResultHandle" dbdrivers/mysql/db.h:24: warning: type defaults to `int' in declaration of `ResultHandle' dbdrivers/mysql/db.h:24: warning: data definition has no type or storage class dbdrivers/mysql/db.h:57: error: syntax error before "CONN" dbdrivers/mysql/db.h:57: warning: no semicolon at end of struct or union dbdrivers/mysql/db.h:59: warning: type defaults to `int' in declaration of `ConnHandle' dbdrivers/mysql/db.h:59: warning: data definition has no type or storage class dbdrivers/mysql/db.h:65: error: syntax error before '*' token dbdrivers/mysql/db.h:66: warning: type defaults to `int' in declaration of `db_connect' dbdrivers/mysql/db.h:66: warning: data definition has no type or storage class dbdrivers/mysql/db.h:69: error: syntax error before '*' token dbdrivers/mysql/db.h:72: error: syntax error before '*' token dbdrivers/mysql/db.h:76: error: syntax error before '*' token dbdrivers/mysql/db.h:79: error: syntax error before '*' token dbdrivers/mysql/db.h:83: error: syntax error before '*' token dbdrivers/mysql/db.h:86: error: syntax error before '*' token dbdrivers/mysql/db.h:92: error: syntax error before '*' token dbdrivers/mysql/db.h:95: error: syntax error before '*' token dbdrivers/mysql/db.h:98: error: syntax error before '*' token dbdrivers/mysql/db.c:35: error: syntax error before '*' token dbdrivers/mysql/db.c: In function `get_query_result': dbdrivers/mysql/db.c:43: error: `MYSQL_ROW' undeclared (first use in this function) dbdrivers/mysql/db.c:43: error: (Each undeclared identifier is reported only once dbdrivers/mysql/db.c:43: error: for each function it appears in.) dbdrivers/mysql/db.c:43: error: syntax error before "row" dbdrivers/mysql/db.c:44: error: `MYSQL_FIELD' undeclared (first use in this function) dbdrivers/mysql/db.c:44: error: `field' undeclared (first use in this function) dbdrivers/mysql/db.c:47: warning: implicit declaration of function `mysql_num_fields' dbdrivers/mysql/db.c:47: error: `res' undeclared (first use in this function)
uczestnicy (1)
-
Rafał Kamiński