This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: CVS checkout build problem
- From: David Smith <dsmith at redhat dot com>
- To: Nathan DeBardeleben <ndebard at lanl dot gov>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Thu, 11 Jan 2007 10:21:05 -0600
- Subject: Re: CVS checkout build problem
- References: <45A65D9A.4030106@lanl.gov>
Nathan DeBardeleben wrote:
From a fresh CVS checkout this morning I can't seem to build. I get
this error:
[root@krak1 src]# make
make all-recursive
make[1]: Entering directory `/local/src/systemtap/src'
Making all in testsuite
make[2]: Entering directory `/local/src/systemtap/src/testsuite'
make[2]: Leaving directory `/local/src/systemtap/src/testsuite'
make[2]: Entering directory `/local/src/systemtap/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -DBINDIR='"/usr/local/bin"'
-DPKGDATADIR='"/usr/local/share/systemtap"'
-DPKGLIBDIR='"/usr/local/libexec/systemtap"' -Iinclude-elfutils
-Werror -Wall -g -O2 -MT stap-tapsets.o -MD -MP -MF
".deps/stap-tapsets.Tpo" -c -o stap-tapsets.o `test -f 'tapsets.cxx'
|| echo './'`tapsets.cxx; \
then mv -f ".deps/stap-tapsets.Tpo" ".deps/stap-tapsets.Po"; else rm
-f ".deps/stap-tapsets.Tpo"; exit 1; fi
tapsets.cxx: In function â:
tapsets.cxx:2152: error: â was not declared in this scope
tapsets.cxx:2158: error: â was not declared in this scope
make[2]: *** [stap-tapsets.o] Error 1
make[2]: Leaving directory `/local/src/systemtap/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/src/systemtap/src'
make: *** [all] Error 2
[root@krak1 src]#
I'm sure it's something obvious, but can anyone point me in the right
direction?
I just did a fresh checkout and it compiled fine for me. My best guess
is a corrupted cvs checkout (or perhaps a full disk). I'd do a "cvs -nq
up" to see if cvs thinks any of your files are modified.
(Also, don't build as root. You need to *install* as root, but there
isn't any need to *build* as root.)
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)