[Crash] Crash 2.9 compile failure
Christoph Hellwig
hch@caldera.de
Mon, 23 Jul 2001 15:05:09 +0200
On Mon, Jul 23, 2001 at 08:44:45AM -0400, Dave Anderson wrote:
> Hello Christoph,
>
> Given that you say that a "normal gdb 5.0" gets built, and that you
> cannot find any references to mergeobjs and mergelibs in the sources,
> it almost sounds like the "stock" gdb-5.0.tar.gz tarball was manually
> unzip'd -- instead of allowing the top-level Makefile to do it?
That was my impression, too. But I repeated it a few times with completly
stock tarballs, even without the specfile I wanted to use for building, etc..
> The top-level Makefile unzips all but about a dozen gdb files from
> gdb-5.0.tar.gz, one of them being Makefile.in, which in turn creates
> the Makefile in ./gdb-5.0/gdb. In that Makefile you should see
> the following references to mergeobjs and mergelibs:
>
> gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
> @(cd ../..; make --no-print-directory GDB_FLAGS=-DGDB library)
> @rm -f gdb$(EXEEXT)
> $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o `cat mergeobj`
> main.o libgdb.a $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) `cat mergelibs`
>
> The line above was modified to create the toplevel crash executable instead
> of the gdb executable, i.e, so it's impossible for a gdb executable to get
> built.
>
> In any case, I'm only guessing. What I need to see is a copy of the full
> build output. Start from scratch in a clean directory, and do this:
>
> # tar xvzmf crash2.9.tar.gz
> ...
> # cd crash2.9
> # make > save.this 2>&1
>
> The save.this file is going to be lengthy, but without it, it's difficult
> to speculate what's happened.
Ok, attached.
Christoph
--
Christoph Hellwig
Kernel Engineer Unix/Linux Integration
Caldera Deutschland GmbH