ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] продолжение сборки quagga. сборка в hasher, а , так же , %set_verify_elf_method unresolved
@ 2006-03-09 15:22 Sergey Y. Afonin
  2006-03-09 15:52 ` Sergey Vlasov
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Y. Afonin @ 2006-03-09 15:22 UTC (permalink / raw)
  To: devel

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

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

Первая: 

при --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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-09 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-09 15:22 [devel] продолжение сборки quagga. сборка в hasher, а , так же , %set_verify_elf_method unresolved 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
2006-03-09 17:09     ` Andrey Rahmatullin
2006-03-09 17:19       ` Sergey Y. Afonin

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