<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>do you have your own rpm specs, or do you use an updated version
      (to add your mode) of some spec in kamailio repository?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/01/2017 16:24, Patrick wrote:<br>
    </div>
    <blockquote
cite="mid:CAGAcwwdsr_YFgKbKabV56SjWpVo=jtBtZcjvHXCE=ksy9o939A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)">Hi Daniel, Thanks
          for the help</div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)"><br>
        </div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)">Sort of. </div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)">The internal library
          seems to be compiled and linked each my module is compiled -
          this happens 2x, for %build and for %install of the RPM</div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)">This doesn't seem to
          be a problem when the %build stage is executed:</div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)"><br>
        </div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)"><br>
        </div>
        <div class="gmail_default">
          <div class="gmail_default" style="color:rgb(0,51,0)"><font
              size="1">Executing(%build): /bin/sh -e
              /var/tmp/rpm-tmp.EOkbPI</font></div>
          <div style="color:rgb(0,51,0)"><font size="1">...</font></div>
          <div>
            <div style="color:rgb(0,51,0)"><font size="1">+ make all
                quiet=verbose 'skip_modules=mysql jabber cpl-c
                avp_radius auth_radius group_radius uri_radius pa
                postgres osp tlsops unixodbc dbtext'
                cfg-target=//etc/kamailio/ </font></div>
            <div style="color:rgb(0,51,0)"><font size="1">...</font></div>
            <div>
              <div><font color="#003300" size="1">gcc -fPIC -DPIC -g
                  -funroll-loops -Wcast-align -m64
                  -minline-all-stringops -falign-loops -ftree-vectorize
                  -fno-strict-overflow -mtune=opteron -Wall  
                   -DNAME='"kamailio"' -DVERSION='"4.2.4"'
                  -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"'
                  -DCOMPILER='"gcc 4.4.7"' -D__CPU_x86_64 -D__OS_linux
                  -DSER_VER=4002004
                  -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC
                  -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST
                  -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
                  -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
                  -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC
                  -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
                  -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT
                  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
                  -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
                  -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
                  -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
                  -DHAVE_ALLOCA_H -DHAVE_TIMEGM
                  -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL
                  -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX
                  -DHAVE_SELECT  -DKAMAILIO_MOD_INTERFACE
                  -DRTC_COMMON_TRACE -DMOD_NAME='"db_arl"' -c
                  db_arl_mod.c -o db_arl_mod.o -MMD -MP</font></div>
              <div><font color="#003300" size="1">Makefile.defs defs
                  skipped</font></div>
              <div><font style="background-color:rgb(255,255,255)"
                  color="#003300" size="1">make[2]: `libsrdb2.so.1.0' is
                  up to date.</font></div>
              <div><font style="background-color:rgb(255,255,255)"
                  color="#003300" size="1">Makefile.defs defs skipped</font></div>
              <div><font style="background-color:rgb(255,255,255)"
                  color="#003300" size="1">make[2]: `libsrdb1.so.1.0' is
                  up to date.</font></div>
              <div><font style="background-color:rgb(255,255,255)"
                  color="#003300" size="1">Makefile.defs defs skipped</font></div>
              <div><font style="background-color:rgb(255,255,0)"
                  color="#003300" size="1">make[2]: `librtctrace.so.1.0'
                  is up to date.</font></div>
              <div><font color="#003300" size="1">COL_LOCAL_BUILDS_ROOT=/home/pshea/_localbuilds/</font></div>
              <div><font color="#003300" size="1">Compiling
                  db_arl_base.cpp</font></div>
              <div><font color="#003300" size="1">g++ -fPIC -DPIC -g
                  -funroll-loops -Wcast-align -m64
                  -minline-all-stringops -falign-loops -ftree-vectorize
                  -fno-strict-overflow -mtune=opteron -Wall
                  -Wno-write-strings -Wno-deprecated
                  -Wno-unused-function -Wno-sign-compare
                  -Wno-strict-aliasing  -I
                  /home/pshea/_localbuilds//ExternalLibs/boost/V1.60.0_27/
                  -I ./jsoncpp-dist/ -fPIC -DPIC -g -funroll-loops
                  -Wcast-align -m64 -minline-all-stringops -falign-loops
                  -ftree-vectorize -fno-strict-overflow -mtune=opteron
                  -Wall  -DNAME='"kamailio"' -DVERSION='"4.2.4"'
                  -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"'
                  -DCOMPILER='"gcc 4.4.7"' -D__CPU_x86_64 -D__OS_linux
                  -DSER_VER=4002004
                  -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC
                  -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST
                  -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
                  -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
                  -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC
                  -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
                  -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT
                  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
                  -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
                  -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
                  -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
                  -DHAVE_ALLOCA_H -DHAVE_TIMEGM
                  -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL
                  -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX
                  -DHAVE_SELECT  -DKAMAILIO_MOD_INTERFACE
                  -DRTC_COMMON_TRACE -DMOD_NAME='"db_arl"' -c
                  db_arl_base.cpp -o db_arl_base.o</font></div>
              <div><font color="#003300" size="1">db_arl_base.cpp: In
                  function 'std::string convert_value(int, const
                  db_val_t*)':</font></div>
              <div><font color="#003300" size="1">db_arl_base.cpp:789:
                  warning: enumeration value 'DB1_UNKNOWN' not handled
                  in switch</font></div>
              <div><font color="#003300" size="1">COL_LOCAL_BUILDS_ROOT=/home/pshea/_localbuilds/</font></div>
              <div><font color="#003300" size="1">Compiling
                  jsoncpp-dist/jsoncpp.cpp</font></div>
              <div><font color="#003300" size="1">g++ -fPIC -DPIC -g
                  -funroll-loops -Wcast-align -m64
                  -minline-all-stringops -falign-loops -ftree-vectorize
                  -fno-strict-overflow -mtune=opteron -Wall
                  -Wno-write-strings -Wno-deprecated
                  -Wno-unused-function -Wno-sign-compare
                  -Wno-strict-aliasing  -I
                  /home/pshea/_localbuilds//ExternalLibs/boost/V1.60.0_27/
                  -I ./jsoncpp-dist/ -fPIC -DPIC -g -funroll-loops
                  -Wcast-align -m64 -minline-all-stringops -falign-loops
                  -ftree-vectorize -fno-strict-overflow -mtune=opteron
                  -Wall  -DNAME='"kamailio"' -DVERSION='"4.2.4"'
                  -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"'
                  -DCOMPILER='"gcc 4.4.7"' -D__CPU_x86_64 -D__OS_linux
                  -DSER_VER=4002004
                  -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC
                  -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST
                  -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
                  -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
                  -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC
                  -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
                  -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT
                  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
                  -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
                  -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
                  -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
                  -DHAVE_ALLOCA_H -DHAVE_TIMEGM
                  -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL
                  -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX
                  -DHAVE_SELECT  -DKAMAILIO_MOD_INTERFACE
                  -DRTC_COMMON_TRACE -DMOD_NAME='"db_arl"' -c
                  jsoncpp-dist/jsoncpp.cpp -o jsoncpp.o</font></div>
              <div><font color="#003300" size="1">g++ -shared  -m64
                  -Wl,-O2 -Wl,-E    db_arl_mod.o  db_arl_base.o
                  jsoncpp.o -lcurl -pthread  -L../../lib/srdb2/ -lsrdb2
                   -L../../lib/srdb1/ -lsrdb1 <b
                    style="background-color:rgb(255,255,0)"> -L../../lib/rtctrace/
                    -lrtctrace</b>
                  -Wl,-rpath,/tmp/kamailio/BUILD/kamailio-4.2.4/lib/srdb2
-Wl,-rpath,/tmp/kamailio/BUILD/kamailio-4.2.4/lib/srdb1
                  -Wl,-rpath,/tmp/kamailio/BUILD/kamailio-4.2.4/lib/rtctrace
                  -o db_arl.so</font></div>
            </div>
            <div style="color:rgb(0,51,0);font-size:small"><br>
            </div>
          </div>
          <div style="color:rgb(0,51,0);font-size:small"><br>
          </div>
          <div style="color:rgb(0,51,0);font-size:small"><br>
          </div>
          <div style="color:rgb(0,51,0);font-size:small"><br>
          </div>
          <div style="color:rgb(0,51,0);font-size:small">However, during
            the %install stage - this does seem to cause a problem. </div>
          <div style="color:rgb(0,51,0);font-size:small">There are
            different options passed to make, in this case, and I am
            trying to figure out how this causes a problem.</div>
          <div style="font-size:small"><font color="#003300">In this
              case, you'll see that the internal library is NOT "up to
              date" so make attempts to </font><b><font color="#0000ff">rebuild</font></b><font
              color="#003300"> it. In the link line, you'll see the <span
                style="background-color:rgb(255,255,0)">objects from the
                LIBS in my custom module</span>.</font></div>
          <div style="color:rgb(0,51,0);font-size:small"><br>
          </div>
          <div style="color:rgb(0,51,0)">
            <div><font size="1"><br>
              </font></div>
            <div><font size="1">Executing(%install): /bin/sh -e
                /var/tmp/rpm-tmp.AkEuuP</font></div>
            <div><font size="1">...</font></div>
          </div>
          <div><font size="1"><font color="#003300">+ make install
                quiet=verbose 'skip_modules=mysql jabber cpl-c
                avp_radius auth_radius group_radius uri_radius pa
                postgres osp tlsops unixodbc dbtext' </font><b><font
                  color="#ff0000">basedir=/tmp/kamailio/BUILDROOT/kamailio-4.2.4-0.x86_64
                  prefix=/usr
                  cfg-prefix=/tmp/kamailio/BUILDROOT/kamailio-4.2.4-0.x86_64</font></b><font
                color="#003300"> cfg-target=//etc/kamailio/</font><br>
            </font></div>
          <div style="color:rgb(0,51,0)"><font size="1">...</font></div>
          <div>
            <div style="color:rgb(0,51,0)"><font size="1">Makefile.defs
                defs skipped</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">make[2]:
                `libsrdb2.so.1.0' is up to date.</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">Makefile.defs
                defs skipped</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">make[2]:
                `libsrdb1.so.1.0' is up to date.</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">Makefile.defs
                defs skipped</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">Makefile.defs
                defs skipped</font></div>
            <div><b><font color="#0000ff" size="1">/opt/rh/devtoolset-4/root/usr/bin/g++
                  -fPIC -DPIC -g -funroll-loops -Wcast-align -m64
                  -minline-all-stringops -falign-loops -ftree-vectorize
                  -fno-strict-overflow -mtune=opteron -Wall  
-I/home/pshea/_localbuilds//RTC/Common/2.0.0_247//Applications_rhel6_x64_dts4_pic/include
                    -DNAME='"kamailio"' -DVERSION='"4.2.4"'
                  -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"'
                  -DCOMPILER='"gcc 4.4.7"' -D__CPU_x86_64 -D__OS_linux
                  -DSER_VER=4002004
                  -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC
                  -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST
                  -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
                  -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
                  -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC
                  -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
                  -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT
                  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
                  -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
                  -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
                  -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
                  -DHAVE_ALLOCA_H -DHAVE_TIMEGM
                  -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL
                  -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX
                  -DHAVE_SELECT  -std=c++0x
-I/home/pshea/_localbuilds//RTC/Common/2.0.0_247//Applications_rhel6_x64_dts4_pic/include
                  -c rtctrace.c -o rtctrace.o -MMD -MP</font></b></div>
            <div><b><font color="#0000ff" size="1"><br>
                </font></b></div>
            <div><b><font color="#0000ff" size="1">/opt/rh/devtoolset-4/root/usr/bin/g++
                  -shared  -m64 -Wl,-O2 -Wl,-E  
                   -Wl,-soname,librtctrace.so.1 rtctrace.o  <span
                    style="background-color:rgb(255,255,0)">db_arl_base.o
                    jsoncpp.o</span> -lcurl -pthread
-L/home/pshea/_localbuilds//RTC/Common/2.0.0_247//Applications_rhel6_x64_dts4_pic/lib
                  -lrtccommon
-L/home/pshea/_localbuilds//ExternalLibs/boost/V1.60.0_22/Server_Linux26_x64_dts4_pic/lib
                  -lboost_system -lboost_thread -lpthread   -o
                  librtctrace.so.1.0</font></b></div>
            <div><b><font color="#cc0000" size="1">g++: error:
                  db_arl_base.o: No such file or directory</font></b></div>
            <div><b><font color="#cc0000" size="1">g++: error:
                  jsoncpp.o: No such file or directory</font></b></div>
            <div style="color:rgb(0,51,0)"><font size="1">make[2]: ***
                [librtctrace.so.1.0] Error 1</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">make[1]: ***
                [../../lib/rtctrace/librtctrace.so] Error 2</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">make: ***
                [install-modules] Error 1</font></div>
            <div style="color:rgb(0,51,0)"><font size="1">error: Bad
                exit status from /var/tmp/rpm-tmp.AkEuuP (%install)</font></div>
            <div style="color:rgb(0,51,0)"><br>
            </div>
          </div>
        </div>
        <div class="gmail_default"
          style="font-size:small;color:rgb(0,51,0)"><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Jan 11, 2017 at 8:36 AM,
            Daniel-Constantin Mierla <span dir="ltr"><<a
                moz-do-not-send="true" href="mailto:miconda@gmail.com"
                target="_blank">miconda@gmail.com</a>></span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF">
                <p>Hello,</p>
                <p>to be sure I understand properly the issue: you say
                  that the value of the LIBS from Makefile of the module
                  is inherited when compiling the internal library?</p>
                <p>Cheers,<br>
                  Daniel<br>
                </p>
                <div>
                  <div class="gmail-h5"> <br>
                    <div
                      class="gmail-m_-7183675550661382034moz-cite-prefix">On
                      11/01/2017 04:21, Patrick wrote:<br>
                    </div>
                  </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="gmail-h5">
                      <div dir="ltr">
                        <div style="font-size:small;color:rgb(0,51,0)">I
                          added a C++ module to kamalio at some point,
                          and now I am trying to integrate that module
                          with another C++ internal library, but I'm
                          getting all sorts of headaches when trying to
                          compile. </div>
                        <div style="font-size:small;color:rgb(0,51,0)"><br>
                        </div>
                        <div style="font-size:small;color:rgb(0,51,0)">The
                          latest problem is during the "make install"
                          part of the build - it seems like the objects
                          from the module are "infecting" the link line
                          of the internal library it's dependent on.</div>
                        <div style="font-size:small;color:rgb(0,51,0)"><br>
                        </div>
                        <div style="font-size:small;color:rgb(0,51,0)">Here
                          is the Makefile for the module. At the time,
                          the only way I figured to link in the C++
                          object was adding them to the LIBS. Now, i
                          think this interferes with the 'make install'
                          dependencies.</div>
                        <div style="font-size:small;color:rgb(0,51,0)"><br>
                        </div>
                        <div style="font-size:small;color:rgb(0,51,0)">Any
                          thoughs on how to do this properly would be
                          great!</div>
                        <div style="font-size:small;color:rgb(0,51,0)"><br>
                        </div>
                        <div style="font-size:small;color:rgb(0,51,0)">Thanks</div>
                        <div style="font-size:small;color:rgb(0,51,0)"><br>
                        </div>
                        <div style="font-size:small;color:rgb(0,51,0)"><br>
                        </div>
                        <div style="font-size:small;color:rgb(0,51,0)"><b><u>Module
                              Makefile</u></b></div>
                        <div style="color:rgb(0,51,0)"><font size="1"><br>
                          </font></div>
                        <div>
                          <div><font color="#003300" size="1">#</font></div>
                          <div><font color="#003300" size="1">#
                              db_cassandra module makefile</font></div>
                          <div><font color="#003300" size="1">#</font></div>
                          <div><font color="#003300" size="1">#</font></div>
                          <div><font color="#003300" size="1"># WARNING:
                              do not run this directly, it should be run
                              by the master Makefile</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">include
                              ../../Makefile.defs</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">CXX=g++</font></div>
                          <div><font color="#003300" size="1">LD=g++</font></div>
                          <div><span
                              style="color:rgb(0,51,0);font-size:x-small">auto_gen=</span><br>
                          </div>
                          <div><font color="#003300" size="1">NAME=db_arl.so</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">ifeq
                              ($(CROSS_COMPILE),)</font></div>
                          <div><font color="#003300" size="1">CURL_BUILDER=$(shell
                              \</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>if
                              pkg-config --exists libcurl; then \</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">            </span>echo
                              'pkg-config libcurl'; \</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>else
                              \</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">            </span>which
                              curl-config; \</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>fi)</font></div>
                          <div><font color="#003300" size="1">endif</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><span
                              style="color:rgb(0,51,0);font-size:x-small">DEFS+=-DKAMAILIO_MOD_INTERFACE
                              -DRTC_COMMON_TRACE</span><br>
                          </div>
                          <div><font size="1"><b><font color="#003300">LIBS
                                  += </font><font color="#ff0000">db_arl_base.o
                                  jsoncpp.o</font></b><font
                                color="#003300"> -lcurl -pthread</font></font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">CXXFLAGS=$(CFLAGS:-Wno-<wbr>deprecated
                              option=)</font></div>
                          <div><font color="#003300" size="1">CXXFLAGS+=
                              -Wno-write-strings -Wno-deprecated
                              -Wno-unused-function -Wno-sign-compare
                              -Wno-strict-aliasing </font></div>
                          <div><span
                              style="color:rgb(0,51,0);font-size:x-small">CXXFLAGS+=
                              -I ${COL_LOCAL_BUILDS_ROOT}/<wbr>ExternalLibs/boost/V1.60.0_27/</span><br>
                          </div>
                          <div><font color="#003300" size="1">CXXFLAGS+=
                              -I ./jsoncpp-dist/</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">SERLIBPATH=../../lib</font></div>
                          <div><font color="#003300" size="1">SER_LIBS+=$(SERLIBPATH)/srdb2/<wbr>srdb2</font></div>
                          <div><font color="#003300" size="1">SER_LIBS+=$(SERLIBPATH)/srdb1/<wbr>srdb1</font></div>
                          <div><font color="#0000ff" size="1"><b>SER_LIBS+=$(SERLIBPATH)/<wbr>rtctrace/rtctrace</b></font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">include
                              ../../Makefile.modules</font></div>
                          <div><br>
                          </div>
                          <div><font color="#003300" size="1">jsoncpp.o:
                              jsoncpp-dist/jsoncpp.cpp</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>@echo
                              COL_LOCAL_BUILDS_ROOT=${COL_<wbr>LOCAL_BUILDS_ROOT}</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>@echo
                              "Compiling $<"</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>$(CXX)
                              $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c
                              $< -o $@</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">db_arl_base.o:
                              db_arl_base.cpp db_arl_base.h</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>@echo
                              COL_LOCAL_BUILDS_ROOT=${COL_<wbr>LOCAL_BUILDS_ROOT}</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>@echo
                              "Compiling $<"</font></div>
                          <div><font color="#003300" size="1"><span class="gmail-m_-7183675550661382034gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>$(CXX)
                              $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c
                              $< -o $@</font></div>
                          <div><font color="#003300" size="1"><br>
                            </font></div>
                          <div><font color="#003300" size="1">db_arl.so:
                              db_arl_base.o jsoncpp.o</font></div>
                          <div
style="text-decoration:underline;font-weight:bold;color:rgb(0,51,0);font-size:small"><br>
                          </div>
                          <div
style="text-decoration:underline;font-weight:bold;color:rgb(0,51,0);font-size:small"><br>
                          </div>
                          <div style="font-size:small"><span
                              style="color:rgb(0,51,0);font-weight:bold;text-decoration:underline">During
                              'make install'</span><font color="#003300"> the
                              objects in </font><b><font
                                color="#ff0000">red</font></b><font
                              color="#003300"> have no business in the
                              link line for the internal library</font></div>
                          <div>
                            <div style="color:rgb(0,51,0)"><font
                                size="1">/opt/rh/devtoolset-4/root/usr/<wbr>bin/g++
                                -fPIC -DPIC -g -funroll-loops
                                -Wcast-align -m64 -minline-all-stringops
                                -falign-loops -ftree-vectorize
                                -fno-strict-overflow -mtune=opteron
                                -Wall  
                                -I/home/pshea/_localbuilds/<wbr>RTC/Common/2.0.0_247//<wbr>Applications_rhel6_x64_dts4_<wbr>pic/include
                                  -DNAME='"kamailio"'
                                -DVERSION='"4.2.4"' -DARCH='"x86_64"'
                                -DOS='linux_' -DOS_QUOTED='"linux"'
                                -DCOMPILER='"gcc 4.4.7"' -D__CPU_x86_64
                                -D__OS_linux -DSER_VER=4002004
                                -DCFG_DIR='"/usr/local/etc/<wbr>kamailio/"'
                                -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
                                -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP
                                -DDISABLE_NAGLE -DHAVE_RESOLV_RES
                                -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER
                                -DUSE_DST_BLACKLIST -DUSE_NAPTR
                                -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC
                                -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS
                                -DUSE_CORE_STATS -DSTATISTICS
                                -DMALLOC_STATS -DWITH_AS_SUPPORT
                                -DFAST_LOCK -DADAPTIVE_WAIT
                                -DADAPTIVE_WAIT_LOOPS=1024
                                -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
                                -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
                                -DHAVE_MSG_NOSIGNAL
                                -DHAVE_MSGHDR_MSG_CONTROL
                                -DHAVE_ALLOCA_H -DHAVE_TIMEGM
                                -DHAVE_SCHED_SETSCHEDULER
                                -DUSE_RAW_SOCKS -DHAVE_EPOLL
                                -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND
                                -DUSE_FUTEX -DHAVE_SELECT  -std=c++0x
                                -I/home/pshea/_localbuilds/<wbr>RTC/Common/2.0.0_247//<wbr>Applications_rhel6_x64_dts4_<wbr>pic/include
                                -c rtctrace.c -o rtctrace.o -MMD -MP</font></div>
                            <div><font size="1"><font color="#003300">/opt/rh/devtoolset-4/root/usr/<wbr>bin/g++
                                  -shared  -m64 -Wl,-O2 -Wl,-E  
                                   -Wl,-soname,librtctrace.so.1
                                  rtctrace.o </font><b><font
                                    color="#ff0000"> db_arl_base.o
                                    jsoncpp.o</font></b><font
                                  color="#003300"> -lcurl -pthread
                                  -L/home/pshea/_localbuilds/<wbr>RTC/Common/2.0.0_247//<wbr>Applications_rhel6_x64_dts4_<wbr>pic/lib
                                  -lrtccommon
                                  -L/home/pshea/_localbuilds/<wbr>ExternalLibs/boost/V1.60.0_22/<wbr>Server_Linux26_x64_dts4_pic/<wbr>lib
                                  -lboost_system -lboost_thread
                                  -lpthread   -o librtctrace.so.1.0</font></font></div>
                            <div><font color="#ff0000" size="1"><b>g++:
                                  error: db_arl_base.o: No such file or
                                  directory</b></font></div>
                            <div><font color="#ff0000" size="1"><b>g++:
                                  error: jsoncpp.o: No such file or
                                  directory</b></font></div>
                            <div
                              style="color:rgb(0,51,0);font-size:small;text-decoration:underline"><br>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      <fieldset
                        class="gmail-m_-7183675550661382034mimeAttachmentHeader"></fieldset>
                      <br>
                    </div>
                  </div>
                  <pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="gmail-m_-7183675550661382034moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="gmail-m_-7183675550661382034moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="gmail-HOEnZb"><font color="#888888">
</font></span></pre><span class="gmail-HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="gmail-HOEnZb"><font color="#888888">
    

    <pre class="gmail-m_-7183675550661382034moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="gmail-m_-7183675550661382034moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a moz-do-not-send="true" class="gmail-m_-7183675550661382034moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a moz-do-not-send="true" class="gmail-m_-7183675550661382034moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </font></span></div>


______________________________<wbr>_________________

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>

<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>


</blockquote></div>
</div></div>



</blockquote>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre></body></html>