Hi, Le Mon, 13 Aug 2007 19:25:58 -0700 (PDT), Talib Alium <talibalm@xxxxxxxxxxx> a écrit : > Module B, which uses kernel API like wake_up_interruptible and > exported function calls from Module A. When module B is linked, its > prints a line for every function call and symbol it access from > module A but not from kernel (makefile is attached) > > *** Warning: "XYZ" [module-b.ko] undefined! > > I think for kernel symbols it is able to find compiled object but for > module-a it cannot. Can anybody tell how can I specify where to objs > for module-a are. So that it will not complain at link time. The compilation of module-A should generation a file called Module.symvers. Copy it to the directory of module-B before compiling it. See http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt#484. It gives the explanation, and another solution than the one I proposed above. Sincerly, Thomas -- Thomas Petazzoni - thomas.petazzoni@xxxxxxxx http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ