The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"не ставится netams"
Отправлено hammer, 12-Янв-09 02:05 
В общем ситуация такая.
Скачал netams в исходниках дал ./configure все нормально прошло


##########################################################
## Configuring NeTAMS for build targets...            ##
Linux operating system...
Will have LIBIPQ support
Optional features: BW_limit Fast_FW_checks Layer7_filter
Will have MYSQL support
        [ /usr/lib/mysql        /usr/include/mysql ]
Will have BILLING service
Will have DEBUG flag set
Will have RADIUS support
## Configuration file was built.                              ##
##########################################################

дальше

[root@localhost netams-3.4.1rc1]# make
sh configure.sh
cd lib && make library
make[1]: Entering directory `/root/netams-3.4.1rc1/lib'
gcc -g -Wall -pipe -O2 -I../src -I./ -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -I/usr/include -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -I./libipulog/include -c libipulog/libipulog.c
libipulog/libipulog.c:27:20: error: stdlib.h: No such file or directory
libipulog/libipulog.c:28:19: error: stdio.h: No such file or directory
libipulog/libipulog.c:29:20: error: string.h: No such file or directory
libipulog/libipulog.c:30:20: error: unistd.h: No such file or directory
libipulog/libipulog.c:31:20: error: net/if.h: No such file or directory
In file included from libipulog/libipulog.c:32:
../lib/libipulog/include/libipulog/libipulog.h:6:19: error: errno.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:8:19: error: fcntl.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:9:23: error: sys/types.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:10:24: error: sys/socket.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:11:21: error: sys/uio.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:12:23: error: asm/types.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:13:27: error: linux/netlink.h: No such file or directory
../lib/libipulog/include/libipulog/libipulog.h:15:43: error: linux/netfilter_ipv4/ipt_ULOG.h: No such file or directory
In file included from libipulog/libipulog.c:32:
../lib/libipulog/include/libipulog/libipulog.h:25: error: expected specifier-qualifier-list before 'u_int8_t'
../lib/libipulog/include/libipulog/libipulog.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ipulog_group2gmask'
../lib/libipulog/include/libipulog/libipulog.h:35: error: expected ')' before 'nl_id'
../lib/libipulog/include/libipulog/libipulog.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ipulog_read'
../lib/libipulog/include/libipulog/libipulog.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from libipulog/libipulog.c:33:
./lib.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CRC16'
libipulog/libipulog.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ipulog_netlink_recvfrom'
libipulog/libipulog.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ipulog_group2gmask'
libipulog/libipulog.c:117: error: expected ')' before 'nl_id'
libipulog/libipulog.c: In function 'ipulog_destroy_handle':
libipulog/libipulog.c:170: warning: implicit declaration of function 'close'
libipulog/libipulog.c:171: warning: implicit declaration of function 'free'
libipulog/libipulog.c: At top level:
libipulog/libipulog.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ipulog_read'
libipulog/libipulog.c:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
libipulog/libipulog.c: In function 'ipulog_perror':
libipulog/libipulog.c:236: warning: implicit declaration of function 'fputs'
libipulog/libipulog.c:236: error: 'stderr' undeclared (first use in this function)
libipulog/libipulog.c:236: error: (Each undeclared identifier is reported only once
libipulog/libipulog.c:236: error: for each function it appears in.)
libipulog/libipulog.c:240: warning: implicit declaration of function 'fprintf'
libipulog/libipulog.c:240: warning: incompatible implicit declaration of built-in function 'fprintf'
libipulog/libipulog.c:241: error: 'errno' undeclared (first use in this function)
libipulog/libipulog.c:242: warning: implicit declaration of function 'strerror'
libipulog/libipulog.c:242: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
libipulog/libipulog.c:243: warning: implicit declaration of function 'fputc'
make[1]: *** [libipulog.a] Error 1
make[1]: Leaving directory `/root/netams-3.4.1rc1/lib'
make: *** [lib] Error 2

че делать то ???

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру