I've been reading through the "Writing Device Drivers" book from Sun, and in the chapter about writing SCSI HBA drivers, there's this section:
> To inform the system that the module depends on SCSA routines, the > driver binary must be generated with the following command. See > “SCSA HBA Interfaces” on page 358 for more information on SCSA > routines. > > ld -r xx.o -o xx -N "misc/scsi" > But when I run 'ld' like that I get: > $ ld -r build/Debug_X32/SunStudio_12-Solaris-x86/ips.o -o > dist/Debug_X32/SunStudio_12-Solaris-x86/ips -N "misc/scsi" > > ld: fatal: -N option is incompatible with building a static object > (-dn, -r, --relocatable) ld: fatal: file processing errors. No > output written to dist/Debug_X32/SunStudio_12-Solaris-x86/ips Is the boook wrong? Or am I missing something? It links fine without the '-N "misc/scsi"', though I haven't tried to load it yet. -Kyle _______________________________________________ Developer mailing list [email protected] http://lists.illumos.org/m/listinfo/developer _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
