From c88284da05787f1e25ed9ff5dc0934ea94890b9e Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Tue, 12 Jun 2018 15:51:03 +0200
Subject: [PATCH] bugfix: fix compilation of the basic simulator

We need to build the softmodem first, otherwise
compilation of the lib 'config' fails because
of the T tracer.
---
 cmake_targets/build_oai | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai
index 2de8298ffc5..b1fc933e966 100755
--- a/cmake_targets/build_oai
+++ b/cmake_targets/build_oai
@@ -968,7 +968,8 @@ fi
     {
       cd $OPENAIR_DIR/cmake_targets/basic_simulator/enb
       cmake .
-      make -j`nproc` coding params_libconfig tcp_bridge_oai lte-softmodem
+      make -j`nproc` lte-softmodem
+      make -j`nproc` coding params_libconfig tcp_bridge_oai
       ln -sf libtcp_bridge_oai.so liboai_device.so
       cd ../..
     } > $dlog/basic_simulator_enb.txt 2>&1
@@ -1023,7 +1024,8 @@ fi
     {
       cd $OPENAIR_DIR/cmake_targets/basic_simulator/ue
       cmake .
-      make -j`nproc` coding params_libconfig tcp_bridge_oai lte-uesoftmodem
+      make -j`nproc` lte-uesoftmodem
+      make -j`nproc` coding params_libconfig tcp_bridge_oai
       ln -sf libtcp_bridge_oai.so liboai_device.so
       cd ../..
     } > $dlog/basic_simulator_ue.txt 2>&1
-- 
GitLab