ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Sisyphys List <sisyphus@altlinux.ru>
Subject: [sisyphus] Re: Компиляция gcc 3.0.4 программ на C++
Date: Mon, 11 Mar 2002 00:31:10 +0300
Message-ID: <20020310213110.GA3292@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <20020310211137.B135B2B77B@VL3143.spb.edu>

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.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
People tend to make rules for others and exceptions for themselves.



  reply	other threads:[~2002-03-10 21:31 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 ` Mikhail Zabaluev [this message]
2002-03-10 22:09   ` [sisyphus] " Vitaly Lipatov
2002-03-10 22:40   ` Aleksey Novodvorsky
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=20020310213110.GA3292@mhz.mikhail.zabaluev.name \
    --to=mhz@alt-linux.org \
    --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