summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-09-01 10:36:02 +0300
committerimarom <imarom@cisco.com>2015-09-01 10:36:02 +0300
commitaecba7b3fc34a644a1c8d1afea7621f85c19daee (patch)
tree1d9b01b6a122b602620d12ce64194d4fa53ec2ea
parentc17add108ead1ffbdf0c909684c5f8b18632f3d8 (diff)
fix for building on csi-trex-05 (ubunutu)
-rwxr-xr-xlinux/ws_main.py2
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_stream.cpp1
2 files changed, 1 insertions, 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 <trex_rpc_server_api.h>
#include <trex_stream_api.h>
#include <trex_stateless_api.h>