Witam,
kompiluje lmsd (debiut) i mam taki bład
[przemek@vitaa daemon]# ./configure OS Type... Linux Database type... MySQL Library location... /usr/lib Includes location... /usr/include SQL queries debugging... no Events debugging... no Configuration file... no Daemon install directory... /usr/local/lms/bin Modules install directory... /usr/local/lms/lib Create Makefile for main program... done Create Makefile for mod_cutoff... done Create Makefile for mod_dhcp... done Create Makefile for mod_dns... done Create Makefile for mod_ethers... done Create Makefile for mod_ewx-pt... done Create Makefile for mod_ewx-stm... done Create Makefile for mod_ggnotify... done Create Makefile for mod_hostfile... done Create Makefile for mod_notify... done Create Makefile for mod_oident... done Create Makefile for mod_parser... done Create Makefile for mod_payments... done Create Makefile for mod_pinger... done Create Makefile for mod_system... done Create Makefile for mod_tc... done Create Makefile for mod_tc-ng... done Create Makefile for mod_traffic... done Create Makefile for mod_parser extensions... done *************************************************************** Configuration finished. Now You can type 'make && make install' [przemek@vitaa daemon]# make 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: error: mysql/mysql.h: Nie ma takiego pliku ani katalogu dbdrivers/mysql/db.h:7:32: error: mysql/mysqld_error.h: Nie ma takiego pliku ani katalogu In file included from dbdrivers/mysql/db.c:31: dbdrivers/mysql/db.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CONN’ dbdrivers/mysql/db.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ResultHandle’ dbdrivers/mysql/db.h:57: error: expected specifier-qualifier-list before ‘CONN’ dbdrivers/mysql/db.c:35: error: expected ‘)’ before ‘*’ token dbdrivers/mysql/db.c: In function ‘db_connect’: dbdrivers/mysql/db.c:119: warning: implicit declaration of function ‘mysql_init’ dbdrivers/mysql/db.c:119: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:119: warning: comparison between pointer and integer dbdrivers/mysql/db.c:126: warning: implicit declaration of function ‘mysql_ssl_set’ dbdrivers/mysql/db.c:126: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:128: warning: implicit declaration of function ‘mysql_real_connect’ dbdrivers/mysql/db.c:128: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:129: warning: implicit declaration of function ‘mysql_error’ dbdrivers/mysql/db.c:129: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:129: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ dbdrivers/mysql/db.c:130: warning: implicit declaration of function ‘mysql_close’ dbdrivers/mysql/db.c:130: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:136: warning: implicit declaration of function ‘mysql_set_character_set’ dbdrivers/mysql/db.c:136: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c: In function ‘db_disconnect’: dbdrivers/mysql/db.c:153: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c: In function ‘db_query’: dbdrivers/mysql/db.c:165: error: ‘ResultHandle’ undeclared (first use in this function) dbdrivers/mysql/db.c:165: error: (Each undeclared identifier is reported only once dbdrivers/mysql/db.c:165: error: for each function it appears in.) dbdrivers/mysql/db.c:165: error: ‘res’ undeclared (first use in this function) dbdrivers/mysql/db.c:180: warning: implicit declaration of function ‘mysql_query’ dbdrivers/mysql/db.c:180: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:181: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:181: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ dbdrivers/mysql/db.c:186: warning: implicit declaration of function ‘mysql_store_result’ dbdrivers/mysql/db.c:186: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:187: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:187: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ dbdrivers/mysql/db.c:192: warning: implicit declaration of function ‘get_query_result’ dbdrivers/mysql/db.c:192: warning: assignment makes pointer from integer without a cast dbdrivers/mysql/db.c:193: warning: implicit declaration of function ‘mysql_free_result’ dbdrivers/mysql/db.c: In function ‘db_exec’: dbdrivers/mysql/db.c:253: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:254: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c:254: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ dbdrivers/mysql/db.c:258: warning: implicit declaration of function ‘mysql_affected_rows’ dbdrivers/mysql/db.c:258: error: ‘ConnHandle’ has no member named ‘conn’ dbdrivers/mysql/db.c: In function ‘db_escape’: dbdrivers/mysql/db.c:304: warning: implicit declaration of function ‘mysql_real_escape_string’ dbdrivers/mysql/db.c:304: error: ‘ConnHandle’ has no member named ‘conn’ make: *** [dbdrivers/mysql/db.o] Błąd 1 [przemek@vitaa daemon]#
czego brak? distro to PLD