* [newbies] libucil под p5: verify-elf: undefined symbol
@ 2010-12-15 14:30 Dmitry Derjavin
2010-12-15 15:20 ` Ivan A. Melnikov
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Derjavin @ 2010-12-15 14:30 UTC (permalink / raw)
To: devel-newbies
Коллеги, добрый день!
Пытаюсь собрать в hasher-е libucil из текущего Сизифа под p5 для i586.
Получаю:
Verifying ELF objects in /usr/src/tmp/libucil-buildroot (arch=normal,fhs=normal,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_init
verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: pthread_create
verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_post
verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_wait
verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: pthread_join
В окружении Сизифа всё собирается. В спеке:
%prep
%setup -q
%autoreconf
%build
%configure
%make_build
%install
%makeinstall_std
Как тут можно обойтись без %set_verify_elf_method unresolved=relaxed ?
Заранее спасибо!
--
~dd
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [newbies] libucil под p5: verify-elf: undefined symbol
2010-12-15 14:30 [newbies] libucil под p5: verify-elf: undefined symbol Dmitry Derjavin
@ 2010-12-15 15:20 ` Ivan A. Melnikov
0 siblings, 0 replies; 2+ messages in thread
From: Ivan A. Melnikov @ 2010-12-15 15:20 UTC (permalink / raw)
To: devel-newbies
On Wed, 15 Dec 2010 17:30:56 +0300
Dmitry Derjavin <dd@altlinux.org> wrote:
> Получаю:
> Verifying ELF objects in /usr/src/tmp/libucil-buildroot (arch=normal,fhs=normal,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_init
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: pthread_create
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_post
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_wait
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: pthread_join
[...]
>
> Как тут можно обойтись без %set_verify_elf_method unresolved=relaxed ?
>
Наблюдается явная недолинковка с libpthread.so* (-lpthread). Я не
большой специалист по борьбе с autotools, поэтому возможно что-то
сломается, но пакет соберётся если добавить к
> %configure
%configure LIBS=-lpthread
--
WBR,
Ivan A. Melnikov
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-15 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 14:30 [newbies] libucil под p5: verify-elf: undefined symbol Dmitry Derjavin
2010-12-15 15:20 ` Ivan A. Melnikov
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git