fix compile issues with external libarries
authorimarom <[email protected]>
Mon, 24 Aug 2015 14:52:52 +0000 (17:52 +0300)
committerimarom <[email protected]>
Mon, 24 Aug 2015 14:52:52 +0000 (17:52 +0300)
121 files changed:
external_libs/cpp/yaml-cpp/CMakeLists.txt [moved from yaml-cpp/CMakeLists.txt with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/aliasmanager.h [moved from yaml-cpp/include/yaml-cpp/aliasmanager.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/anchor.h [moved from yaml-cpp/include/yaml-cpp/anchor.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/binary.h [moved from yaml-cpp/include/yaml-cpp/binary.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/contrib/anchordict.h [moved from yaml-cpp/include/yaml-cpp/contrib/anchordict.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/contrib/graphbuilder.h [moved from yaml-cpp/include/yaml-cpp/contrib/graphbuilder.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/conversion.h [moved from yaml-cpp/include/yaml-cpp/conversion.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/dll.h [moved from yaml-cpp/include/yaml-cpp/dll.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/emitfromevents.h [moved from yaml-cpp/include/yaml-cpp/emitfromevents.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/emitter.h [moved from yaml-cpp/include/yaml-cpp/emitter.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/emittermanip.h [moved from yaml-cpp/include/yaml-cpp/emittermanip.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/eventhandler.h [moved from yaml-cpp/include/yaml-cpp/eventhandler.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/exceptions.h [moved from yaml-cpp/include/yaml-cpp/exceptions.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/iterator.h [moved from yaml-cpp/include/yaml-cpp/iterator.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/ltnode.h [moved from yaml-cpp/include/yaml-cpp/ltnode.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/mark.h [moved from yaml-cpp/include/yaml-cpp/mark.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/node.h [moved from yaml-cpp/include/yaml-cpp/node.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/nodeimpl.h [moved from yaml-cpp/include/yaml-cpp/nodeimpl.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/nodereadimpl.h [moved from yaml-cpp/include/yaml-cpp/nodereadimpl.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/nodeutil.h [moved from yaml-cpp/include/yaml-cpp/nodeutil.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/noncopyable.h [moved from yaml-cpp/include/yaml-cpp/noncopyable.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/null.h [moved from yaml-cpp/include/yaml-cpp/null.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/ostream.h [moved from yaml-cpp/include/yaml-cpp/ostream.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/parser.h [moved from yaml-cpp/include/yaml-cpp/parser.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/stlemitter.h [moved from yaml-cpp/include/yaml-cpp/stlemitter.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/stlnode.h [moved from yaml-cpp/include/yaml-cpp/stlnode.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/traits.h [moved from yaml-cpp/include/yaml-cpp/traits.h with 100% similarity]
external_libs/cpp/yaml-cpp/include/yaml-cpp/yaml.h [moved from yaml-cpp/include/yaml-cpp/yaml.h with 100% similarity]
external_libs/cpp/yaml-cpp/install.txt [moved from yaml-cpp/install.txt with 100% similarity]
external_libs/cpp/yaml-cpp/license.txt [moved from yaml-cpp/license.txt with 100% similarity]
external_libs/cpp/yaml-cpp/src/aliasmanager.cpp [moved from yaml-cpp/src/aliasmanager.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/binary.cpp [moved from yaml-cpp/src/binary.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/collectionstack.h [moved from yaml-cpp/src/collectionstack.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/contrib/graphbuilder.cpp [moved from yaml-cpp/src/contrib/graphbuilder.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/contrib/graphbuilderadapter.cpp [moved from yaml-cpp/src/contrib/graphbuilderadapter.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/contrib/graphbuilderadapter.h [moved from yaml-cpp/src/contrib/graphbuilderadapter.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/conversion.cpp [moved from yaml-cpp/src/conversion.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/directives.cpp [moved from yaml-cpp/src/directives.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/directives.h [moved from yaml-cpp/src/directives.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/emitfromevents.cpp [moved from yaml-cpp/src/emitfromevents.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/emitter.cpp [moved from yaml-cpp/src/emitter.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/emitterstate.cpp [moved from yaml-cpp/src/emitterstate.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/emitterstate.h [moved from yaml-cpp/src/emitterstate.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/emitterutils.cpp [moved from yaml-cpp/src/emitterutils.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/emitterutils.h [moved from yaml-cpp/src/emitterutils.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/exp.cpp [moved from yaml-cpp/src/exp.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/exp.h [moved from yaml-cpp/src/exp.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/indentation.h [moved from yaml-cpp/src/indentation.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/iterator.cpp [moved from yaml-cpp/src/iterator.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/iterpriv.h [moved from yaml-cpp/src/iterpriv.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/node.cpp [moved from yaml-cpp/src/node.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/nodebuilder.cpp [moved from yaml-cpp/src/nodebuilder.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/nodebuilder.h [moved from yaml-cpp/src/nodebuilder.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/nodeownership.cpp [moved from yaml-cpp/src/nodeownership.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/nodeownership.h [moved from yaml-cpp/src/nodeownership.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/null.cpp [moved from yaml-cpp/src/null.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/ostream.cpp [moved from yaml-cpp/src/ostream.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/parser.cpp [moved from yaml-cpp/src/parser.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/ptr_stack.h [moved from yaml-cpp/src/ptr_stack.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/ptr_vector.h [moved from yaml-cpp/src/ptr_vector.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/regex.cpp [moved from yaml-cpp/src/regex.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/regex.h [moved from yaml-cpp/src/regex.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/regeximpl.h [moved from yaml-cpp/src/regeximpl.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/scanner.cpp [moved from yaml-cpp/src/scanner.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/scanner.h [moved from yaml-cpp/src/scanner.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/scanscalar.cpp [moved from yaml-cpp/src/scanscalar.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/scanscalar.h [moved from yaml-cpp/src/scanscalar.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/scantag.cpp [moved from yaml-cpp/src/scantag.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/scantag.h [moved from yaml-cpp/src/scantag.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/scantoken.cpp [moved from yaml-cpp/src/scantoken.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/setting.h [moved from yaml-cpp/src/setting.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/simplekey.cpp [moved from yaml-cpp/src/simplekey.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/singledocparser.cpp [moved from yaml-cpp/src/singledocparser.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/singledocparser.h [moved from yaml-cpp/src/singledocparser.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/stream.cpp [moved from yaml-cpp/src/stream.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/stream.h [moved from yaml-cpp/src/stream.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/streamcharsource.h [moved from yaml-cpp/src/streamcharsource.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/stringsource.h [moved from yaml-cpp/src/stringsource.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/tag.cpp [moved from yaml-cpp/src/tag.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/src/tag.h [moved from yaml-cpp/src/tag.h with 100% similarity]
external_libs/cpp/yaml-cpp/src/token.h [moved from yaml-cpp/src/token.h with 100% similarity]
external_libs/cpp/yaml-cpp/test/CMakeLists.txt [moved from yaml-cpp/test/CMakeLists.txt with 100% similarity]
external_libs/cpp/yaml-cpp/test/emittertests.cpp [moved from yaml-cpp/test/emittertests.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/test/emittertests.h [moved from yaml-cpp/test/emittertests.h with 100% similarity]
external_libs/cpp/yaml-cpp/test/main.cpp [moved from yaml-cpp/test/main.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/test/nodetests.h [moved from yaml-cpp/test/nodetests.h with 100% similarity]
external_libs/cpp/yaml-cpp/test/old-api/parsertests.cpp [moved from yaml-cpp/test/old-api/parsertests.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/test/old-api/spectests.cpp [moved from yaml-cpp/test/old-api/spectests.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/test/parsertests.h [moved from yaml-cpp/test/parsertests.h with 100% similarity]
external_libs/cpp/yaml-cpp/test/specexamples.h [moved from yaml-cpp/test/specexamples.h with 100% similarity]
external_libs/cpp/yaml-cpp/test/spectests.cpp [moved from yaml-cpp/test/spectests.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/test/spectests.h [moved from yaml-cpp/test/spectests.h with 100% similarity]
external_libs/cpp/yaml-cpp/test/tests.cpp [moved from yaml-cpp/test/tests.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/test/tests.h [moved from yaml-cpp/test/tests.h with 100% similarity]
external_libs/cpp/yaml-cpp/util/CMakeLists.txt [moved from yaml-cpp/util/CMakeLists.txt with 100% similarity]
external_libs/cpp/yaml-cpp/util/api.cpp [moved from yaml-cpp/util/api.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/util/parse.cpp [moved from yaml-cpp/util/parse.cpp with 100% similarity]
external_libs/cpp/yaml-cpp/yaml-cpp.pc.cmake [moved from yaml-cpp/yaml-cpp.pc.cmake with 100% similarity]
external_libs/cpp/zmq/include/zmq.h [moved from src/zmq/include/zmq.h with 100% similarity]
external_libs/cpp/zmq/include/zmq_utils.h [moved from src/zmq/include/zmq_utils.h with 100% similarity]
external_libs/cpp/zmq/libzmq.a [moved from src/zmq/libzmq.a with 100% similarity]
external_libs/cpp/zmq/libzmq.la [moved from src/zmq/libzmq.la with 100% similarity]
external_libs/cpp/zmq/libzmq.lai [moved from src/zmq/libzmq.lai with 100% similarity]
external_libs/cpp/zmq/libzmq.so [moved from src/zmq/libzmq.so with 100% similarity]
external_libs/cpp/zmq/libzmq.so.3 [moved from scripts/libzmq.so.3 with 100% similarity]
external_libs/cpp/zmq/libzmq.so.3.1.0 [moved from scripts/libzmq.so.3.1.0 with 100% similarity]
external_libs/python/zmq/backend/cython/_device.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/_poll.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/_version.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/constants.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/context.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/error.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/message.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/socket.so [new file with mode: 0644]
external_libs/python/zmq/backend/cython/utils.so [new file with mode: 0644]
external_libs/python/zmq/devices/monitoredqueue.so [new file with mode: 0644]
external_libs/python/zmq/libzmq.so [moved from src/zmq/libzmq.so.3 with 100% similarity, mode: 0644]
linux/ws_main.py
linux_dpdk/ws_main.py
scripts/trex-console
src/zmq/libzmq.so.3.1.0 [deleted file]

diff --git a/external_libs/python/zmq/backend/cython/_device.so b/external_libs/python/zmq/backend/cython/_device.so
new file mode 100644 (file)
index 0000000..5957f8e
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/_device.so differ
diff --git a/external_libs/python/zmq/backend/cython/_poll.so b/external_libs/python/zmq/backend/cython/_poll.so
new file mode 100644 (file)
index 0000000..d93d0f1
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/_poll.so differ
diff --git a/external_libs/python/zmq/backend/cython/_version.so b/external_libs/python/zmq/backend/cython/_version.so
new file mode 100644 (file)
index 0000000..40dd3dc
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/_version.so differ
diff --git a/external_libs/python/zmq/backend/cython/constants.so b/external_libs/python/zmq/backend/cython/constants.so
new file mode 100644 (file)
index 0000000..cf44c07
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/constants.so differ
diff --git a/external_libs/python/zmq/backend/cython/context.so b/external_libs/python/zmq/backend/cython/context.so
new file mode 100644 (file)
index 0000000..ef9b969
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/context.so differ
diff --git a/external_libs/python/zmq/backend/cython/error.so b/external_libs/python/zmq/backend/cython/error.so
new file mode 100644 (file)
index 0000000..360da9d
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/error.so differ
diff --git a/external_libs/python/zmq/backend/cython/message.so b/external_libs/python/zmq/backend/cython/message.so
new file mode 100644 (file)
index 0000000..f674489
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/message.so differ
diff --git a/external_libs/python/zmq/backend/cython/socket.so b/external_libs/python/zmq/backend/cython/socket.so
new file mode 100644 (file)
index 0000000..1c92704
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/socket.so differ
diff --git a/external_libs/python/zmq/backend/cython/utils.so b/external_libs/python/zmq/backend/cython/utils.so
new file mode 100644 (file)
index 0000000..b4e5b28
Binary files /dev/null and b/external_libs/python/zmq/backend/cython/utils.so differ
diff --git a/external_libs/python/zmq/devices/monitoredqueue.so b/external_libs/python/zmq/devices/monitoredqueue.so
new file mode 100644 (file)
index 0000000..edca8a4
Binary files /dev/null and b/external_libs/python/zmq/devices/monitoredqueue.so differ
old mode 100755 (executable)
new mode 100644 (file)
similarity index 100%
rename from src/zmq/libzmq.so.3
rename to external_libs/python/zmq/libzmq.so
index 6a8967b..f30a7be 100755 (executable)
@@ -159,7 +159,7 @@ rpc_server_mock_src = SrcGroup(dir='src/rpc-server/src',
                           ])
 
 # JSON package
-json_src = SrcGroup(dir='external_libs/json',
+json_src = SrcGroup(dir='external_libs/cpp/json',
                     src_list=[
                         'jsoncpp.cpp'
                         ])
@@ -170,7 +170,7 @@ rpc_server_mock = SrcGroups([cmn_src,
                              json_src
                              ])
 
-yaml_src = SrcGroup(dir='yaml-cpp/src/',
+yaml_src = SrcGroup(dir='external_libs/cpp/yaml-cpp/src/',
         src_list=[
             'aliasmanager.cpp',
             'binary.cpp',
@@ -221,11 +221,11 @@ cxxflags_base =['-DWIN_UCODE_SIM',
 
 
 includes_path =''' ../src/pal/linux/
-                   ../src/zmq/include/
                    ../src/
                    ../src/rpc-server/include
-                   ../external_libs/json/
-                   ../yaml-cpp/include/
+                   ../external_libs/cpp/json/
+                   ../external_libs/cpp/zmq/include/
+                   ../external_libs/cpp/yaml-cpp/include/
               ''';
 
 
@@ -349,15 +349,15 @@ build_types = [
                build_option(name = "bp-sim", src = bp, debug_mode= DEBUG_, platform = PLATFORM_32, is_pie = False),
                build_option(name = "bp-sim", src = bp, debug_mode= DEBUG_, platform = PLATFORM_64, is_pie = False),
                build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_32, is_pie = False),
-               build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_64, is_pie = False)
+               build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_64, is_pie = False),
 
-               #build_option(name = "mock-rpc-server", use = ['zmq'], src = rpc_server_mock, debug_mode= DEBUG_,platform = PLATFORM_64, is_pie = False),
+               build_option(name = "mock-rpc-server", use = ['zmq'], src = rpc_server_mock, debug_mode= DEBUG_,platform = PLATFORM_64, is_pie = False),
               ]
 
 
 
 def build_prog (bld, build_obj):
-    zmq_lib_path='src/zmq/'
+    zmq_lib_path='external_libs/cpp/zmq/'
     bld.read_shlib( name='zmq' , paths=[top + zmq_lib_path] )
 
     bld.program(features='cxx cxxprogram', 
index 997c80f..817950f 100755 (executable)
@@ -131,7 +131,7 @@ net_src = SrcGroup(dir='src/common/Network/Packet',
            'VLANHeader.cpp']);
 
 # JSON package
-json_src = SrcGroup(dir='external_libs/json',
+json_src = SrcGroup(dir='external_libs/cpp/json',
         src_list=[
             'jsoncpp.cpp'
            ])
@@ -149,12 +149,12 @@ rpc_server_src = SrcGroup(dir='src/rpc-server/src',
                           ])
 
 # JSON package
-json_src = SrcGroup(dir='external_libs/json',
+json_src = SrcGroup(dir='external_libs/cpp/json',
                     src_list=[
                         'jsoncpp.cpp'
                         ])
 
-yaml_src = SrcGroup(dir='yaml-cpp/src/',
+yaml_src = SrcGroup(dir='external_libs/cpp/yaml-cpp/src/',
         src_list=[
             'aliasmanager.cpp',
             'binary.cpp',
@@ -398,10 +398,13 @@ common_flags_old = common_flags + [
 
 includes_path =''' ../src/pal/linux_dpdk/
                    ../src/
-                   ../external_libs/json/
+                   
                    ../src/rpc-server/include
-                   ../yaml-cpp/include/
-                   ../src/zmq/include/
+
+                   ../external_libs/cpp/yaml-cpp/include/
+                   ../external_libs/cpp/zmq/include/
+                   ../external_libs/cpp/json/
+
                         ../src/dpdk_lib18/librte_eal/linuxapp/eal/include/
                         ../src/dpdk_lib18/librte_eal/common/include/
                         ../src/dpdk_lib18/librte_eal/common/
@@ -590,7 +593,7 @@ build_types = [
 
 def build_prog (bld, build_obj):
 
-    zmq_lib_path='src/zmq/'
+    zmq_lib_path='external_libs/cpp/zmq/'
     bld.read_shlib( name='zmq' , paths=[top+zmq_lib_path] )
 
     #rte_libs =[
index 50e097e..6eab77d 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/bash
-../src/console/trex_console.py $@
+../scripts/automation/trex_control_plane/console/trex_console.py $@
diff --git a/src/zmq/libzmq.so.3.1.0 b/src/zmq/libzmq.so.3.1.0
deleted file mode 100755 (executable)
index 16980c2..0000000
Binary files a/src/zmq/libzmq.so.3.1.0 and /dev/null differ