[gnu.gdb.bug] Need Help Building gdb on SCO 3.2.2

gregk@uunet.uu.net (Greg Kincade) (06/19/91)

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