fix for building on csi-trex-05 (ubunutu)
authorimarom <[email protected]>
Tue, 1 Sep 2015 07:36:02 +0000 (10:36 +0300)
committerimarom <[email protected]>
Tue, 1 Sep 2015 07:36:02 +0000 (10:36 +0300)
linux/ws_main.py
src/rpc-server/commands/trex_rpc_cmd_stream.cpp

index 6d8d75a..218cbe2 100755 (executable)
@@ -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++')
 
index cda917a..d1dffc4 100644 (file)
@@ -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>