Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.2
    • Fix Version/s: 1.6
    • Component/s: mod_gsmopen
    • Labels:
      None
    • Environment:
      Debian 8.2 64bit
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.6.2+git~20150930T182428Z~c0c3c38f64~64bit (git c0c3c38 2015-09-30 18:24:28Z 64bit)
    • GIT Master Revision hash::
      FreeSWITCH Version 1.6.2+git~20150930T182428Z~c0c3c38f64~64bit (git c0c3c38 2015-09-30 18:24:28Z 64bit)

      Description

      Hello.

      I'm trying to install prereq for GSMOPEN under Debian 8 64 bit and when trying to compile libctb-0.16 i'm getting the followings:

      /usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen/libctb-0.16/build# make DEBUG=0 GPIB=0


      g++ -c -o release/ctb_lib_portscan.o -DNDEBUG -D_THREAD_SAFE -pthread -O0 -I../include -MTrelease/ctb_lib_portscan.o -MF`echo release/ctb_lib_portscan.o | sed -e 's,\.o$,.d,'` -MD -MP ../src/portscan.cpp
      In file included from ../include/ctb-0.16/ctb.h:9:0,
                       from ../src/portscan.cpp:1:
      ../include/ctb-0.16/iobase.h:212:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
                char* eosString = "\n",
                                  ^
      In file included from ../include/ctb-0.16/linux/serport.h:12:0,
                       from ../include/ctb-0.16/serport.h:15,
                       from ../include/ctb-0.16/ctb.h:12,
                       from ../src/portscan.cpp:1:
      ../include/ctb-0.16/serportx.h: In member function ‘char* ctb::SerialPort_DCS::GetSettings()’:
      ../include/ctb-0.16/serportx.h:178:10: error: ‘_snprintf’ was not declared in this scope
            baud);
                ^
      GNUmakefile:247: recipe for target 'release/ctb_lib_portscan.o' failed
      make: *** [release/ctb_lib_portscan.o] Error 1


      Any ideeas how to fix this?

      Thank you.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              qualaro Ciprian Ionescu
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: