Witam, przyznam sie szczerze ze juz nie wiem czego sie chwytac aby skompilowac almsd, non stop wyrzuca mi taki blad, mam nadzieje ze tu mi ktos pomoze, jest to Slack 9.0 mysl /usr/local/mysql/bin/mysqld Ver 4.0.13-standard for pc-linux on i686 Moze jakis blad robie przy parametrach, juz sam nie wiem Prosilbym o wskazowki
Pozdrawiam Zbyszek
./configure Database type... MySQL Library location... /usr/lib Includes location... /usr/include SQL queries debugging... no Events debugging... no Install directory... /usr/local/bin 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_ggnotify... done Create Makefile for mod_hostfile... done Create Makefile for mod_notify... done Create Makefile for mod_oident... done Create Makefile for mod_payments... done Create Makefile for mod_tc... done Create Makefile for mod_traffic... done *************************************************************** Configuration finished. Now You can type 'make && make install'
/usr/src/lms/daemon# make cc -I/usr/include -DUSE_MYSQL -c -o almsd.o almsd.c In file included from db.h:12, from almsd.h:11, from util.h:11, from almsd.c:34: mysql.h:8:25: mysql/mysql.h: No such file or directory mysql.h:9:32: mysql/mysqld_error.h: No such file or directory In file included from db.h:12, from almsd.h:11, from util.h:11, from almsd.c:34: mysql.h:11: parse error before "CONN_HANDLE" mysql.h:11: warning: data definition has no type or storage class mysql.h:12: parse error before "RESULT_HANDLE" mysql.h:12: warning: data definition has no type or storage class In file included from almsd.h:11, from util.h:11, from almsd.c:34: db.h:53: parse error before "RESULT_HANDLE" db.h:53: warning: no semicolon at end of struct or union db.h:58: parse error before '}' token db.h:59: warning: data definition has no type or storage class db.h:72: parse error before '*' token db.h:72: warning: data definition has no type or storage class db.h:76: parse error before '*' token db.h:76: warning: data definition has no type or storage class db.h:79: parse error before '*' token db.h:98: parse error before '*' token db.h:101: parse error before '*' token db.h:101: parse error before '*' token db.h:101: warning: data definition has no type or storage class In file included from util.h:11, from almsd.c:34: almsd.h:23: parse error before "QUERY_HANDLE" almsd.h:23: warning: no semicolon at end of struct or union almsd.h:24: `db_pquery' redeclared as different kind of symbol db.h:76: previous declaration of `db_pquery' almsd.h:24: warning: data definition has no type or storage class almsd.h:25: parse error before '*' token almsd.h:25: `db_free' redeclared as different kind of symbol db.h:79: previous declaration of `db_free' almsd.h:26: `db_exec' redeclared as different kind of symbol db.h:82: previous declaration of `db_exec' almsd.h:27: `db_pexec' redeclared as different kind of symbol db.h:86: previous declaration of `db_pexec' almsd.h:28: `db_begin' redeclared as different kind of symbol db.h:89: previous declaration of `db_begin' almsd.h:29: `db_commit' redeclared as different kind of symbol db.h:92: previous declaration of `db_commit' almsd.h:30: `db_abort' redeclared as different kind of symbol db.h:95: previous declaration of `db_abort' almsd.h:31: parse error before '*' token almsd.h:31: `db_get_data' redeclared as different kind of symbol db.h:98: previous declaration of `db_get_data' almsd.h:34: `iniparser_getstr' redeclared as different kind of symbol iniparser/iniparser.h:120: previous declaration of `iniparser_getstr' almsd.h:35: `iniparser_getstring' redeclared as different kind of symbol iniparser/iniparser.h:138: previous declaration of `iniparser_getstring' almsd.h:36: `iniparser_getint' redeclared as different kind of symbol iniparser/iniparser.h:153: previous declaration of `iniparser_getint' almsd.h:37: `iniparser_getboolean' redeclared as different kind of symbol iniparser/iniparser.h:202: previous declaration of `iniparser_getboolean' almsd.h:38: `iniparser_getdouble' redeclared as different kind of symbol iniparser/iniparser.h:168: previous declaration of `iniparser_getdouble' almsd.h:39: `iniparser_load' redeclared as different kind of symbol iniparser/iniparser.h:261: previous declaration of `iniparser_load' almsd.h:40: `iniparser_freedict' redeclared as different kind of symbol iniparser/iniparser.h:274: previous declaration of `iniparser_freedict' almsd.h:47: parse error before '}' token In file included from almsd.c:34: util.h:16: `str_replace' redeclared as different kind of symbol almsd.h:43: previous declaration of `str_replace' util.h:19: `str_save' redeclared as different kind of symbol almsd.h:44: previous declaration of `str_save' util.h:25: `str_concat' redeclared as different kind of symbol almsd.h:45: previous declaration of `str_concat' In file included from almsd.c:34: util.h:28:1: warning: no newline at end of file almsd.c: In function `main': almsd.c:39: `res' undeclared (first use in this function) almsd.c:39: (Each undeclared identifier is reported only once almsd.c:39: for each function it appears in.) almsd.c:82: sizeof applied to an incomplete type almsd.c:83: dereferencing pointer to incomplete type almsd.c:84: dereferencing pointer to incomplete type almsd.c:86: dereferencing pointer to incomplete type almsd.c:87: dereferencing pointer to incomplete type almsd.c:88: dereferencing pointer to incomplete type almsd.c:89: dereferencing pointer to incomplete type almsd.c:90: dereferencing pointer to incomplete type almsd.c:91: dereferencing pointer to incomplete type almsd.c:92: dereferencing pointer to incomplete type almsd.c:93: dereferencing pointer to incomplete type almsd.c:94: dereferencing pointer to incomplete type almsd.c:96: dereferencing pointer to incomplete type almsd.c:97: dereferencing pointer to incomplete type almsd.c:98: dereferencing pointer to incomplete type almsd.c:99: dereferencing pointer to incomplete type almsd.c:100: dereferencing pointer to incomplete type almsd.c:101: dereferencing pointer to incomplete type almsd.c:102: dereferencing pointer to incomplete type almsd.c:104: dereferencing pointer to incomplete type almsd.c:105: dereferencing pointer to incomplete type almsd.c:106: dereferencing pointer to incomplete type almsd.c:107: dereferencing pointer to incomplete type make: *** [almsd.o] Error 1