libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] Error when installing libunwind-1.0


From: Harald Servat
Subject: Re: [Libunwind-devel] Error when installing libunwind-1.0
Date: Tue, 06 Sep 2011 11:28:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ca-valencia; rv:1.9.2.20) Gecko/20110804 SUSE/3.1.12 Thunderbird/3.1.12

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Arun,

  I applied the patch you sent me. After giving autoreconf a try, the
libtool failed because of version mismatch. So I had to regenerate the
configure by hand (using libtoolize, automake, autoheader, autoconf
tools). After that, make install worked like a charm!

Thank you very much!

Al 05/09/11 18:20, En/na Arun Sharma ha escrit:
> On Mon, Sep 5, 2011 at 8:32 AM, Arun Sharma <address@hidden> wrote:
>> On Mon, Sep 5, 2011 at 2:02 AM, Harald Servat <address@hidden> wrote:
>>
>>> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
>>> cannot find -lunwind-x86_64
>>> collect2: ld returned 1 exit status
>>> libtool: install: error: relink `libunwind-setjmp.la' with the above
>>> command before installing it
>>
>> You're likely to get better support on automake related mailing lists
>> on gnu.org. Based on the documentation here:
> 
> I was actually able to reproduce this. Looks like the order in which
> libraries are specified in lib_LTLIBRARIES is important and it changed
> between 0.99 and 1.0.
> 
> Could you please try this patch:
> 
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -9,7 +9,7 @@ lib_LIBRARIES =
>  lib_LTLIBRARIES =
>  if !REMOTE_ONLY
>  lib_LIBRARIES += libunwind-ptrace.a
> -lib_LTLIBRARIES += libunwind.la libunwind-setjmp.la
> +lib_LTLIBRARIES += libunwind.la
>  endif
> 
>  noinst_HEADERS =
> @@ -477,6 +477,9 @@ endif # ARCH_HPPA
>  endif # ARCH_IA64
>  endif # ARCH_ARM
> 
> +if !REMOTE_ONLY
> +lib_LTLIBRARIES += libunwind-setjmp.la
> +endif
>  #
>  # Don't link with standard libraries, because those may mention
>  # libunwind already.
> 
> autoreconf; configure; make install
> 
> works for me after the patch.
> 
> Thanks for the bug report.
> 
>  -Arun

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEARECAAYFAk5l56AACgkQwMPeuqUCg9w3NgCfTHmdjugpEEhaDRx2YalslGds
T8oAn3QA130QtZBrNrHxmLtXzFEaXfLC
=kHbs
-----END PGP SIGNATURE-----

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer.htm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]