Welcome!
Daniel
On 12/01/2017 12:26, Patrick wrote:
> Ahhh... looks like it was the 'LIBS+=' in the internal LIB Makefile
> Thanks for the help!
>
> Pat
>
> include ../../Makefile.defs
>
> CC=/opt/rh/devtoolset-4/root/usr/bin/g++
> CXX=/opt/rh/devtoolset-4/root/usr/bin/g++
> LD=/opt/rh/devtoolse
Ahhh... looks like it was the 'LIBS+=' in the internal LIB Makefile
Thanks for the help!
Pat
include ../../Makefile.defs
CC=/opt/rh/devtoolset-4/root/usr/bin/g++
CXX=/opt/rh/devtoolset-4/root/usr/bin/g++
LD=/opt/rh/devtoolset-4/root/usr/bin/g++
auto_gen=
NAME:=rtctrace
MAJOR_VER=1
MINOR_VER=0
BU
Oh, incomplete typing: it was supposed to be: (to add your module)
Can you paste here the content of the Makefile in your internal library?
Cheers,
Daniel
On 12/01/2017 11:52, Patrick wrote:
> I use a slightly modified version of pkg/kamailio/rpm/kamailio.spec
>
> By "mode" if you mean in th
I use a slightly modified version of pkg/kamailio/rpm/kamailio.spec
By "mode" if you mean in the compile flag -DRTC_COMMON_TRACE, I update DEFS
in each module that uses it the internal library
DEFS+=-DKAMAILIO_MOD_INTERFACE *-DRTC_COMMON_TRACE*
If you were instead asking about including the
Hello,
do you have your own rpm specs, or do you use an updated version (to add
your mode) of some spec in kamailio repository?
Cheers,
Daniel
On 11/01/2017 16:24, Patrick wrote:
> Hi Daniel, Thanks for the help
>
> Sort of.
> The internal library seems to be compiled and linked each my module
Hi Daniel, Thanks for the help
Sort of.
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
This doesn't seem to be a problem when the %build stage is executed:
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EO
Hello,
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?
Cheers,
Daniel
On 11/01/2017 04:21, Patrick wrote:
> I added a C++ module to kamalio at some point, and now I am trying to
> integr