Yes that's correct, driver1 is present in /kernel/drv and driver2 has symbols
it is using from driver1 and also transport layer functions.
The -Bdirect option seems to be working fine though.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, August 31, 2009 2:41 PM
To: Jayaraman, Bhaskar
Cc: [email protected]
Subject: Re: [osol-code] Exporting solaris symbols from driver!
>Sorry Casper, small typo. Actually I wanted to use driver1 symbols in driver2,
>so what I'm using w
as actually
>ld -dy -N driver1 -N misc/scsi -r driver2.o -o driver2
Where is the driver1 installed? If it's installed in the standard
directories (/kernel/drv/...), then you should specify it as:
-N drv/driver1
>I changed this to
>ld -dy -Bdirect driver2 -r driver2.o -o driver2
>
>driver2 attaches fine now.
Is that the exact command you typed? There's an additional "driver2"
argument.
Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code