This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[Fwd: Help with undefined reference]
- From: Machiel Richards <machielr at rdc dot co dot za>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 16 Aug 2010 14:54:05 +0200
- Subject: [Fwd: Help with undefined reference]
-------- Forwarded Message --------
From: Machiel Richards <machielr@rdc.co.za>
To: gcc-help@gcc.gnu.org
Subject: Help with undefined reference
Date: Mon, 16 Aug 2010 14:52:28 +0200
Good day all
I hope that someone can assist me in this matter.
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.
Thus far however we haven;t been able to find anyone who can
assist in pinpointing the problem as yet.
Please feel free to let me know if you need any more info.
Regards
MAchiel