* [hppa] GDB doesn't build with tui
@ 2004-02-23 20:05 Joel Brobecker
2004-02-23 21:14 ` Mark Kettenis
0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2004-02-23 20:05 UTC (permalink / raw)
To: gdb-patches
Hello,
GDB no longer builds on HP/UX 11.00 since TUI is built in by default.
The obvious work-around is to configure GDB --without-tui.
The error we get is during the link: the wborder symbol is undefined.
This triggers a question: Which version of curses are we planning on
supporting. For instance, on our machine, we currently have the system
curses library. Do we intend to support the system curses libraries,
or only say ncurses?
(BTW: it's bizarre to see that 'man wborder' on HP/UX reveals that it
thinks that this function is defined, and then we can even see it
in /usr/include/curses.h - albeit protected by a #ifdef -, but then
the symbol is missing from /usr/lib/libcurses.1... Will have a look,
but I'm not familiar with curses).
--
Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [hppa] GDB doesn't build with tui
2004-02-23 20:05 [hppa] GDB doesn't build with tui Joel Brobecker
@ 2004-02-23 21:14 ` Mark Kettenis
2004-02-23 21:27 ` Joel Brobecker
0 siblings, 1 reply; 4+ messages in thread
From: Mark Kettenis @ 2004-02-23 21:14 UTC (permalink / raw)
To: brobecker; +Cc: gdb-patches
Date: Mon, 23 Feb 2004 12:05:13 -0800
From: Joel Brobecker <brobecker@gnat.com>
Hello,
GDB no longer builds on HP/UX 11.00 since TUI is built in by default.
The obvious work-around is to configure GDB --without-tui.
i386-*-solaris2.9 fails for the same reason. Here the problem is that
the header files are broken when _SYCALL32 is defined. I'm working on
a solution.
The error we get is during the link: the wborder symbol is undefined.
This triggers a question: Which version of curses are we planning on
supporting. For instance, on our machine, we currently have the system
curses library. Do we intend to support the system curses libraries,
or only say ncurses?
HP-UX has several curses libs: Hcurses, Xcurses?
(BTW: it's bizarre to see that 'man wborder' on HP/UX reveals that it
thinks that this function is defined, and then we can even see it
in /usr/include/curses.h - albeit protected by a #ifdef -, but then
the symbol is missing from /usr/lib/libcurses.1... Will have a look,
but I'm not familiar with curses).
It's even more bizarre, since the TUI was contributed by HP.
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [hppa] GDB doesn't build with tui
2004-02-23 21:14 ` Mark Kettenis
@ 2004-02-23 21:27 ` Joel Brobecker
2004-02-23 23:26 ` Joel Brobecker
0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2004-02-23 21:27 UTC (permalink / raw)
To: Mark Kettenis; +Cc: gdb-patches
> GDB no longer builds on HP/UX 11.00 since TUI is built in by default.
> The obvious work-around is to configure GDB --without-tui.
>
> i386-*-solaris2.9 fails for the same reason. Here the problem is that
> the header files are broken when _SYCALL32 is defined. I'm working on
> a solution.
I found the library where the symbol is defined: libcur_colr.sl.
I'm working on a patch as well.
> The error we get is during the link: the wborder symbol is undefined.
>
> This triggers a question: Which version of curses are we planning on
> supporting. For instance, on our machine, we currently have the system
> curses library. Do we intend to support the system curses libraries,
> or only say ncurses?
>
> HP-UX has several curses libs: Hcurses, Xcurses?
It looks like it's using Hcurses.
--
Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [hppa] GDB doesn't build with tui
2004-02-23 21:27 ` Joel Brobecker
@ 2004-02-23 23:26 ` Joel Brobecker
0 siblings, 0 replies; 4+ messages in thread
From: Joel Brobecker @ 2004-02-23 23:26 UTC (permalink / raw)
To: Mark Kettenis; +Cc: gdb-patches
> i386-*-solaris2.9 fails for the same reason. Here the problem is that
> the header files are broken when _SYCALL32 is defined. I'm working on
> a solution.
FYI: I think I got the same error on sparc-solaris 2.8:
<<
In file included from /usr/include/sys/termio.h:13,
from /usr/include/termio.h:13,
from /[...]/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/curses.h:61,
from gdb_curses.h:28,
from tui/tui-data.h:29,
from tui/tui.c:41:
/usr/include/sys/termios.h:381: field `tv' has incomplete type
make[1]: *** [tui.o] Error 1
>>
And termios.h contains:
#if defined(_SYSCALL32)
struct ppsclockev32 {
struct timeval32 tv;
uint32_t serial;
};
#endif /* _SYSCALL32 */
--
Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-23 23:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-23 20:05 [hppa] GDB doesn't build with tui Joel Brobecker
2004-02-23 21:14 ` Mark Kettenis
2004-02-23 21:27 ` Joel Brobecker
2004-02-23 23:26 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox