ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: kde@kde.kiev.ua
To: devel@lists.altlinux.org, sisyphus@lists.altlinux.org
Subject: [sisyphus] libstdc++4.3-devel-4.3.2-alt7 непонятка
Date: Mon, 12 Jan 2009 17:42:59 +0200
Message-ID: <20090112154257.GA27197@home.kde.kiev.ua> (raw)

Добрый день!
Может и от этой проблемы есть у кого рецепт?

Сегодня напоролся:
$ make
g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c
/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp -I.
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1 -m32 -O2 -g
-mtune=generic
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers/glib-2.0
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers/gtk-2.0
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/npapi
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/npapi/nspr -DBUILD_VIEWER
In file included from
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef:47:28:
error: bits/c++config.h: Нет такого файла или каталога
In file included from /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef:53:
error: expected constructor,destructor, or type conversion before
‘(’ token In file included from /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:45,
from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:40:
error: ‘#pragma’ is
not allowed here
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:133:
error: expected
declaration before
end of line
make: ***
[npviewer-cxxabi-compat.o]
Ошибка 1

[kde@home nspluginwrapper-1.2.2_p1]$  rpm -qa | grep libstdc++
i586-libstdc++4.3-devel-4.3.2-alt7
libstdc++4.3-4.3.2-alt7
libstdc++4.3-devel-4.3.2-alt7
i586-libstdc++4.3-4.3.2-alt7
libstdc++3.3-3.3.4-alt4

Т.е. Из компилятор не видит
/usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h не смотря на
то-что файл есть. При этом код:
#include <bits/c++config.h>
#include <new>
int main()
{
}
Компилиться без лишних вопросов.

ЗЫ: Все пакеты установлены из 5.0/branch.


                 reply	other threads:[~2009-01-12 15:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090112154257.GA27197@home.kde.kiev.ua \
    --to=kde@kde.kiev.ua \
    --cc=devel@lists.altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /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