This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Undefined references in egcs-20001009
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Subject: Undefined references in egcs-20001009
- From: Benjamin Scherrey <scherrey at switchco dot com>
- Date: Wed, 11 Oct 2000 02:07:44 -0400
I'm running the latest snapshot on an i686 linux 2.2.13 kernel built
with 'configure --enable-shared --enable-languages=c,c++
--enable-threads' and am now getting some undefined reference errors
while linking with the following symbols:
__dynamic_cast_2
__pure_virtual
__check_null_eh_spec
My link command is 'c++ -pthread -o Armour/dynamic/DynamicTest
Armour/dynamic/DynamicTest.o
-L/home/scherrey/cvs/Armour/i686-pc-linux-gnu/release -lArmourSystem' if
that makes any difference. This is an example program that links to a
shared library (libArmourSystem.so). This all bulds and runs fine on
gcc.2.95.2. Do I need to explicitly add something else to my link line?
thanx & later,
Ben Scherrey