hi,
      i am unable to get the output when module is inserted.my makefile is
    
 EXTRA_CFLAGS = -D__KERNEL_  -I$(PWD)/../../../SRC/include \ 
-I$(PWD)/../../../SRC/common/include -I$(PWD)/..
 
 init_01-objs =  it_initiator.o functions.o
 init_01_res-objs =  it_responder.o unctions.o
 obj-m += init_01.o               # Initiator module
 obj-m += init_01_res.o         #Responder module
 
  init_02-objs =  it_initiator.o  functions.o
  init_02_res-objs =  it_responder.o functions.o
 obj-m += init_02.o         # Initiator module
 obj-m += init_02_res.o   #Responder module
  
 
 CFLAGS_init_01         := -D_INIT_01
 CFLAGS_init_01_res  := -D_INIT_01
 CFLAGS_init_02        := -D_INIT_02
 CFLAGS_init_02_res  := -D_INIT_02
 
 all :
         make -C  /lib/modules/$(shell uname -r)/build M=$(PWD) modules
 
 clean:
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
         rm -f *Module.symvers
 
-----------------------------------------------------------------------------------------------------------
 INIT_01  and  INIT02 are MACROS(TEST CASES) ,
 -D_ is the option so  -D_INIT01
 
 thanks,
 tom hari
 
 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to