ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Barabashka <linux@vlink.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2
Date: Fri, 1 Oct 2004 15:38:34 +0400
Message-ID: <20041001113834.GA12027@sarepta.ru> (raw)

Пытаюсь собрать psi для ALM 2.2, все зависимости на сборку вроде
удовлетворены, компилятор 3.2. А все равно "валиться".

ui/opt_appearance-ui.cpp:25: duplicate `const'
make[1]: *** [.obj/opt_appearance-ui.o] Error 1
make[1]: Leaving directory `/home/barabashka/RPM/BUILD/psi-0.9.2/src'
make: *** [sub-src] Error 2
ошибка: Неверный код возврата из /home/barabashka/tmp/rpm-tmp.83769 (%build)

Идем в указанный файл, находим там 25 строку и удаляем 

static const unsigned char const image0_data[] = {

первый const, получаем

static unsigned char const image0_data[] = {

выходим обратно в исходники и делаем make для продолжения компиляции.
Все прекрасно докомпилируется. Как я понял файл
opt_appearance-ui.cpp cоздается во время компиляции, по крайней
мере его нет в исходниках до начала компиляции. 

Что и где нужно исправить, чтобы в конце концов пакет собирался?


             reply	other threads:[~2004-10-01 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01 11:38 Barabashka [this message]
2004-10-01 15:41 ` Michail Pishchagin
2004-10-02  5:52   ` Barabashka
2004-10-02  6:55     ` Mikhail Yakshin

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=20041001113834.GA12027@sarepta.ru \
    --to=linux@vlink.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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