ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavlov Konstantin <thresh@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Unresolved symbols
Date: Mon, 20 Feb 2006 23:44:10 +0300
Message-ID: <200602202344.10712.thresh@altlinux.ru> (raw)
In-Reply-To: <20060220132904.GA29763@basalt.office.altlinux.org>

On Monday 20 February 2006 16:29, Dmitry V. Levin wrote:
> On Mon, Feb 20, 2006 at 04:02:17PM +0300, Pavlov Konstantin wrote:
> > Лично мне не хватает только понимания, как это исправлять.
>
> Вы спрашиваете, как исправлять архитектуру программы, в которой плагины
> используют символы из ELF executable?
Ну вот, к примеру:

thresh@snowflake lib/vlc/access $ ldd -r libdvdread_plugin.so
undefined symbol: __block_New   (./libdvdread_plugin.so)
undefined symbol: __var_Create  (./libdvdread_plugin.so)
undefined symbol: __msg_Generic (./libdvdread_plugin.so)
undefined symbol: __var_Get     (./libdvdread_plugin.so)
undefined symbol: vlc_dgettext  (./libdvdread_plugin.so)
undefined symbol: config_Duplicate      (./libdvdread_plugin.so)
undefined symbol: __config_GetPsz       (./libdvdread_plugin.so)
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x3aaca000)
        libdvdread.so.3 => /usr/lib/libdvdread.so.3 (0x3ab1d000)
        libc.so.6 => /lib/libc.so.6 (0x3ab36000)
        /lib/ld-linux.so.2 (0x75555000)
        libdl.so.2 => /lib/libdl.so.2 (0x3ac4f000)
thresh@snowflake lib/vlc/access $ nm -D /usr/bin/vlc | grep __block_New
thresh@snowflake lib/vlc/access $ nm -D /usr/lib/libvlc.so | grep __block_New
000bcdd0 T __block_New
thresh@snowflake lib/vlc/access $ file /usr/lib/libvlc.so
/usr/lib/libvlc.so: ELF 32-bit LSB shared object, Intel 80386, version 1 
(SYSV), stripped
thresh@snowflake lib/vlc/access $ file /usr/bin/vlc
/usr/bin/vlc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped

Это нормально? На момент подгрузки этого plugin'а в программе данные символы 
не являются unresolved.

-- 
Pavlov Konstantin,
ALT Linux Team,
jid: thresh@altlinux.org


      reply	other threads:[~2006-02-20 20:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 11:11 Денис Смирнов
2006-02-20 11:50 ` Dmitry V. Levin
2006-02-20 12:09   ` Pavlov Konstantin
2006-02-20 12:17     ` Dmitry V. Levin
2006-02-20 13:02       ` Pavlov Konstantin
2006-02-20 13:29         ` Dmitry V. Levin
2006-02-20 20:44           ` Pavlov Konstantin [this message]

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=200602202344.10712.thresh@altlinux.ru \
    --to=thresh@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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