From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 28 Apr 2005 09:14:59 +0600 From: =?koi8-r?B?4sXM0cXXIPfMwcTJzcnSIO7Jy8/MwcXXyd4=?= X-Mailer: The Bat! (v2.00.6) Business X-Priority: 3 (Normal) Message-ID: <19889506293.20050428091459@mail.ru> To: Community@altlinux.ru MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Cc: Subject: [Comm] =?koi8-r?b?TmV0QU1TIDMuMi4yIC0gz9vJwsvJINDSySDTws/Sy8U=?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 03:14:24 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Собираю 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