The file utils.c would not compile. Here's the gcc version:

vis:wiener:3>gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)





Here's the make output:

Partial output:

make[1]: Entering directory `/d1/local/src/gdb-4.18/gdb
...

gcc -c -g -O2    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode 
-I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui   
utils.c
In file included from utils.c:31:
/usr/include/term.h:1034: parse error before `bool'
/usr/include/term.h:1034: warning: no semicolon at end of struct or union
/usr/include/term.h:1035: warning: data definition has no type or storage class
/usr/include/term.h:1060: parse error before `SGTTY'
/usr/include/term.h:1060: warning: no semicolon at end of struct or union
/usr/include/term.h:1081: parse error before `sgr_mode'
/usr/include/term.h:1081: warning: data definition has no type or storage class
/usr/include/term.h:1082: parse error before `sgr_faked'
/usr/include/term.h:1082: warning: data definition has no type or storage class
/usr/include/term.h:1092: parse error before `funckeystarter'
/usr/include/term.h:1092: warning: data definition has no type or storage class
/usr/include/term.h:1094: parse error before `_fl_rawmode'
/usr/include/term.h:1097: warning: data definition has no type or storage class
/usr/include/term.h:1101: parse error before `_input_queue'
/usr/include/term.h:1101: warning: data definition has no type or storage class
/usr/include/term.h:1108: parse error before `*'
/usr/include/term.h:1108: warning: data definition has no type or storage class
/usr/include/term.h:1111: parse error before `bit_vector'
/usr/include/term.h:1111: warning: data definition has no type or storage class
/usr/include/term.h:1115: parse error before `check_turn_off'
/usr/include/term.h:1115: warning: data definition has no type or storage class
/usr/include/term.h:1116: parse error before `non_faked_mode'
/usr/include/term.h:1116: warning: data definition has no type or storage class
/usr/include/term.h:1117: parse error before `_cur_pair'
/usr/include/term.h:1117: warning: data definition has no type or storage class
/usr/include/term.h:1118: parse error before `*'
/usr/include/term.h:1118: warning: data definition has no type or storage class
/usr/include/term.h:1120: parse error before `}'
/usr/include/term.h:1209: parse error before `int'
/usr/include/term.h:1209: `vidputs' declared as function returning a function
/usr/include/term.h:1209: parse error before `)'
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/d1/local/src/gdb-4.18/gdb'
make: *** [all-gdb] Error 2






Note that ./configure could not find /usr/include/curses.h even though
it exists on the system. It did successfully find
/usr/include/term.h. The undefined terms in term.h such as SGTTY are
defined in /usr/include/curses.h.





Here are applicable lines from ./configure output:

checking for curses.h... no

checking for term.h... yes
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes


Thanks,

        Gerry Wiener    
        National Center for Atmospheric Research
        P.O. Box 3000
        Boulder, Co
        80307-3000

        Phone: (303)497-8417
        FAX:   (303)497-8401
        Email: [EMAIL PROTECTED]

Reply via email to