[lttng-dev] lttng ubuntu .deb packages - compilation error

Anand Neeli anand.neeli at gmail.com
Thu Jun 12 17:34:39 EDT 2014


Hi All,
I'm using a i386 ubuntu deb package to get include file of lttng-ust and
urcu
I have just instrumented with a basic tracepoint, my tracepoint .c and .h
look good.

i get following error fatal error: sys/sdt.h: No such file or directory

/home/aneeli/evo_all/cevo/liblogtrace_test/src/logtrace_test.c
In file included from
/home/aneeli/evo_all/cevo/liblogtrace_test/src/logtest_tracepoint.h:11:0,
                 from
/home/aneeli/evo_all/cevo/liblogtrace_test/src/logtrace_test.c:18:
/home/aneeli/evo_all/cevo/lttng/obj-native/install/usr/include/lttng/tracepoint.h:38:21:
fatal error: sys/sdt.h: No such file or directory
compilation terminated.

looks like LTTNG_UST_HAVE_SDT_INTEGRATION flag is set in deb i386 files
lttng/ust-config.h:
#define LTTNG_UST_HAVE_SDT_INTEGRATION 1

Where as LTTNG_UST_HAVE_SDT_INTEGRATION=1 is commented when i compile
manually for some other platforms

Am i missing anything here?
how can i compile for i386 using include files from deb.


Thanks,
Anand Neeli



On Fri, Jun 13, 2014 at 12:28 AM, Alexandre Montplaisir <
alexmonthy at voxpopuli.im> wrote:

>  Yes! There are PPAs for Ubuntu packages, one for the stable branches:
> https://launchpad.net/~lttng/+archive/ppa
>
> and one for builds of the git master:
> https://launchpad.net/~lttng/+archive/daily
>
>
> Cheers,
> Alexandre
>
>
>
> On 06/12/2014 02:27 PM, Anand Neeli wrote:
>
> Hi All,
> are there latest ubuntu .deb of lttng-ust, lttng-ust-dev, liburcu,
> liburcu-dev available?
> i'm looking for i386 and amd64 CPU target
> if yes, can some one tell me the location to download?
>
> i'm able to find older versions in http://packages.ubuntu.com, but i'm
> looking for the latest deb files
>
> Thanks,
> Anand Neeli
>
>
>
>
> _______________________________________________
> lttng-dev mailing listlttng-dev at lists.lttng.orghttp://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140613/5a9567e1/attachment-0001.html>


More information about the lttng-dev mailing list