Hi Ondrej,
On Jan 5, 2012, at 13:19 , Ondrej Filip wrote:
On 4.1.2012 15:14, Johan Ihrén wrote:
Hi,
On Jan 4, 2012, at 15:01 , Josef Pinc wrote:
je k dispozici postup jak zkompilovat Knot DNS
pod FreeBSD? Konkretne
na 8.2-RELEASE koncim s chybou u ./configure:
configure: error: liburcu not found
liburcu jsem v portech nenasel.
My czech isn't really as good as it ought to be, but this I can decipher ;-)
Unfortunately I don't have a solution, only a report that I have the same problem in
NetBSD (liburcu missing). I've taken a look at building liburcu for NetBSD but sofar
I've failed miserably.
Any insights in building liburcu for NetBSD would be most appreciated.
Hi Johan,
did you try to build liburcu directly from this source:
git clone
git://git.lttng.org/userspace-rcu.git
No, when I tried this in the autumn I used 0.6.5 which was the latest release at the
time.
This works for FreeBSD. (That is the outcome from the
Czech thread.)
Unfortunately, in spite of liburcu now being up to 0.6.7, it still doesn't compile
under NetBSD:
CC liburcu_signal_la-urcu.lo
CC liburcu_signal_la-urcu-pointer.lo
CC liburcu_signal_la-compat_arch_x86.lo
CC liburcu_signal_la-compat_futex.lo
CCLD liburcu-signal.la
CC urcu-bp.lo
urcu-bp.c:63: error: conflicting types for 'mremap'
/usr/include/sys/mman.h:185: error: previous declaration of 'mremap' was here
*** Error code 1
Stop.
make: stopped in /tmp/liburcu/userspace-rcu
*** Error code 1
This is exactly what I saw earlier and if I remember correctly there seems to be
differences in the calling conventions for at least mremap (and possibly others) between
NetBSD and FreeBSD. But I admit to not spending all that much time on it at the time (and
also to not being at all clued in to mremap and friends).
Regards,
Johan