On 08/31/2011 05:02 PM, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@xxxxxxxxxxxx> > > qla4xxx driver needs to be linked with libiscsi.o to fix > build errors. This happens when no other drivers that use > libiscsi.o are enabled. > > Found in linux-next but applies to mainline also. > > ERROR: "iscsi_conn_stop" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_conn_get_addr_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_session_teardown" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_host_alloc" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_conn_start" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_conn_send_pdu" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_session_get_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_conn_get_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_set_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_session_failure" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_complete_pdu" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_session_setup" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_conn_bind" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_conn_setup" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > ERROR: "iscsi_itt_to_task" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined! > > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx> > --- > drivers/scsi/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20110831.orig/drivers/scsi/Makefile > +++ linux-next-20110831/drivers/scsi/Makefile > @@ -88,7 +88,7 @@ obj-$(CONFIG_SCSI_QLOGIC_FAS) += qlogicf > obj-$(CONFIG_PCMCIA_QLOGIC) += qlogicfas408.o > obj-$(CONFIG_SCSI_QLOGIC_1280) += qla1280.o > obj-$(CONFIG_SCSI_QLA_FC) += qla2xxx/ > -obj-$(CONFIG_SCSI_QLA_ISCSI) += qla4xxx/ > +obj-$(CONFIG_SCSI_QLA_ISCSI) += libiscsi.o qla4xxx/ > obj-$(CONFIG_SCSI_LPFC) += lpfc/ > obj-$(CONFIG_SCSI_BFA_FC) += bfa/ > obj-$(CONFIG_SCSI_PAS16) += pas16.o Sorry. Mixed this patch up with the other one sent that day. Looks ok. Reviewed-by: Mike Christie <michaelc@xxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html