From 20a0969b1581622e5336a2caf108dc4aac009296 Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Sat, 4 Jun 2016 17:34:01 +0100 Subject: [PATCH] lib: Remove unused iscsi_queue_pdu symbol Remove iscsi_queue_pdu from the list of symbols otherwise clang on OSX fails to compile with the following error: Undefined symbols for architecture x86_64: "_iscsi_queue_pdu", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) --- lib/libiscsi.def | 1 - lib/libiscsi.syms | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/libiscsi.def b/lib/libiscsi.def index ac9f2f3..b22ace8 100644 --- a/lib/libiscsi.def +++ b/lib/libiscsi.def @@ -48,7 +48,6 @@ iscsi_preventallow_sync iscsi_preventallow_task iscsi_queue_length iscsi_out_queue_length -iscsi_queue_pdu iscsi_read10_sync iscsi_read10_iov_sync iscsi_read10_task diff --git a/lib/libiscsi.syms b/lib/libiscsi.syms index f1c3723..7fd5f70 100644 --- a/lib/libiscsi.syms +++ b/lib/libiscsi.syms @@ -46,7 +46,6 @@ iscsi_preventallow_sync iscsi_preventallow_task iscsi_queue_length iscsi_out_queue_length -iscsi_queue_pdu iscsi_read10_sync iscsi_read10_iov_sync iscsi_read10_task