* Harsh Bora ([email protected]) wrote: > On 01/10/2012 01:47 AM, Alexandre Montplaisir wrote: >> On 12-01-09 02:39 PM, Harsh Bora wrote: >>> Hi, >>> While building LTTng ust 1.9.4 with urcu 0.6.6, I get following >>> compilation errors: >> >> Hi, >> Did you try with the latest URCU (0.6.7) ? >> >> I cannot reproduce the problem here with UST 1.9.4 and URCU git head. >> > > Strange, I am getting this error with urcu git head also.
see below, > > Harsh > >> >> Alex >> >>> >>> CC lttng-probe-ust.lo >>> CC lttng-context-vtid.lo >>> CC lttng-context-vpid.lo >>> CC lttng-context-pthread-id.lo >>> CC lttng-context-procname.lo >>> In file included from ../include/lttng/ust-events.h:23, >>> from lttng-context-procname.c:12: >>> /usr/local/include/urcu/hlist.h: In function ‘CDS_INIT_HLIST_HEAD’: >>> /usr/local/include/urcu/hlist.h:33: error: ‘NULL’ undeclared (first >>> use in this function) >>> /usr/local/include/urcu/hlist.h:33: error: (Each undeclared identifier >>> is reported only once >>> /usr/local/include/urcu/hlist.h:33: error: for each function it >>> appears in.) The version of hlist.h in userspace RCU head has a #include <stddef.h> which defines NULL. I suspect that you still have a stale version in your /usr/local/include. Mathieu >>> make[2]: *** [lttng-context-procname.lo] Error 1 >>> make[2]: Leaving directory `/home/harsh/git-trees/lttng-ust/liblttng-ust' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/home/harsh/git-trees/lttng-ust' >>> make: *** [all] Error 2 >>> [harsh@harshbora lttng-ust]$ >>> >>> Help ? >>> >>> - Harsh >>> >> > > > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
