Operating System - HP-UX
1833995 Members
2771 Online
110063 Solutions
New Discussion

q4 doesn't find debugging symbol defined in Kernel module.

 
Narendra Thapa
Frequent Advisor

q4 doesn't find debugging symbol defined in Kernel module.

Hi All,

When I run addmodule in q4 debugging prompt, I get the following error :

No Debugging Symbols Found in DLKM Module

Also, q4 does not recognize type definition used in module (defined in .h in source file). But it recognizes functions defined in my module.

elfdump –h contains “debug_line” section but it does not contain “debug_info” section.

Please let me know how to fix the above motioned problem ? Do I need to change something in code or make some compile time option to fix “type definition” related issue. I don’t want to compiler my module with –g option.

"Study as if you were going to live forever; live as if you were going to die tomorrow."
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: q4 doesn't find debugging symbol defined in Kernel module.

>Do I need to change some compile time option to fix "type definition" related issue. I don't want to compile my module with -g option.

If you want debug info, you need to add -g.