diff --git a/executables/lte-softmodem.c b/executables/lte-softmodem.c index 69c67c950d..9e1adf1cbe 100644 --- a/executables/lte-softmodem.c +++ b/executables/lte-softmodem.c @@ -474,9 +474,10 @@ int main ( int argc, char **argv ) // to make a graceful exit when ctrl-c is pressed set_softmodem_sighandler(); #ifndef PACKAGE_VERSION -# define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL" +#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL" #endif - LOG_I(HW, "Version: %s\n", PACKAGE_VERSION); + // strdup to put the sring in the core file for post mortem identification + LOG_I(HW, "Version: %s\n", strdup(PACKAGE_VERSION)); /* Read configuration */ if (RC.nb_inst > 0) { diff --git a/executables/lte-uesoftmodem.c b/executables/lte-uesoftmodem.c index e26e10d6ee..a8f6d01227 100644 --- a/executables/lte-uesoftmodem.c +++ b/executables/lte-uesoftmodem.c @@ -76,9 +76,6 @@ #include "lte-softmodem.h" #include "executables/softmodem-common.h" -/* temporary compilation wokaround (UE/eNB split */ - - pthread_cond_t nfapi_sync_cond; pthread_mutex_t nfapi_sync_mutex; int nfapi_sync_var=-1; //!< protected by mutex \ref nfapi_sync_mutex @@ -579,9 +576,10 @@ int main( int argc, char **argv ) { // to make a graceful exit when ctrl-c is pressed set_softmodem_sighandler(); #ifndef PACKAGE_VERSION -# define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL" +#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL" #endif - LOG_I(HW, "Version: %s\n", PACKAGE_VERSION); + // strdup to put the sring in the core file for post mortem identification + LOG_I(HW, "Version: %s\n", strdup(PACKAGE_VERSION)); // init the parameters for (CC_id=0; CC_id