ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] NetAMS 3.2.2 - ошибки при сборке
@ 2005-04-28  3:14 Беляев Владимир Николаевич
  2005-04-28  5:55 ` Vladimir V Kamarzin
  0 siblings, 1 reply; 12+ messages in thread
From: Беляев Владимир Николаевич @ 2005-04-28  3:14 UTC (permalink / raw)
  To: Community

Здравствуйте!
Собираю 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




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-04-28  8:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28  3:14 [Comm] NetAMS 3.2.2 - ошибки при сборке Беляев Владимир Николаевич
2005-04-28  5:55 ` Vladimir V Kamarzin
2005-04-28  6:08   ` Re[2]: " Беляев Владимир Николаевич
2005-04-28  6:11     ` Re[3]: " Anton Gorlov
2005-04-28  6:30       ` Re[4]: " Беляев Владимир Николаевич
2005-04-28  6:39         ` Mike Lykov
2005-04-28  6:51           ` Re[6]: " Беляев Владимир Николаевич
2005-04-28  7:14             ` Mike Lykov
2005-04-28  7:41               ` Re[8]: " Беляев Владимир Николаевич
2005-04-28  7:59                 ` Sergey
2005-04-28  8:01                 ` Drool
2005-04-28  8:30                   ` Re[2]: " Беляев Владимир Николаевич

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git