On 4/19/05, stackframe@xxxxxxxxxxx <stackframe@xxxxxxxxxxx> wrote: > I am trying to learn how to do module stacking. I have a module named providesexport that exports the symbol "some_exported_symbol" which is a function. In another module called usesexport I call the exported function. > > The code compiles and runs as expected, however I get the following warning when compiling the module that uses the exported symbol. > > make[1]: Entering directory `/lib/modules/2.6.10-1.770_FC3/build' > CC [M] /home/tony/learnexport/user/user.o > LD [M] /home/tony/learnexport/user/usesexport.o > Building modules, stage 2. > MODPOST > *** Warning: "some_exported_symbol" [/home/tony/learnexport/user/usesexport.ko] undefined! It seems you don't have the function prototype in any header file included in that source file. HTH Martin Jambor -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/