[gnu.gdb.bug] xgdb won't compile

hrp@snoid.cray.com (Hal Peterson) (02/09/89)

I am compiling xgdb with X11R3 on a Sun-3 running SunOS 3.5, and lots
of symbols come up missing because the default Makefile is missing the
Xmu library.  Following my .signature is a diff with the fix.
--
Hal Peterson / Cray Research / 1440 Northland Dr. / Mendota Hts, MN  55120
hrp@cray.com			uunet!cray!hrp		   +1 612 681 3145


============================================================
*** Makefile.dist       Tue Jan 31 11:55:20 1989
--- Makefile    Tue Feb  7 18:20:29 1989
***************
*** 119,125 ****
        -rm init.c
        ./munch $(OBS) $(TSOBS) xgdb.o > init.c
        $(CC-LD) $(LDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \
!       -lXaw -lXt -lX11 $(CLIBS)

  kdb : $(NTSSTART) $(OBS) $(NTSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
        -rm init.c
--- 119,125 ----
        -rm init.c
        ./munch $(OBS) $(TSOBS) xgdb.o > init.c
        $(CC-LD) $(LDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \
!       -lXaw -lXmu -lXt -lX11 $(CLIBS)

  kdb : $(NTSSTART) $(OBS) $(NTSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
        -rm init.c