>I've been using this linker line so far,
>ld -dy -N driver2 -r driver2.o -o driver2
>
>Upon your suggestion I modified this to
>ld -dy -N driver2 -N misc/scsi -r driver2.o -o driver2


The "-N driver2" is not correct.  Are there other drivers you want to use?

"misc/scsi" is found using the standard module load path:

        /kernel/misc/sparcv9/scsi
        /kernel/misc/scsi  (x86)
        /kernel/misc/amd64/scsi

>In spite of this I'm getting errors after loading the driver. It isn't able to 
>attach because the 
scsi symbols aren't being resolved.

Which particular symbols?  Have you verified where the functions are 
defined?

Casper

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to