On Fri, 28 Aug 2009 16:43:55 +0530
"Jayaraman, Bhaskar" <bhaskar.jayara...@lsi.com> wrote:

> Hi I have two loadable modules and one of them depends on the other for some 
> symbols. I'm using
> ld -N driver1 -o driver2 driver2.o
> to resolve the symbol, but when I do so I'm unable to attach driver2 because 
> it is unable to resolve symbols for scsi_hba_tran_alloc etc. and related 
> API's exported by the transport layer.
> Is there a way to export symbols from one module globally in solaris?

Did you link the second module with

-N "misc/scsi"

so that the linker knows where to find the dependencies?


James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to