On Sat, 18 Apr 2009 21:25:52 +0200 (CEST) Jaromír Mikeš <mira.mi...@seznam.cz> wrote:
> I have error output in pbuilder in "make" stage of process. > But when I running make command outside pbuilder everything is fine. (Because you've got all the dependencies installed.) > I think that I satisfied all dependencies in debian/control file. You're missing at least one, otherwise the package would link properly. You need to work out which library (libfoo.so) contains the undefined references and ensure that the objects are linked against them. > /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -version-info > 1:0:0 -Wl,-z,defs -o liblv2dynparamhost1.la -rpath /usr/lib host.lo > host_callbacks.lo audiolock.lo log.lo memory_atomic.lo helpers.lo hint_set.lo > > gcc -shared .libs/host.o .libs/host_callbacks.o .libs/audiolock.o > .libs/log.o .libs/memory_atomic.o .libs/helpers.o .libs/hint_set.o -Wl,-z > -Wl,defs -Wl,-soname -Wl,liblv2dynparamhost1.so.1 -o > .libs/liblv2dynparamhost1.so.1.0.0 > .libs/host.o: In function `lv2dynparam_host_notify_group_disappeared': > /tmp/buildd/lv2dynparam1-2/host/host.c:351: undefined reference to > `dynparam_ui_group_disappeared' > .libs/host.o: In function `lv2dynparam_host_group_hide': > /tmp/buildd/lv2dynparam1-2/host/host.c:672: undefined reference to > `dynparam_ui_parameter_disappeared' > .libs/host.o: In function `lv2dynparam_host_notify_group_appeared': > /tmp/buildd/lv2dynparam1-2/host/host.c:323: undefined reference to > `dynparam_ui_group_appeared' > .libs/host.o: In function `lv2dynparam_host_notify': > /tmp/buildd/lv2dynparam1-2/host/host.c:571: undefined reference to > `dynparam_ui_parameter_appeared' > /tmp/buildd/lv2dynparam1-2/host/host.c:625: undefined reference to > `dynparam_ui_parameter_value_changed' > /tmp/buildd/lv2dynparam1-2/host/host.c:592: undefined reference to > `dynparam_ui_parameter_disappeared' > .libs/audiolock.o: In function `audiolock_enter_audio': > /tmp/buildd/lv2dynparam1-2/host/../audiolock.c:68: undefined reference to > `pthread_mutex_trylock' It could be that a dependency that exists outside the pbuilder chroot changes the way that the package builds, leading to parts of the code being enabled (or disabled) when it does not happen that way outside the chroot. Some packages use "auto-detection" of some libraries and these can be a source of such problems. If the package *had* built, you could have found that the package built inside the chroot would actually behave differently to the one built outside. Not good. -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
pgpS2KwyVrnT5.pgp
Description: PGP signature