Re[8]: [Comm] NetAMS 3.2.2 - ошибки при сборке
Беляев Владимир Николаевич
=?iso-8859-1?q?w=5Fn=5Fb_=CE=C1_mail=2Eru?=
Чт Апр 28 11:41:38 MSD 2005
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
Подробная информация о списке рассылки community