ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Беляев Владимир Николаевич" <w_n_b@mail.ru>
To: Mike Lykov <community@altlinux.ru>
Subject: Re[8]: [Comm] NetAMS 3.2.2 - ошибки при сборке
Date: Thu, 28 Apr 2005 13:41:38 +0600
Message-ID: <163105504898.20050428134138@mail.ru> (raw)
In-Reply-To: <200504281214.45802.combr@vesna.ru>

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




  reply	other threads:[~2005-04-28  7:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28  3:14 Беляев Владимир Николаевич
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               ` Беляев Владимир Николаевич [this message]
2005-04-28  7:59                 ` Re[8]: " Sergey
2005-04-28  8:01                 ` Drool
2005-04-28  8:30                   ` Re[2]: " Беляев Владимир Николаевич

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=163105504898.20050428134138@mail.ru \
    --to=w_n_b@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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