[SR-Users] Compile error with CNXCC on Debian 7 Wheezy
Daniel-Constantin Mierla
miconda at gmail.com
Wed Feb 3 09:34:46 CET 2016
Hello,
I don't see the cnxcc module packaged on debian wheezy for kamailio 4.3.
I assume the required version of redis library was not available in wheezy.
You try to install the needed redis library from sources and then
compile also kamailio from sources.
Cheers,
Daniel
On 29/01/16 16:41, Dirk Teurlings - SIGNET B.V. wrote:
> Hi Baris,
>
> But why would I be using Jessie sources on a stable Wheezy system? When
> I'm only using the Wheezy stable Kamailio build?
>
> Here are the contents of sources.list
>
> root at devhost:# cat /etc/apt/sources.list
> #
>
> deb http://ftp.nl.debian.org/debian/ wheezy main
> deb-src http://ftp.nl.debian.org/debian/ wheezy main
>
> deb http://security.debian.org/ wheezy/updates main
> deb-src http://security.debian.org/ wheezy/updates main
>
> # wheezy-updates, previously known as 'volatile'
> deb http://ftp.nl.debian.org/debian/ wheezy-updates main
> deb-src http://ftp.nl.debian.org/debian/ wheezy-updates main
>
> # Kamailio repository
> deb http://deb.kamailio.org/kamailio43 wheezy main
> deb-src http://deb.kamailio.org/kamailio43 wheezy main
>
> Cheers,
> Dirk
>
>
> On 29-01-16 16:26, Barış Şekerciler wrote:
>> Hello Dirk,
>>
>> You may have set Jessie repos to your Wheezy server.
>> Can you send sources.list which contains Kamailio Debian Stable Repos?
>>
>> Regards.
>>
>>> On 29 Jan 2016, at 16:40, Dirk Teurlings - SIGNET B.V. <dteurlings at signet.nl> wrote:
>>>
>>> Hi,
>>>
>>> While compiling Kamailio 4.3.4 from package sources for Debian 7 Wheezy
>>> (kamailio repository) I'm running into a problem. I've forked the CNXCC
>>> module which I was trying to keep up to date with upstream changes. But
>>> before I could do that, there is a dependency of redis added.
>>> Unfortunately, installing redis devel libs and libevent doesn't provide
>>> the correct version of redis. Also, I noticed on Debian 8 Jessie, it
>>> does compile correctly.
>>>
>>> How could Kamailio be compiled for Wheezy with these sources? I'm
>>> missing something obvious I feel. Attached is the compile log, this is
>>> with a completely unaltered sources.
>>>
>>> root at devhost:/usr/src/kamailio-4.3.4+wheezy# make -C modules/cnxcc
>>> make: Entering directory `/usr/src/kamailio-4.3.4+wheezy/modules/cnxcc'
>>> CC (gcc) [L libkmi.so.1.0] attr.o
>>> CC (gcc) [L libkmi.so.1.0] fmt.o
>>> CC (gcc) [L libkmi.so.1.0] mi.o
>>> CC (gcc) [L libkmi.so.1.0] tree.o
>>> LD (gcc) [L libkmi.so.1.0] libkmi.so.1.0
>>> CC (gcc) [L libsrdb1.so.1.0] db.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_id.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_pool.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_query.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_res.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_row.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_ut.o
>>> CC (gcc) [L libsrdb1.so.1.0] db_val.o
>>> LD (gcc) [L libsrdb1.so.1.0] libsrdb1.so.1.0
>>> CC (gcc) [L libkcore.so.1.0] cmpapi.o
>>> CC (gcc) [L libkcore.so.1.0] faked_msg.o
>>> CC (gcc) [L libkcore.so.1.0] kstats_wrapper.o
>>> CC (gcc) [L libkcore.so.1.0] parse_privacy.o
>>> CC (gcc) [L libkcore.so.1.0] parse_sst.o
>>> CC (gcc) [L libkcore.so.1.0] regexp.o
>>> CC (gcc) [L libkcore.so.1.0] statistics.o
>>> CC (gcc) [L libkcore.so.1.0] strcommon.o
>>> LD (gcc) [L libkcore.so.1.0] libkcore.so.1.0
>>> LD (gcc) [M cnxcc.so] cnxcc.so
>>> cnxcc_mod.o: In function `redisLibeventReadEvent':
>>> /usr/include/hiredis/adapters/libevent.h:10: multiple definition of
>>> `redisLibeventReadEvent'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:10: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventWriteEvent':
>>> /usr/include/hiredis/adapters/libevent.h:16: multiple definition of
>>> `redisLibeventWriteEvent'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:16: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventAddRead':
>>> /usr/include/hiredis/adapters/libevent.h:22: multiple definition of
>>> `redisLibeventAddRead'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:22: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventDelRead':
>>> /usr/include/hiredis/adapters/libevent.h:27: multiple definition of
>>> `redisLibeventDelRead'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:27: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventAddWrite':
>>> /usr/include/hiredis/adapters/libevent.h:32: multiple definition of
>>> `redisLibeventAddWrite'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:32: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventDelWrite':
>>> /usr/include/hiredis/adapters/libevent.h:37: multiple definition of
>>> `redisLibeventDelWrite'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:37: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventCleanup':
>>> /usr/include/hiredis/adapters/libevent.h:42: multiple definition of
>>> `redisLibeventCleanup'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:42: first defined
>>> here
>>> cnxcc_mod.o: In function `redisLibeventAttach':
>>> /usr/include/hiredis/adapters/libevent.h:49: multiple definition of
>>> `redisLibeventAttach'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:49: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventReadEvent':
>>> /usr/include/hiredis/adapters/libevent.h:10: multiple definition of
>>> `redisLibeventReadEvent'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:10: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventWriteEvent':
>>> /usr/include/hiredis/adapters/libevent.h:16: multiple definition of
>>> `redisLibeventWriteEvent'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:16: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventAddRead':
>>> /usr/include/hiredis/adapters/libevent.h:22: multiple definition of
>>> `redisLibeventAddRead'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:22: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventDelRead':
>>> /usr/include/hiredis/adapters/libevent.h:27: multiple definition of
>>> `redisLibeventDelRead'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:27: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventAddWrite':
>>> /usr/include/hiredis/adapters/libevent.h:32: multiple definition of
>>> `redisLibeventAddWrite'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:32: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventDelWrite':
>>> /usr/include/hiredis/adapters/libevent.h:37: multiple definition of
>>> `redisLibeventDelWrite'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:37: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventCleanup':
>>> /usr/include/hiredis/adapters/libevent.h:42: multiple definition of
>>> `redisLibeventCleanup'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:42: first defined
>>> here
>>> cnxcc_redis.o: In function `redisLibeventAttach':
>>> /usr/include/hiredis/adapters/libevent.h:49: multiple definition of
>>> `redisLibeventAttach'
>>> cnxcc_check.o:/usr/include/hiredis/adapters/libevent.h:49: first defined
>>> here
>>> collect2: error: ld returned 1 exit status
>>> make: *** [cnxcc.so] Error 1
>>> make: Leaving directory `/usr/src/kamailio-4.3.4+wheezy/modules/cnxcc'
>>>
>>>
>>> Cheers,
>>> Dirk
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu
More information about the sr-users
mailing list