mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problems in exporting symbols
@ 2001-11-30 11:07 kumar M
  2001-11-30 11:29 ` Keith Owens
  0 siblings, 1 reply; 5+ messages in thread
From: kumar M @ 2001-11-30 11:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: kumarm4

Hi,

I am attempting to process Scsi Requests for implementaion of a
customised target mode driver through my kernel module.
FOr achieving this, I have declared a global pointer 'my_request' of
Scsi_Request type, and duly  allocated (using scsi_allocate_request ) in the 
scan_scsis_single function.
I am exporting the symbol through the EXPORT_SYMBOL macro in scsi_syms.c. I 
observe that scsi_allocate_request goes thorugh fine, and able to initialise 
it.
Howewver, when I reference the same in my module while processing
at a later stage, I am obtaining an unresolved external  for
'my_request' while loading my module.
I am able to see the variable in /proc/kysms as :
my_request_R__ver_my_request

Can I get any inputs on why I am facing this problem ?
TIA,
Kumar



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Problems in exporting symbols
@ 2002-01-05 14:43 kumar M
  2002-01-05 23:34 ` Keith Owens
  2002-01-06 12:48 ` Vikram
  0 siblings, 2 replies; 5+ messages in thread
From: kumar M @ 2002-01-05 14:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: kumarm4

Hi,

I am getting a kernel mismatch error when I insmod a binary module
compiled on a 2.4.2 kernel (kernel name say linux-2-4-2-v1) on a different 
system with the same 2.4.2 kernel  but with  a different kernel name 
(linux-2-4-2-v2). I dont want to recompile the module everytime I give a new 
name to a kernel or for every different system.
How do I fix this problem ?

TIA,
Kumar



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-01-06 12:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-30 11:07 Problems in exporting symbols kumar M
2001-11-30 11:29 ` Keith Owens
2002-01-05 14:43 kumar M
2002-01-05 23:34 ` Keith Owens
2002-01-06 12:48 ` Vikram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®