From aecba7b3fc34a644a1c8d1afea7621f85c19daee Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 1 Sep 2015 10:36:02 +0300 Subject: [PATCH] fix for building on csi-trex-05 (ubunutu) --- linux/ws_main.py | 2 +- src/rpc-server/commands/trex_rpc_cmd_stream.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/linux/ws_main.py b/linux/ws_main.py index 6d8d75a0..218cbe24 100755 --- a/linux/ws_main.py +++ b/linux/ws_main.py @@ -339,7 +339,7 @@ class build_option: def get_link_flags(self): # add here basic flags - base_flags = ['-lpthread']; + base_flags = ['-pthread']; if self.isPIE(): base_flags.append('-lstdc++') diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp index cda917ac..d1dffc44 100644 --- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp +++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp @@ -19,7 +19,6 @@ See the License for the specific language governing permissions and limitations under the License. */ #include "trex_rpc_cmds.h" -#include <../linux_dpdk/version.h> #include #include #include -- 2.16.6