This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: compile error:" unused variable ‘root’ "
- From: David Smith <dsmith at redhat dot com>
- To: Hatt Tom <net dot study dot sea at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 14 Aug 2013 08:26:34 -0500
- Subject: Re: compile error:" unused variable ‘root’ "
- References: <CAHvbk5MTu3y4po+Zuoe8AaoL+zzj2px+DnW4gkX01dJ4e0Y11g at mail dot gmail dot com> <20130809131732 dot GA2101 at redhat dot com> <CAHvbk5P-2oaQ-9UhmdkHF7O=4pW7dWbumTep52zoxpMjvc_sxA at mail dot gmail dot com> <520A4482 dot 20807 at redhat dot com> <CAHvbk5MgLuPUO5ubU+68-J231FmTBPozo3UvJeOsrvvbxA9xFg at mail dot gmail dot com>
On 08/13/2013 11:18 PM, Hatt Tom wrote:
> I only have downloaded the tarball .then compile in the source dir .
OK, then your compile error is really odd. If you look at that code, you
can clearly see that those variables are being used.
One workaround might be to configure with '--without-java'. At that
point, the code with unused variables should be compiled out.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)