Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8.0
    • Component/s: Build-System, mod_h323
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      bc0702a
    • GIT Master Revision hash::
      bc0702a

      Description

      I did a fresh Debian 8 instalation.

      ptlib
      http://www.h323plus.org/source/download/ptlib-2.12.8.tar.bz2

      h323plus
      http://www.h323plus.org/source/download/h323plus-v1_26_5.tar.gz

      Enabled mod_h323 in modules.conf

      Compiled Freeswitch like this:

       git checkout v1.6
       ./bootstrap.sh -j
       ./configure -C
       make && make install
       
       I got the same errors from CentOS 7

       making all mod_h323
      make[4]: Entering directory '/usr/src/freeswitch.git/src/mod/endpoints/mod_h323'
        CXX mod_h323_la-mod_h323.lo
      In file included from ../../../../src/include/switch.h:122:0,
                       from mod_h323.h:63,
                       from mod_h323.cpp:40:
      mod_h323.cpp: In function 'void set_global_codec_string(const char*)':
      mod_h323.cpp:42:76: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_string, mod_h323_globals.codec_string);
                                                                                  ^
      ../../../../src/include/switch_utils.h:924:7: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
             ^
      mod_h323.cpp:42:76: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_string, mod_h323_globals.codec_string);
                                                                                  ^
      ../../../../src/include/switch_utils.h:924:20: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                          ^
      mod_h323.cpp:42:76: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_string, mod_h323_globals.codec_string);
                                                                                  ^
      ../../../../src/include/switch_utils.h:924:28: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                  ^
      mod_h323.cpp:42:76: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_string, mod_h323_globals.codec_string);
                                                                                  ^
      ../../../../src/include/switch_utils.h:924:42: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                                ^
      mod_h323.cpp: In function 'void set_global_context(const char*)':
      mod_h323.cpp:43:71: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_context, mod_h323_globals.context);
                                                                             ^
      ../../../../src/include/switch_utils.h:924:7: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
             ^
      mod_h323.cpp:43:71: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_context, mod_h323_globals.context);
                                                                             ^
      ../../../../src/include/switch_utils.h:924:20: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                          ^
      mod_h323.cpp:43:71: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_context, mod_h323_globals.context);
                                                                             ^
      ../../../../src/include/switch_utils.h:924:28: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                  ^
      mod_h323.cpp:43:71: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_context, mod_h323_globals.context);
                                                                             ^
      ../../../../src/include/switch_utils.h:924:42: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                                ^
      mod_h323.cpp: In function 'void set_global_dialplan(const char*)':
      mod_h323.cpp:44:72: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_dialplan, mod_h323_globals.dialplan);
                                                                              ^
      ../../../../src/include/switch_utils.h:924:7: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
             ^
      mod_h323.cpp:44:72: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_dialplan, mod_h323_globals.dialplan);
                                                                              ^
      ../../../../src/include/switch_utils.h:924:20: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                          ^
      mod_h323.cpp:44:72: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_dialplan, mod_h323_globals.dialplan);
                                                                              ^
      ../../../../src/include/switch_utils.h:924:28: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                  ^
      mod_h323.cpp:44:72: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_dialplan, mod_h323_globals.dialplan);
                                                                              ^
      ../../../../src/include/switch_utils.h:924:42: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                                ^
      mod_h323.cpp: In function 'void set_global_rtp_timer_name(const char*)':
      mod_h323.cpp:45:78: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_rtp_timer_name, mod_h323_globals.rtp_timer_name);
                                                                                    ^
      ../../../../src/include/switch_utils.h:924:7: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
             ^
      mod_h323.cpp:45:78: error: expected primary-expression before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_rtp_timer_name, mod_h323_globals.rtp_timer_name);
                                                                                    ^
      ../../../../src/include/switch_utils.h:924:20: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                          ^
      mod_h323.cpp:45:78: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_rtp_timer_name, mod_h323_globals.rtp_timer_name);
                                                                                    ^
      ../../../../src/include/switch_utils.h:924:28: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                  ^
      mod_h323.cpp:45:78: error: expected unqualified-id before '.' token
       SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_rtp_timer_name, mod_h323_globals.rtp_timer_name);
                                                                                    ^
      ../../../../src/include/switch_utils.h:924:42: note: in definition of macro 'SWITCH_DECLARE_GLOBAL_STRING_FUNC'
         if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
                                                ^
      Makefile:661: recipe for target 'mod_h323_la-mod_h323.lo' failed
      make[4]: *** [mod_h323_la-mod_h323.lo] Error 1

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              primoitt Primo Itt
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: