[Comm] NetAMS 3.2.2 - ошибки при сборке

Беляев Владимир Николаевич =?iso-8859-1?q?w=5Fn=5Fb_=CE=C1_mail=2Eru?=
Чт Апр 28 07:14:59 MSD 2005


Здравствуйте!
Собираю netams - идут ошибки, что я делаю не так?
Система Master 2.4.

Делаю
make -f Makefile.run

Получаю:

cd src && make netams
make[1]: Entering directory `/home/vlad/install/netams-3.2.2/src'
g++ -g -Wall -pipe -O2 -I/usr/local/include -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -DIPTBL_NONE -DHAVE_BILLING -DDEBUG -D_REENTRANT -D_THREAD_SAFE   -c -o s_billing.o s_billing.c
make[1]: Leaving directory `/home/vlad/install/netams-3.2.2/src'
In file included from netams.h:70,
                 from s_billing.c:12:
services.h:57: syntax error before `*'
In file included from netams.h:75,
                 from s_billing.c:12:
policy_prefix.h:31: syntax error before `*'
In file included from netams.h:76,
                 from s_billing.c:12:
policy.h:143: syntax error before `*'
policy.h:192: syntax error before `*'
In file included from netams.h:77,
                 from s_billing.c:12:
net_units.h:140: syntax error before `*'
In file included from netams.h:78,
                 from s_billing.c:12:
iptree.h:24: syntax error before `*'
In file included from netams.h:86,
                 from s_billing.c:12:
billing.h:47: syntax error before `*'
In file included from s_billing.c:12:
netams.h:472: syntax error before `*'
netams.h:535: syntax error before `*'
netams.h:569: syntax error before `*'
s_billing.c: In function `void sBiInit (Service *)':
s_billing.c:44: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:44: `pthread_rwlock_t' undeclared (first use this function)
s_billing.c:44: (Each undeclared identifier is reported only once for each function it appears in.)
s_billing.c:44: syntax error before `)'
s_billing.c:45: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:45: `pthread_rwlock_init' undeclared (first use this function)
s_billing.c: In function `void sBiProcessCfg (char **, Connection *, unsigned char)':
s_billing.c:64: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:64: `pthread_rwlock_wrlock' undeclared (first use this function)
s_billing.c:340: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:340: `pthread_rwlock_unlock' undeclared (first use this function)
s_billing.c: In function `void sBiListCfg (Service *, FILE *)':
s_billing.c:349: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:350: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:350: `pthread_rwlock_rdlock' undeclared (first use this function)
s_billing.c:386: `struct Billing_cfg' has no member named `rwlock'
s_billing.c: In function `void sBiCancel (void *)':
s_billing.c:454: `struct Billing_cfg' has no member named `rwlock'
s_billing.c:454: `pthread_rwlock_destroy' undeclared (first use this function)
s_billing.c:455: `struct Billing_cfg' has no member named `rwlock'
s_billing.c: In function `void cShowBillingAccount (Connection *, char **)':
s_billing.c:499: warning: unsigned int format, long unsigned int arg (arg 5)
s_billing.c:499: warning: unsigned int format, long unsigned int arg (arg 8)
s_billing.c:500: warning: unsigned int format, long unsigned int arg (arg 3)
s_billing.c:500: warning: unsigned int format, long unsigned int arg (arg 4)
s_billing.c:500: warning: unsigned int format, long unsigned int arg (arg 5)
make[1]: *** [s_billing.o] Ошибка 1
make: *** [all] Ошибка 2

--
С уважением, Беляев
ICQ: 119181289





Подробная информация о списке рассылки community