Pierre Cloutier wrote:
 
I have read the last messages concerning OO kernel modules with great interest.
I tried g++ (using gcc 2.8.1) on a simple example that included my own implementation
of malloc() and free().
INSMOD reported two errors:
    . unresolved symbol abort
    . unresolved symbol _GLOBAL_OFFSET_TABLE_


The same (unresolved _GLOBAL_OFFSET_TABLE_) happened to me with egcs-2.90.29. I asked the question to Cygnus folks. They say that this may have to do with the fact that libgcc is now compiled with the -fPIC option. So either you don't need libgcc, or you recompile it without -fPIC.
Regards,

Daniele Lugli
 

Reply via email to