From: Aleksey Novodvorsky <aen@logic.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: Компиляция gcc 3.0.4 программ на C++
Date: Mon, 11 Mar 2002 01:40:02 +0300
Message-ID: <3C8BE0C2.4030405@logic.ru> (raw)
In-Reply-To: <20020310213110.GA3292@mhz.mikhail.zabaluev.name>
Mikhail Zabaluev wrote:
>Hello Vitaly,
>
>On Mon, Mar 11, 2002 at 12:11:37AM +0300, Vitaly Lipatov wrote:
>
>>Берём пример использования gtk--
>>/usr/lib/gtkmm/examples/arrow
>>(пакет libgtkmm-devel)
>>На этапе линковки получаем следующее:
>>/usr/lib/libgtkmm.so: undefined reference to `cerr'
>>/usr/lib/libgtkmm.so: undefined reference to `endl(ostream &)'
>>/usr/lib/libgtkmm.so: undefined reference to `__out_of_range(char const *)'
>>/usr/lib/libgtkmm.so: undefined reference to `ostream::operator<<(char const
>>*)'/usr/lib/libgtkmm.so: undefined reference to `__length_error(char const *)'
>>Похоже он не может связать старые библиотеки, написанные на C++,
>>с кодом, откомпилированным gcc 3.0.4.
>>С 2.96 без проблем.
>>
>
>Наверное, сама библиотека libgtkmm была откомпилирована gcc 2.96.
>Все объектные файлы, произведённые из C++, должны быть откомпилированы
>одним компилятором. Увы, так будет, пока нет стандарта на C++ ABI.
>
Из личного опыта: не используйте пока g++3. Не скоро появится
дистрибутив, собранный им. То, что не собирается, поправить можно, а вот
с тем что собирается, но не работает, -- гораздо хуже :-(
Rgrds, AEN
next prev parent reply other threads:[~2002-03-10 22:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-10 21:11 [sisyphus] " Vitaly Lipatov
2002-03-10 21:31 ` [sisyphus] " Mikhail Zabaluev
2002-03-10 22:09 ` Vitaly Lipatov
2002-03-10 22:40 ` Aleksey Novodvorsky [this message]
2002-03-10 23:02 ` Vitaly Lipatov
2002-03-11 5:37 ` [sisyphus] " Alexey Morozov
2002-03-11 20:05 ` Vitaly Lipatov
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=3C8BE0C2.4030405@logic.ru \
--to=aen@logic.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