lkml.org 
[lkml]   [2004]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDependant modules question
Hello,

I need some assistance with the kernel build system. It looks like this
topic is not covered anywhere, at least I didn't find anything.

I have two modules, A and B, where B is dependant from A, i.e. uses some
exported from it symbols. Both modules are built outside of the kernel
tree.

With A everything is fine, it's compiled and installed with other kernel
modules in /lib/modules/2.6.7/extra.

Then module B is built. Here I have a problem. Module A is not listed as
the module from which B depends in .mod.c file, therefore there are
"Undefined symbols" warnings and it is impossible to load B, even though
A is loaded.

So, the question is: what should I do to make A be seen as exporting
some symbols by the kernel and its build system?

The kernel is 2.4.7, EXPORT_SYMBOL() used in A as required.

Thanks,
Vlad
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.072 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site