This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined reference to `__i686.get_pc_thunk.dx'
- From: "Wenyan Dong" <Wenyan dot Dong at synopsys dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sun, 25 Jun 2006 03:57:18 -0700
- Subject: undefined reference to `__i686.get_pc_thunk.dx'
The c file contains a simple function
U isCompiledRoot()
{
return icompiledRoot >= 0;
}
And when I compile the file with "/depot/gcc-3.3.6-shared/bin/gcc -m32
-fPIC -o a.o", the object will contain symbol
`__i686.get_pc_thunk.dx'. Doing a nm on this object show that this
symbol
00000000 T __i686.get_pc_thunk.dx
But when I try to create a shared library from this object along with
some others, I get following error message:
... In function 'isCompiledRoot()':
: undefined reference to `__i686.get_pc_thunk.dx'
Help??