Hello,
Thankyou all for your response. The problem was , i was compiling a unit with '-c' option and it said the units used in it were not found. so i gave --automake .It was working fine till i corrected all the errors it showed.At last it gave me a set of errors like"init_<unitname> not found " and all that.I removed the init section and it worked. Now after you confirmed that it works fine, i tried comipling the already compiled source(compiled with --automake with those errors) with -c option and it compiled fine. This forces me into understanding it as i am supposed to comiple with --automake first for comipling all the units called and then again comiple with -c to finally get the .o file of a unit.
Is it so? Regards, Anuradha