bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Building gdb on Solaris 2.8 for Intel


From: Peter.Schauer
Subject: Re: Problem Building gdb on Solaris 2.8 for Intel
Date: Wed, 6 Dec 2000 17:10:47 MET

This will be fixed in the next version of GDB.

Actually configure is failing to detect the presence of curses.h on
Solaris 2.7 and 2.8.

A cleaner workaround might be to change

/* #undef HAVE_CURSES_H */

to

#define HAVE_CURSES_H 1

in gdb/config.h after configuring.

> Hello,
> 
> I was trying to compile gdb 4.18, on Solaris 2.8 for Intel,
> using gcc 2.95.2.
> 
> I ran configure, and then make, which eventually stopped with
> this info:
> 
> 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:1207: parse error before `int'
> /usr/include/term.h:1207: `vidputs' declared as function returning a function
> /usr/include/term.h:1207: parse error before `)'
> make[1]: *** [utils.o] Error 1
> make[1]: Leaving directory `/home/users/sk01/bin/gdb-4.18/gdb'
> make: *** [all-gdb] Error 2
> %
> 
> After poking around things a little bit, my solution was
> to go into config.cache and change
> 
>     ac_cv_header_term_h=${ac_cv_header_term_h='yes'}
> 
> to read
> 
>     ac_cv_header_term_h=${ac_cv_header_term_h='no'}
> 
> and then re-run configure and install.
> 
> I later tried the exact same thing using gdb 5.0 
> (still on Solaris 2.8 for Intel), had the same problem,
>  and fixed it in the same way (tweaking the cache).
> 
> I asked a guru friend what to do about this and he replied,
> "That's a bug, report it", so I'm reporting it...
> 
> I apologize for not providing a patch; I don't know enough
> about how the configure scripts work to be able to make one.
> (I don't know why it's barfing on term.h, either.)
> 
> Thanks,
> 
> Scott
> 
> _______________________________________________
> Bug-gdb mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-gdb
> 
> 


-- 
Peter Schauer                   address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]