ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey Y. Afonin" <asy@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] продолжение сборки quagga. сборка в hasher, а , так же , %set_verify_elf_method unresolved
Date: Thu, 9 Mar 2006 21:04:09 +0400
Message-ID: <200603092104.09628.asy@altlinux.ru> (raw)
In-Reply-To: <20060309155217.GO2873@master.mivlgu.local>

On Thursday 09 March 2006 19:52, Sergey Vlasov wrote:

> > Verifying ELF objects in /usr/src/tmp/quagga-buildroot (arch=normal,fhs=relaxed,rpath=normal,textrel=normal,unresolved=relaxed)
> > verify-elf: WARNING: ./usr/lib/libzebra.so.0.0.0: undefined symbol: master
> > verify-elf: WARNING: ./usr/lib/libospf.so.0.0.0: undefined symbol: no_interface_desc_cmd
> > verify-elf: WARNING: ./usr/lib/libospf.so.0.0.0: undefined symbol: no_interface_cmd
> > verify-elf: WARNING: ./usr/lib/libospf.so.0.0.0: undefined symbol: recent_time
> > <и т.д.>
> > 
> > %set_verify_elf_method unresolved=relaxed
> > ситуацию спасает, оно, потом, работает. Ввиду малого современного
> > программистского опыта готов выслушать, куда попытаться посмотреть.
> 
> Нужно посмотреть, где на самом деле определены недостающие символы (nm -D,
> findsym).  Если в других библиотеках - необходимо указать их при сборке.
> Впрочем, ELF допускает и вариант, когда библиотека использует символы,
> предоставляющиеся исполняемым файлом - в таком случае остаётся либо
> проигнорировать проблему, либо разбираться, зачем это было нужно, и искать
> другой способ реализации, не требующий подобных ссылок.
> 

Пока мало, что говорит (quagga собранная у меня стоит):

$ nm -D libzebra.so |grep master
00051d58 B if_master
         U master
00051d88 B sigmaster
0001ace0 T thread_master_create
0001af2a T thread_master_free

$ findsym  master
/usr/bin/findsym: The symbol master was not found.

$ findsym no_interface_desc_cmd
/usr/lib/libzebra.so: 0004b3a0 D no_interface_desc_cmd
/usr/lib/libzebra.so.0: 0004b3a0 D no_interface_desc_cmd
/usr/lib/libzebra.so.0.0.0: 0004b3a0 D no_interface_desc_cmd

Пожалуй только то, что для сборки libospf надо указать -llibzebra, но что
указывать для libzebra...

-- 
С уважением, Сергей Афонин
asy@altlinux.ru


  parent reply	other threads:[~2006-03-09 17:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 15:22 Sergey Y. Afonin
2006-03-09 15:52 ` Sergey Vlasov
2006-03-09 16:55   ` Sergey Y. Afonin
2006-03-09 17:04   ` Sergey Y. Afonin [this message]
2006-03-09 17:09     ` Andrey Rahmatullin
2006-03-09 17:19       ` Sergey Y. Afonin

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=200603092104.09628.asy@altlinux.ru \
    --to=asy@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