Operating System - HP-UX
1831929 Members
3501 Online
110031 Solutions
New Discussion

Invalid relocation in gcc LP64 kernel module

 
Bernardo Pastorelli
Occasional Advisor

Invalid relocation in gcc LP64 kernel module

When I try to load a PA-RISC 2.0 (LP64) kernel module generated by the gcc 3.2 64 bit compiler, I receive the following error:

WARNING: MOD: mod_obj_relone: Illegal relocation type 64 in module /stand/dlkm/mod.d/tlmkagent.

How can I solve it? Is there any workaround?

Thanks in advance,
Bernardo
2 REPLIES 2
Sriharimohan
Advisor

Re: Invalid relocation in gcc LP64 kernel module

Hi,

I'm facing the same problem.

WARNING: MOD: mod_obj_relone: Illegal relocation type 64 in module /stand/dlkm/mod.d/lcasemod.

please, let me know how to solve the problem

thanks,
Hari
One is not defeated when he fails, he is defeated when he quits!!
ranganath ramachandra
Esteemed Contributor

Re: Invalid relocation in gcc LP64 kernel module

try building with hpux compilers ?
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo