Re: [Fwd: Help with undefined reference]

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

 



Machiel Richards <machielr@xxxxxxxxx> writes:

>    We are trying to compile a package using gcc but we are getting the
> following errors:
>
> build/libxr.a(sys_main.o): In function `sigcatcher':
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c
> ++/3.4.6/ext/new_allocator.h:69: undefined reference to `_Unwind_Resume'
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c
> ++/3.4.6/ext/new_allocator.h:69: undefined reference to `_Unwind_Resume'
> build/libxr.a(sys_main.o): In function `~basic_string':
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c
> ++/3.4.6/ext/new_allocator.h:69: undefined reference to `_Unwind_Resume'
> build/libxr.a(sys_main.o): In function `showlimits':
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c
> ++/3.4.6/bits/basic_ios.h:268: undefined reference to `_Unwind_Resume'
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c
> ++/3.4.6/bits/basic_ios.h:268: undefined reference to `_Unwind_Resume'
> build/libxr.a(sys_main.o):/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_ios.h:268: more undefined references to `_Unwind_Resume' follow
> collect2: ld returned 1 exit status
>
>
>        The installation works fine on other VM's with the same OS etc...
> however the server where tihs needs to run is running oracle apps and we
> are thus assuming that some link to the correct libraries is missing or
> has changed.

I have no idea what the problem is, but _Unwind_Resume should be defined
in libgcc.  Are you linking against libgcc?  Is _Unwind_Resume defined
there?

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux