Subject: Missing "#include " in gdb ?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Alan Barrett <barrett@daisy.ee.und.ac.za>
List: current-users
Date: 04/01/1994 10:38:32
When making gdb from the 940330 sources, I get this:

    cc -O -I/usr/src/gnu/usr.bin/gdb/gdb/arch/i386 \
    -I/usr/src/gnu/usr.bin/gdb/gdb/../bfd \
    -I/usr/src/gnu/usr.bin/gdb/gdb/../readline \
    -I/usr/src/gnu/usr.bin/gdb/gdb/../include \
    -I/usr/src/gnu/usr.bin/gdb/gdb -DHOST_CANONICAL=\"i386-netbsd\" \
    -DTARGET_CANONICAL=\"i386-netbsd\" -DNO_MMALLOC -c \
    /usr/src/gnu/usr.bin/gdb/bfd/libbfd.c

    In file included from /usr/src/gnu/usr.bin/gdb/bfd/libbfd.c:26:
    /usr/src/gnu/usr.bin/gdb/bfd/libbfd.h:176: parse error before `*'

There is evidently no definition of the "FILE" type at that point.  I
suspect a missing "#include <stdio.h>" somewhere, and I worked around it
by adding such a line to the top of libbfd.h.

--apb (Alan Barrett)

------------------------------------------------------------------------------