This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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??


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]