ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey Y. Afonin" <asy@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] продолжение сборки quagga. сборка в hasher, а , так же , %set_verify_elf_method unresolved
Date: Thu, 9 Mar 2006 19:22:30 +0400
Message-ID: <200603091922.31160.asy@altlinux.ru> (raw)

Приветствую.

При сборке всё еще имеют место две проблемы.

Первая: 

при --enable-snmp вылезает вот такой набор ошибок:

gcc -pipe -Wall -O2 -march=i686 -rdynamic -o .libs/zebra zserv.o main.o interface.o connected.o zebra_rib.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o irdp_main.o irdp_interface.o irdp_packet.o router-id.o ioctl.o ipforward_proc.o if_netlink.o rt_netlink.o rtread_netlink.o  ../lib/.libs/libzebra.so -lm -lcrypt -lnetsnmp -lcrypto
/usr/bin/../lib/libnetsnmp.so.9: undefined reference to `EVP_DigestInit'
/usr/bin/../lib/libnetsnmp.so.9: undefined reference to `EVP_DigestFinal'
/usr/bin/../lib/libnetsnmp.so.9: undefined reference to `EVP_DigestFinal_ex'
/usr/bin/../lib/libnetsnmp.so.9: undefined reference to `AES_set_encrypt_key'
/usr/bin/../lib/libnetsnmp.so.9: undefined reference to `EVP_md5'
/usr/bin/../lib/libnetsnmp.so.9: undefined reference to `HMAC'

или -lm должно быть еще и после -l* ? Но при сборке без hasher на
текущем Сизифе не воспроизводится...


Вторая:

Adjusting library links in /usr/src/tmp/quagga-buildroot
./var/lib:
./usr/lib:
        libospfapiclient.so.0 -> libospfapiclient.so.0.0.0
        libospf.so.0 -> libospf.so.0.0.0
        libzebra.so.0 -> libzebra.so.0.0.0
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
ситуацию спасает, оно, потом, работает. Ввиду малого современного
программистского опыта готов выслушать, куда попытаться посмотреть.

Или оставлять unresolved=relaxed ?

Как вариант, еще можно сделать статическую сборку и убрать библиотеки и devel. 
В Зебре этого нет. Но в примере спека для сборки Куагги для FC оно, зачем-то
появилось. Возможно, уже есть какие-то пакеты, которые это могут использовать.

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


             reply	other threads:[~2006-03-09 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 15:22 Sergey Y. Afonin [this message]
2006-03-09 15:52 ` Sergey Vlasov
2006-03-09 16:55   ` Sergey Y. Afonin
2006-03-09 17:04   ` Sergey Y. Afonin
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=200603091922.31160.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