* compiling two modules from separate directories out of kernel tree
@ 2005-02-18 14:33 Olivier Smeesters
0 siblings, 0 replies; only message in thread
From: Olivier Smeesters @ 2005-02-18 14:33 UTC (permalink / raw)
To: linux-kernel; +Cc: smeesters
Dear all,
I'm currently developping two kernel modules that I'm compiling outside
of the kernel tree. One is a device driver and one is a pseudo-network
device driver (encapsulating network packets).
The output of the encapsulator is supposed to go to the device driver.
For this reason, the device driver exports a "send_packet" function
which the encapsulator calls.
When loading the encapsulator module, the kernel reports a 'no version
for "send_packet" found' and goes in tainted mode.
It seems that this is caused by the fact that the two modules are
compiled in different directories (there is no CRC for the send_packet
function in the encapsulator module, only for the kernel functions it
calls).
One solution is to put all the modules in one directory. When this is
done, a CRC is present in the encapsulator module as expected by the
module loader and there is no warning anymore.
But as the two drivers are not definitely related (the device driver can
be used without the encapsulator), I would like to keep them in separate
directories.
This situation ressembles to the situation of the PLIP and the parport
driver.
Is there a way to avoid the warning (and tainted mode) while still
compiling them outside of the kernel tree and in separate directories ?
Thanks in advance,
Olivier Smeesters
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-18 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-18 14:33 compiling two modules from separate directories out of kernel tree Olivier Smeesters
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox