gmake undefined symbol error

I have a C code which i am trying to compile using gcc. When i am trying to compile it i get the error undefined symbol error though i am providing the -l*** option where *** refers to the module where the object files for those symbols are present.

Can someone help me on the same.

Module? Or library? The difference is that a library has to be supplied using -l , while a module is given like another source file.

Its a library only. The application has multiple modules so from one module i am trying to access the libraries of another module which gives me error though i have used -l

Could you post the complete command line you're using?

$(CCC) -o $(BIN_DIR)/CAC_gestion_processus $(objs) -m64 $(CLDFLAGS) $(CLIBPATHS) $(CLIBS) -lCOM -lCAC

COM is the library which contains all those objects referred by CAC.