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