Hello,
I am planning to release a new version from latest stable branch - 4.2. Most likely it will be Tuesday next week (Feb 10). If there is something important to take in consideration for this version, reply to sr-dev mailing list.
Cheers, Daniel
Subject: [SR-Users] Planing to release Kamailio v4.2.3 Date: Tue, Feb 03, 2015 at 02:01:28PM +0100 Quoting Daniel-Constantin Mierla (miconda@gmail.com):
Hello,
I am planning to release a new version from latest stable branch - 4.2. Most likely it will be Tuesday next week (Feb 10). If there is something important to take in consideration for this version, reply to sr-dev mailing list.
I've found a problem on FreeBSD with 4.2.2; it won't compile a pair of modules because they look for the number of CPUen by the sysctl variable HW_AVAILCPU -- it is there on OS X but not on FreeBSD. FreeBSD has to make do with HW_NCPU. The code as shipped does a watershed between FreeBSD and OSX on one hand and the rest on the other. And that does not suffice.
I've made an ugly #ifdef hack (nested, at that) that allows compilation on FreeBSD but I've only had time to build, not actually test it beyond startup.. I'd rather that someone competent do the fix than posting my "code".
The affected files are:
ball-empfang:kamailio-4.2.2 mansaxel$ find . -name '*.c' | xargs grep -l HW_AVAILCPU ./modules/pipelimit/pipelimit.c ./modules/ratelimit/ratelimit.c
/Måns
Have you tried with the latest version of the git branch 4.2? There were some commits on this.
Cheers, Daniel
On 03/02/15 17:02, Måns Nilsson wrote:
Subject: [SR-Users] Planing to release Kamailio v4.2.3 Date: Tue, Feb 03, 2015 at 02:01:28PM +0100 Quoting Daniel-Constantin Mierla (miconda@gmail.com):
Hello,
I am planning to release a new version from latest stable branch - 4.2. Most likely it will be Tuesday next week (Feb 10). If there is something important to take in consideration for this version, reply to sr-dev mailing list.
I've found a problem on FreeBSD with 4.2.2; it won't compile a pair of modules because they look for the number of CPUen by the sysctl variable HW_AVAILCPU -- it is there on OS X but not on FreeBSD. FreeBSD has to make do with HW_NCPU. The code as shipped does a watershed between FreeBSD and OSX on one hand and the rest on the other. And that does not suffice.
I've made an ugly #ifdef hack (nested, at that) that allows compilation on FreeBSD but I've only had time to build, not actually test it beyond startup.. I'd rather that someone competent do the fix than posting my "code".
The affected files are:
ball-empfang:kamailio-4.2.2 mansaxel$ find . -name '*.c' | xargs grep -l HW_AVAILCPU ./modules/pipelimit/pipelimit.c ./modules/ratelimit/ratelimit.c
/Måns
Subject: Re: [SR-Users] Planing to release Kamailio v4.2.3 Date: Tue, Feb 03, 2015 at 06:16:22PM +0100 Quoting Daniel-Constantin Mierla (miconda@gmail.com):
Have you tried with the latest version of the git branch 4.2? There were some commits on this.
From staring at the source code I'd say that commit f0159a194a8ac0c0f5599867764d447ef2b5bf45 (in modules/ratelimit/ratelimit.c) is at the right place and does things that ought to help.
Thanks. It compiles on 10.1 with system clang. Happy now.
Hello,
short reminder that I am going to push v4.2.3 out later today. If anyone needs to push a patch to branch 4.2 after 12:00GMT, write to sr-dev mailing list and wait for an answer.
Cheers, Daniel
On 03/02/15 14:01, Daniel-Constantin Mierla wrote:
Hello,
I am planning to release a new version from latest stable branch - 4.2. Most likely it will be Tuesday next week (Feb 10). If there is something important to take in consideration for this version, reply to sr-dev mailing list.
Cheers, Daniel