Operating System - HP-UX
1747984 Members
4551 Online
108756 Solutions
New Discussion юеВ

Re: A question about the variable name of the mod_conf_data structure

 
SOLVED
Go to solution
honggaoyan
Advisor

A question about the variable name of the mod_conf_data structure

In HP-UX 11i v1 Driver Development Guide, 5th Edition.pdf:
The name of the modwrapper structure for a DLKM module must be module_name_wrapper

but not must be module_name_conf_data

my module name is test
why must be test_conf_data?
when i used test1-conf_data or test_conf_data1 my module can not be loaded

mod_obj_load: Undefined symbol test_conf_data1 in loadable module /stand/dlkm/mod.d/test.
WARNING: MOD: mod_obj_load: Processing symbol table in module /stand/dlkm/mod.d/test failed


4 REPLIES 4

Re: A question about the variable name of the mod_conf_data structure

Hi,

Do you know what is the test_conf_data and test_wrapper come from? You never define these before.
See the test.modmeta.c file and you will get the answer.
Maybe it is unnecessary to understand what all the Makefile mean, but it is necessary to make clear some of it.

Young.
honggaoyan
Advisor

Re: A question about the variable name of the mod_conf_data structure

>See the test.modmeta.c file and you will get the answer
where can i get the test.modmeta.c?
Solution

Re: A question about the variable name of the mod_conf_data structure

>where can i get the test.modmeta.c?

Don't ask me, ask the Makefile.
honggaoyan
Advisor

Re: A question about the variable name of the mod_conf_data structure

younglovezhenzhen:
thanks