[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Error building libunwind-1.-0.1 on Ubuntuu 10.04
From: |
Joe Damato |
Subject: |
Re: [Libunwind-devel] Error building libunwind-1.-0.1 on Ubuntuu 10.04 |
Date: |
Fri, 16 Sep 2011 10:56:16 -0700 |
On Fri, Sep 16, 2011 at 7:43 AM, Myke Smith (Palm GBU)
<address@hidden> wrote:
>
> Tried to build on Ubuntu 10.04 this morning and ran into this problem
>
>
>
> libtool: link: ranlib .libs/libunwind-x86.a
> libtool: link: rm -fr .libs/libunwind-x86.lax .libs/libunwind-x86.lax
> libtool: link: ( cd ".libs" && rm -f "libunwind-x86.la" && ln -s
> "../libunwind-x86.la" "libunwind-x86.la" )
> depbase=`echo setjmp/longjmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../include -I../include -I../include/tdep-x86 -I. -D_GNU_SOURCE -DNDEBUG
> -g -O2 -fexceptions -Wall -Wsign-compare -MT setjmp/longjmp.lo -MD -MP -MF
> $depbase.Tpo -c -o setjmp/longjmp.lo setjmp/longjmp.c &&\
> mv -f $depbase.Tpo $depbase.Plo
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include
> -I../include/tdep-x86 -I. -D_GNU_SOURCE -DNDEBUG -g -O2 -fexceptions -Wall
> -Wsign-compare -MT setjmp/longjmp.lo -MD -MP -MF setjmp/.deps/longjmp.Tpo -c
> setjmp/longjmp.c -fPIC -DPIC -o setjmp/.libs/longjmp.o
> /usr/include/bits/setjmp2.h:26: error: ‘longjmp’ aliased to undefined symbol
> ‘_longjmp’
Add
-U_FORTIFY_SOURCE
to CFLAGS and try again.
Joe