Messages in this thread |  | | From | "kumar M" <> | Subject | Problems in exporting symbols | Date | Fri, 30 Nov 2001 11:07:17 +0000 |
| |
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
- 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/
|  |