Xref: utzoo gnu.gdb.bug:1126 comp.unix.sysv386:9304 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!agate!stanford.edu!bu.edu!ai-lab!ai.mit.edu!gnulists From: cpqhou!gregk@uunet.uu.net (Greg Kincade) Newsgroups: gnu.gdb.bug,comp.unix.sysv386 Subject: Need Help Building gdb on SCO 3.2.2 Message-ID: <1991Jun19.153553.25579@cpqhou.uucp> Date: 19 Jun 91 15:35:57 GMT Followup-To: comp.unix.sysv386 Organization: Compaq Computer Corporation Lines: 31 Approved: info-gnu@prep.ai.mit.edu X-Mailer: SCO System V Mail (version 3.2) To: cpqhou!gnu-gdb-bug@uunet.uu.net I ftped the gdb-3.5 from prep.ai.mit.edu and loaded it on my Compaq 486 running SCO Unix 3.2.2. The 'README' file says to type, "config.gdb" to get a list of valid machine types. From that list I chose "i386-sv32". After typing "config.gdb i386-sv32",and after the script echoes "Editing Makefile", it (cpp?) responds with the following: tmp.c(229) : error C21412: ellipsis requires three periods tmp.c(231) : error C21412: ellipsis requires three periods tmp.c(231) : error C21412: ellipsis requires three periods tmp.c(267) : error C2018: unknown character '0x40' GDB is now set up for use with a i386-sv32. >From looking at config.gdb,it looks like tmp.c is a tmp copy of Makefile.dist and the line(s) that is causing my pain is as follows: $(CC) -E >Makefile tmp.c $(MD) "-MD_MAKEDEFINE=$(MD)" -rm tmp.c I tried to press on by hacking the resultant Makefile and finally got everything to compile.Then I tried to run gdb on itself,but I get: Invalid symbol data: .bf/ .ef/ .bb/ .eb symbol mismatch, at symbol 12722. Setting up the environment for debugging gdb. Function fatal not defined. Would someone please help? Thanx