problem z kompilacja Daemonow
witam, mam problem z zainstalowaniem daemonow w LMS'e. Co robie: cd .(costam)./lms/daemon ./configure --with-mysql --libdir=/usr/lib/mysql --incdir=/usr/include/mysql
wyskakuje: OS Type... Linux Database type... MySQL Library location... /usr/lib/mysql Includes location... /usr/include/mysql 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_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_traffic... done Create Makefile for mod_parser extensions... done *************************************************************** Configuration finished. Now You can type 'make && make install'
po wpisaniu komendy make zaczynaja sie bledy z gory do dolu(oto wycinek logu):
/usr/include/_G_config.h:14:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/_G_config.h:24, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/wchar.h:48:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/gconv.h:28, from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/wchar.h:48:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/gconv.h:31:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/gconv.h:72: error: parse error before "size_t" /usr/include/gconv.h:88: error: parse error before "size_t" /usr/include/gconv.h:97: error: parse error before "size_t" /usr/include/gconv.h:174: error: parse error before "size_t" /usr/include/gconv.h:177: error: parse error before '}' token In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/_G_config.h:47: error: field `__cd' has incomplete type /usr/include/_G_config.h:50: error: field `__cd' has incomplete type In file included from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/libio.h:53:21: stdarg.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/stdio.h:72, from dbdrivers/mysql/db.c:26: /usr/include/libio.h:350: error: parse error before "size_t" /usr/include/libio.h:359: error: parse error before "size_t" /usr/include/libio.h:463: error: parse error before "__gnuc_va_list" /usr/include/libio.h:465: error: parse error before "__gnuc_va_list" /usr/include/libio.h:467: error: parse error before "_IO_sgetn" /usr/include/libio.h:467: error: parse error before "size_t" In file included from dbdrivers/mysql/db.c:26: /usr/include/stdio.h:279: error: parse error before "size_t" /usr/include/stdio.h:286: error: parse error before "size_t" /usr/include/stdio.h:305: error: parse error before "__gnuc_va_list" /usr/include/stdio.h:307: error: parse error before "__gnuc_va_list" /usr/include/stdio.h:311: error: parse error before "__gnuc_va_list" /usr/include/stdio.h:317: error: parse error before "size_t" /usr/include/stdio.h:321: error: parse error before "size_t" /usr/include/stdio.h:489: error: parse error before "fread" /usr/include/stdio.h:489: error: parse error before "size_t" /usr/include/stdio.h:492: error: parse error before "fwrite" /usr/include/stdio.h:492: error: parse error before "size_t" /usr/include/stdio.h:504: error: parse error before "fread_unlocked" /usr/include/stdio.h:504: error: parse error before "size_t" /usr/include/stdio.h:506: error: parse error before "fwrite_unlocked" /usr/include/stdio.h:506: error: parse error before "size_t" In file included from /usr/include/stdio.h:674, from dbdrivers/mysql/db.c:26: /usr/include/bits/stdio.h:34: error: parse error before "__gnuc_va_list" /usr/include/bits/stdio.h: In function `vprintf': /usr/include/bits/stdio.h:36: error: `__fmt' undeclared (first use in this function) /usr/include/bits/stdio.h:36: error: `__arg' undeclared (first use in this function) In file included from /usr/include/syslog.h:1, from dbdrivers/mysql/db.c:27: /usr/include/sys/syslog.h:37:20: stdarg.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/syslog.h:1, from dbdrivers/mysql/db.c:27: /usr/include/sys/syslog.h: At top level: /usr/include/sys/syslog.h:187: error: parse error before "__gnuc_va_list" dbdrivers/mysql/db.c:28:20: stdarg.h: Nie ma takiego pliku ani katalogu In file included from dbdrivers/mysql/db.c:29: /usr/include/stdlib.h:33:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from dbdrivers/mysql/db.c:29: /usr/include/stdlib.h:137: error: parse error before "__ctype_get_mb_cur_max" In file included from /usr/include/stdlib.h:414, from dbdrivers/mysql/db.c:29: /usr/include/sys/types.h:147:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/sys/types.h:266, from /usr/include/stdlib.h:414, from dbdrivers/mysql/db.c:29: /usr/include/bits/pthreadtypes.h:48: error: parse error before "size_t" /usr/include/bits/pthreadtypes.h:51: error: parse error before "__stacksize" In file included from dbdrivers/mysql/db.c:29: /usr/include/stdlib.h:431: error: parse error before "size_t" /usr/include/stdlib.h:460: error: parse error before "size_t" /usr/include/stdlib.h:565: error: parse error before "size_t" In file included from /usr/include/stdlib.h:576, from dbdrivers/mysql/db.c:29: /usr/include/alloca.h:25:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/stdlib.h:576, from dbdrivers/mysql/db.c:29: /usr/include/alloca.h:33: error: parse error before "__size" In file included from dbdrivers/mysql/db.c:29: /usr/include/stdlib.h:581: error: parse error before "__size" /usr/include/stdlib.h:731: error: parse error before "size_t" /usr/include/stdlib.h:735: error: parse error before "size_t" /usr/include/stdlib.h:804: error: parse error before "size_t" /usr/include/stdlib.h:807: error: parse error before "size_t" /usr/include/stdlib.h:811: error: parse error before "size_t" /usr/include/stdlib.h:814: error: parse error before "size_t" /usr/include/stdlib.h:822: error: parse error before "size_t" /usr/include/stdlib.h:825: error: parse error before '*' token /usr/include/stdlib.h:829: error: parse error before "wchar_t" /usr/include/stdlib.h:833: error: parse error before "mbstowcs" /usr/include/stdlib.h:833: error: parse error before '*' token /usr/include/stdlib.h:836: error: parse error before "wcstombs" /usr/include/stdlib.h:837: error: parse error before '*' token In file included from dbdrivers/mysql/db.c:30: /usr/include/unistd.h:199:20: stddef.h: Nie ma takiego pliku ani katalogu In file included from dbdrivers/mysql/db.c:30: /usr/include/unistd.h:310: error: parse error before "size_t" /usr/include/unistd.h:313: error: parse error before "size_t" /usr/include/unistd.h:423: error: parse error before "size_t" In file included from dbdrivers/mysql/db.c:30: /usr/include/unistd.h:513: error: parse error before "confstr" /usr/include/unistd.h:513: error: parse error before "size_t" /usr/include/unistd.h:682: error: parse error before "size_t" /usr/include/unistd.h:707: error: parse error before "size_t" In file included from dbdrivers/mysql/db.c:30: /usr/include/unistd.h:752: error: parse error before "size_t" /usr/include/unistd.h:759: error: parse error before "size_t" /usr/include/unistd.h:769: error: parse error before "size_t" /usr/include/unistd.h:770: error: parse error before "size_t" /usr/include/unistd.h:787: error: parse error before "size_t" dbdrivers/mysql/db.c: In function `db_query': dbdrivers/mysql/db.c:167: error: `size_t' undeclared (first use in this function) dbdrivers/mysql/db.c:167: error: parse error before "const" dbdrivers/mysql/db.c:167: error: parse error before "const" dbdrivers/mysql/db.c:167: error: parse error before "__len" dbdrivers/mysql/db.c:167: error: `__len' undeclared (first use in this function) dbdrivers/mysql/db.c:167: error: parse error before ')' token dbdrivers/mysql/db.c: In function `db_pquery': dbdrivers/mysql/db.c:194: error: `va_list' undeclared (first use in this function) dbdrivers/mysql/db.c:194: error: parse error before "ap" dbdrivers/mysql/db.c:198: error: `size_t' undeclared (first use in this function) dbdrivers/mysql/db.c:198: error: parse error before "const" dbdrivers/mysql/db.c:198: error: parse error before "const" dbdrivers/mysql/db.c:198: error: parse error before "__len" dbdrivers/mysql/db.c:198: error: `__len' undeclared (first use in this function) dbdrivers/mysql/db.c:198: error: parse error before ')' token dbdrivers/mysql/db.c:202: warning: implicit declaration of function `va_start' dbdrivers/mysql/db.c:202: error: `ap' undeclared (first use in this function) dbdrivers/mysql/db.c:209: warning: implicit declaration of function `va_arg' dbdrivers/mysql/db.c:209: error: parse error before "unsigned"
dbdrivers/mysql/db.c:216: error: parse error before "const" dbdrivers/mysql/db.c:216: error: parse error before "const" dbdrivers/mysql/db.c:216: error: parse error before "__len" dbdrivers/mysql/db.c:216: error: parse error before ')' token dbdrivers/mysql/db.c:218: warning: implicit declaration of function `va_end' dbdrivers/mysql/db.c: In function `db_exec': dbdrivers/mysql/db.c:240: error: `size_t' undeclared (first use in this function) dbdrivers/mysql/db.c:240: error: parse error before "const" dbdrivers/mysql/db.c:240: error: parse error before "const" dbdrivers/mysql/db.c:240: error: parse error before "__len" dbdrivers/mysql/db.c:240: error: `__len' undeclared (first use in this function) dbdrivers/mysql/db.c:240: error: parse error before ')' token dbdrivers/mysql/db.c: In function `db_pexec': dbdrivers/mysql/db.c:258: error: `va_list' undeclared (first use in this function) dbdrivers/mysql/db.c:258: error: parse error before "ap" dbdrivers/mysql/db.c:262: error: `size_t' undeclared (first use in this function) dbdrivers/mysql/db.c:262: error: parse error before "const" dbdrivers/mysql/db.c:262: error: parse error before "const" dbdrivers/mysql/db.c:262: error: parse error before "__len" dbdrivers/mysql/db.c:262: error: `__len' undeclared (first use in this function) dbdrivers/mysql/db.c:262: error: parse error before ')' token dbdrivers/mysql/db.c:266: error: `ap' undeclared (first use in this function) dbdrivers/mysql/db.c:273: error: parse error before "unsigned" dbdrivers/mysql/db.c:280: error: parse error before "const" dbdrivers/mysql/db.c:280: error: parse error before "const" dbdrivers/mysql/db.c:280: error: parse error before "__len" dbdrivers/mysql/db.c:280: error: parse error before ')' token dbdrivers/mysql/db.c: In function `db_get_data': dbdrivers/mysql/db.c:367: error: `size_t' undeclared (first use in this function) dbdrivers/mysql/db.c:367: error: parse error before "__s1_len" dbdrivers/mysql/db.c:367: error: `__s1_len' undeclared (first use in this function) dbdrivers/mysql/db.c:367: error: `__s2_len' undeclared (first use in this function) dbdrivers/mysql/db.c:367: error: parse error before "const" dbdrivers/mysql/db.c:367: error: parse error before "const" dbdrivers/mysql/db.c:367: warning: left-hand operand of comma expression has no effect dbdrivers/mysql/db.c:367: warning: left-hand operand of comma expression has no effect dbdrivers/mysql/db.c:367: error: parse error before "const" dbdrivers/mysql/db.c:367: error: parse error before "const" dbdrivers/mysql/db.c:367: error: parse error before ')' token dbdrivers/mysql/db.c:367: error: `__result' undeclared (first use in this function) dbdrivers/mysql/db.c:367: error: parse error before ':' token dbdrivers/mysql/db.c:367: error: `__s2' undeclared (first use in this function) dbdrivers/mysql/db.c:367: error: parse error before ')' token dbdrivers/mysql/db.c:367: warning: statement with no effect dbdrivers/mysql/db.c: At top level: dbdrivers/mysql/db.c:367: error: parse error before ')' token dbdrivers/mysql/db.c:367: error: `__result' used prior to declaration dbdrivers/mysql/db.c:367: error: `__s1' undeclared here (not in a function) dbdrivers/mysql/db.c:367: error: `colname' undeclared here (not in a function) dbdrivers/mysql/db.c:367: error: parse error before "if" dbdrivers/mysql/db.c:367: warning: type defaults to `int' in declaration of `__result' dbdrivers/mysql/db.c:367: error: conflicting declarations of `__result' dbdrivers/mysql/db.c:367: error: `__result' previously defined here dbdrivers/mysql/db.c:367: warning: data definition has no type or storage class dbdrivers/mysql/db.c:367: error: parse error before '}' token /usr/include/gconv.h:176: warning: array `__data' assumed to have one element dbdrivers/mysql/db.c:367: error: register name not specified for `__result' make: *** [dbdrivers/mysql/db.o] Błąd 1
co to moze byc? prosze o pomoc pozdrawiam
_______________________________________________ lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
uczestnicy (1)
-
srck