On Tue, 14 Jan 2003 fleming@... wrote:
> "submit new" link. Would you like me to submit the build problem and
> the db problem as bugs or is email sufficient?
For now, let's keep it to mail. Prolonged discussion is a bit hard to
maintain in the bug tracker, and would flood the mailing lists with
endless repetitions. But CC: to the list is in order --> Done.
> > > 2) The database I build using the command:
> > >
> > > cscope -b -I /usr/src/linuxppc64_2_5/include -k -q
> > >
> > > cannot be read when I do the following:
> > >
> > > cscope -d -f all.db
> > These two command lines don't work together.
> I manually renamed the 3 database files to all.db, all.db.po and all.db.in.
Using '-f all.db' at build time would have been simpler ;-)
> > Can you show the first few lines of your 'all.db' (or rather
> > 'cscope.out') file, please?
> fleming@...> ls -l all*
> -rw-r--r-- 1 fleming users 110860579 2003-01-13 13:28 all.db
> -rw-r--r-- 1 fleming users 13885440 2003-01-13 13:28 all.db.in
> -rw-r--r-- 1 fleming users 84793272 2003-01-13 13:28 all.db.po
> fleming@...> head -5 all.db
> cscope 15 /usr/src/linuxppc64_2_5 -q 0000495971 0110159379
Are you sure you really want files like .config in your cscope database?
They won't help understanding the C source one little bit, and only serve
to potentially confuse the scanner.
The next important thing would be the file contents 110159379 bytes
into the file after the first line, which is the place where the file
pointer is supposed to be, at the point of the first skiplist() call.
I.e. what I'd need next would be some of the output from
tail -n +1 add.db | tail -c +110159379
It should show a single line with a number, then lots of lines holding
that number of source directories r, then another number and finally lots
of lines holding that number of include directories. The next would be
the list of source file names, preceded by the number of them and the raw
file length of that block.
[As to the auto* files in 15.4...]
> First, I tried running ./configure and got the error I showed earlier.
> Then I downloaded a new config.guess, and did the following:
That new config.guess most probably won't work with the (slightly old-ish)
autoconf/automake used to generate the cscope source tarball.
> fleming@...> autoreconf --force
> src/Makefile.am: required file `./depcomp' not found
> configure.in: required file `./ylwrap' not found
> autoreconf: automake failed with exit status: 1
Hmm... looks like you will have to run automake and autoconf raw, instead
of relying on autoreconf:
automake -a -c --gnu Makefile
Hans-Bernhard Broeker (broeker@...)
Even if all the snow were burnt, ashes would remain.