From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 28 Apr 2005 13:41:38 +0600 From: =?koi8-r?B?4sXM0cXXIPfMwcTJzcnSIO7Jy8/MwcXXyd4=?= X-Mailer: The Bat! (v2.00.6) Business X-Priority: 3 (Normal) Message-ID: <163105504898.20050428134138@mail.ru> To: Mike Lykov Subject: =?koi8-r?B?UmVbOF06IFtDb21tXSBOZXRBTVMgMy4yLjIgLSDP28nCy8kg0NLJINPCz9LL?= =?koi8-r?B?xQ==?= In-Reply-To: <200504281214.45802.combr@vesna.ru> References: <19889506293.20050428091459@mail.ru> <200504281139.48987.combr@vesna.ru> <132102523040.20050428125156@mail.ru> <200504281214.45802.combr@vesna.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit 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 07:41:03 -0000 Archived-At: List-Archive: List-Post: Hello Mike, Thursday, April 28, 2005, 1:14:45 PM, you wrote: Поставил gcc3.3 Его как-то переключить надо с 2.96? Делаю: rpm --rebuild netams-3.2.2-alt1.src.rpm Получаем: Устанавливается netams-3.2.2-alt1.src.rpm Выполняется(%prep): /bin/sh -e /home/vlad/tmp/rpm-tmp.70745 + umask 022 + /bin/mkdir -p /home/vlad/RPM/BUILD + cd /home/vlad/RPM/BUILD + cd /home/vlad/RPM/BUILD + rm -rf netams-3.2.2 + echo 'Source #0 (netams-3.2.2.tar.gz):' Source #0 (netams-3.2.2.tar.gz): + /bin/gzip -dc /home/vlad/RPM/SOURCES/netams-3.2.2.tar.gz + /bin/tar -xf - + cd netams-3.2.2 + /bin/chmod -Rf u+rwX,go-w . + cp /home/vlad/RPM/SOURCES/netams-Makefile ./Makefile + echo 'Patch #3 (netams-main.c.patch):' Patch #3 (netams-main.c.patch): + /usr/bin/patch -p0 -s + /bin/chmod -x doc/README doc/TODO.txt doc/flowprobe.8 doc/netams.8 doc/netamsctl.8 + exit 0 Выполняется(%build): /bin/sh -e /home/vlad/tmp/rpm-tmp.15831 + umask 022 + /bin/mkdir -p /home/vlad/RPM/BUILD + cd /home/vlad/RPM/BUILD + cd netams-3.2.2 + '[' -n '' ']' + NPROCS=1 + make -j1 make: Entering directory `/home/vlad/RPM/BUILD/netams-3.2.2' cd src && make netams make[1]: Entering directory `/home/vlad/RPM/BUILD/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 -DUSE_MYSQL -I/usr/include/mysql -DUSE_POSTGRES -I/usr/include/pgsql -DHAVE_BILLING -DDEBUG -D_REENTRANT -D_THREAD_SAFE -c -o billing.o billing.c In file included from netams.h:70, from billing.c:12: services.h:57: syntax error before `*' In file included from netams.h:75, from billing.c:12: policy_prefix.h:31: syntax error before `*' In file included from netams.h:76, from billing.c:12: policy.h:143: syntax error before `*' policy.h:192: syntax error before `*' In file included from netams.h:77, from billing.c:12: net_units.h:140: syntax error before `*' In file included from netams.h:78, from billing.c:12: iptree.h:24: syntax error before `*' In file included from netams.h:86, from billing.c:12: billing.h:47: syntax error before `*' In file included from billing.c:12: netams.h:472: syntax error before `*' netams.h:535: syntax error before `*' netams.h:569: syntax error before `*' billing.c: In method `void Account::SyncAccount (FILE *)': billing.c:724: warning: unsigned int format, long unsigned int arg (arg 4) billing.c:724: warning: unsigned int format, long unsigned int arg (arg 6) billing.c:724: warning: unsigned int format, long unsigned int arg (arg 7) billing.c:724: warning: unsigned int format, long unsigned int arg (arg 8) billing.c:724: warning: unsigned int format, long unsigned int arg (arg 9) billing.c:724: warning: unsigned int format, long unsigned int arg (arg 10) billing.c: In method `unsigned int Account::SyncBdata (FILE *)': billing.c:796: warning: unsigned int format, long unsigned int arg (arg 6) billing.c:797: warning: unsigned int format, long unsigned int arg (arg 6) billing.c:798: warning: unsigned int format, long unsigned int arg (arg 6) billing.c:801: warning: unsigned int format, long unsigned int arg (arg 6) make[1]: *** [billing.o] Error 1 make[1]: Leaving directory `/home/vlad/RPM/BUILD/netams-3.2.2/src' make: *** [all] Error 2 make: Leaving directory `/home/vlad/RPM/BUILD/netams-3.2.2' ошибка: Неверный код возврата из /home/vlad/tmp/rpm-tmp.15831 (%build) Ошибки сборки пакетов: Неверный код возврата из /home/vlad/tmp/rpm-tmp.15831 (%build) :((( -- С уважением, Беляев ICQ: 119181289