>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 resol
ve 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?
You'll need to link with the other device driver:
ld -dy -Nmisc/scsi
-dy - force dynamic linking
-Nmisc/scsi - add "misc/scsi" as a dependency
Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code