From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Thu, 2 Oct 2008 12:07:31 -0400 Subject: [ltt-dev] ltt/ltt-relay-alloc.c:46: error: 'cpu' undeclared In-Reply-To: <48E4EC19.2030108@hp.com> References: <48E4EC19.2030108@hp.com> Message-ID: <20081002160731.GC2473@Krystal> Thanks for the report, it should be fixed in LTTng 0.28, now available. Mathieu * Alan D. Brunelle (Alan.Brunelle at hp.com) wrote: > I'm attempting to try out LTTng, but ran into this error after the > following steps: > > (1) Git tree w/ Linus' "latest" tree - 2.6.27-rc8 (commit > 4a7703582836f55a1cbad0e2c1c6ebbee3f9b3a7) > > (2) Expanded patch-2.6.27-rc7-lttng-0.27.tar.bz2 into 'patches' directory > > (3) Ran 'quilt push -a' which seemed to make a lot of patches... > > (4) ran make: > > CC ltt/ltt-tracer.o > ltt/ltt-tracer.c: In function ?ltt_control?: > ltt/ltt-tracer.c:386: warning: ?trace? may be used uninitialized in this > function > ltt/ltt-tracer.c:386: note: ?trace? was declared here > CC ltt/ltt-relay.o > CC ltt/ltt-relay-alloc.o > ltt/ltt-relay-alloc.c: In function ?relay_alloc_buf?: > ltt/ltt-relay-alloc.c:46: error: ?cpu? undeclared (first use in this > function) > ltt/ltt-relay-alloc.c:46: error: (Each undeclared identifier is reported > only once > ltt/ltt-relay-alloc.c:46: error: for each function it appears in.) > make[1]: *** [ltt/ltt-relay-alloc.o] Error 1 > make: *** [ltt] Error 2 > > > Looking at the patch patches/lttng-relay-alloc.patch shows that the > problem is in the patch. > > Is this an issue w/ 2.6.27-rc8, and I should go back down to 2.6.27-rc7 > - or is there just a bad patch? > > Thanks, > Alan > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68