This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1816: gdb 6.3 does not compile with gcc-3.4.3 on Linux.
- From: tomdkat at comcast dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 21 Nov 2004 22:36:10 -0000
- Subject: build/1816: gdb 6.3 does not compile with gcc-3.4.3 on Linux.
- Reply-to: tomdkat at comcast dot net
>Number: 1816
>Category: build
>Synopsis: gdb 6.3 does not compile with gcc-3.4.3 on Linux.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Nov 21 22:38:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: tomdkat@comcast.net
>Release: gdb-6.3
>Organization:
>Environment:
OS: Linux c71414-a 2.6.8.1 #1 Wed Sep 22 20:23:47 PDT 2004 i686 unknown
gcc: Configured with: ../configure --prefix=/usr --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3
gdb configuration:
./configure --prefix=/usr
glibc: 2.3.2
>Description:
gdb 6.3 does not compile with this error:
gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ./tui/tui-command.c
In file included from /usr/include/ncurses/ncurses.h:77,
from ./gdb_curses.h:26,
from ./tui/tui-data.h:29,
from ./tui/tui-command.c:28:
/usr/include/unctrl.h:57: error: parse error before "unctrl"
make[1]: *** [tui-command.o] Error 1
make[1]: Leaving directory `/build/gdb-6.3/gdb'
make: *** [all-gdb] Error 2
real 25m16.982s
user 9m32.567s
sys 1m39.603s
tom@c71414-a:~/build/gdb-6.3$
ncurses 5.4 is installed on the system.
>How-To-Repeat:
Compile gdb 6.3 on a Linux 2.6 system with gcc-3.4.3 and ncurses 5.4 installed.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: