Writing Device Drivers for Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Module Dependencies

If the driver module depends on symbols exported by another kernel module, the dependency can be specified by the –dy and –N options of the loader, ld(1). If the driver depends on a symbol exported by misc/mySymbol, the example below should be used to create the driver binary.

% ld -dy -r -o xx xx1.o xx2.o -N misc/mySymbol