bug-gdb
[Top][All Lists]
Advanced

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

build problems for gdb-6.3 on hppa2.0w-hp-hpux11.11


From: Ulrich Windl
Subject: build problems for gdb-6.3 on hppa2.0w-hp-hpux11.11
Date: Fri, 18 Mar 2005 09:24:28 +0100

Maybe you'd like to know about some build problems for gdb6-3 on HP-UX 11.11 
(11i 
v1):

...
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wtraditional -peda\
ntic ./regex.c -o regex.o
In file included from ./../include/xregex.h:26,
                 from ./regex.c:197:
./../include/xregex2.h:548: warning: ISO C90 does not support `static' or type \
qualifiers in parameter array declarators
In file included from ./regex.c:651:
./regex.c: In function `byte_compile_range':
./regex.c:4550: warning: signed and unsigned type in conditional expression
./regex.c:4560: warning: signed and unsigned type in conditional expression
./regex.c:4560: warning: signed and unsigned type in conditional expression
...
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wtraditional -peda\
ntic ./concat.c -o concat.o
./concat.c: In function `concat_length':
./concat.c:112: warning: traditional C rejects ISO C style function definitions
./concat.c: In function `concat_copy':
./concat.c:127: warning: traditional C rejects ISO C style function definitions
./concat.c: In function `concat_copy2':
./concat.c:146: warning: traditional C rejects ISO C style function definitions
./concat.c: In function `concat':
./concat.c:157: warning: traditional C rejects ISO C style function definitions
./concat.c: In function `reconcat':
./concat.c:194: warning: traditional C rejects ISO C style function definitions
...
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wtraditional -peda\
ntic ./asprintf.c -o asprintf.o
./asprintf.c: In function `asprintf':
./asprintf.c:49: warning: traditional C rejects ISO C style function definitions
...
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DHOST_HPPAHPUX -D_LARGEFILE64_SO\
URCE -DHPUX_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict\
-prototypes -Wmissing-prototypes -g -O2 -c bfd.c -o bfd.o
In file included from bfd.c:209:
./../include/libiberty.h:80: warning: function declaration isn't a prototype
...

For Readline:
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"4.3"' -g -O2  bind.c
bind.c: In function `rl_function_of_keyseq':
bind.c:584: warning: comparison is always true due to limited range of data type
...
For gdb:
gcc -c -g -O2   -Dvfork=fork  -I. -I. -I./config -DLOCALEDIR="\"/usr/local/shar\
e/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 -Wuni\
nitialized -Wformat-nonliteral -Wunused-label -Wunused-function  hppa-hpux-tdep\
.c
hppa-hpux-tdep.c: In function `hppa_hpux_push_dummy_code':
hppa-hpux-tdep.c:1381: warning: passing arg 1 of pointer to function makes poin\
ter from integer without a cast
...
gcc -c -g -O2   -Dvfork=fork  -I. -I. -I./config -DLOCALEDIR="\"/usr/local/shar\
e/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 -Wuni\
nitialized -Wformat-nonliteral -Wunused-label -Wunused-function  infttrace.c
infttrace.c: In function `get_raw_pc':
infttrace.c:401: warning: implicit declaration of function `read_from_register_\
save_state'
infttrace.c: In function `map_to_gdb_tid':
infttrace.c:814: warning: suggest explicit braces to avoid ambiguous `else'
infttrace.c: In function `get_process_first_stopped_thread_id':
infttrace.c:1372: warning: cast from pointer to integer of different size
infttrace.c: In function `get_process_next_stopped_thread_id':
infttrace.c:1421: warning: cast from pointer to integer of different size
infttrace.c: In function `write_protect_page':
infttrace.c:2396: warning: cast from pointer to integer of different size
infttrace.c: In function `require_notification_of_events':
infttrace.c:3036: warning: cast from pointer to integer of different size
infttrace.c: In function `require_notification_of_exec_events':
...[many more]...
gcc -c -g -O2   -Dvfork=fork  -I. -I. -I./config -DLOCALEDIR="\"/usr/local/shar\
e/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 -Wuni\
nitialized -Wformat-nonliteral -Wunused-label -Wunused-function  ./tui/tui.c
In file included from ./tui/tui.c:48:
/usr/include/term.h:49: error: conflicting types for 'chtype'
/usr/local/include/ncurses/ncurses.h:80: error: previous declaration of 'chtype\
' was here
/usr/include/term.h:55: error: conflicting types for 'NCURSES_BOOL'
/usr/local/include/ncurses/ncurses.h:107: error: previous declaration of 'NCURS\
ES_BOOL' was here
/usr/include/term.h:64: error: conflicting types for 'attr_t'
/usr/local/include/ncurses/ncurses.h:271: error: previous declaration of 'attr_\
t' was here
...
/usr/include/term.h:1217: error: conflicting types for 'tparm'
/usr/local/include/ncurses/ncurses.h:658: error: previous declaration of 'tparm\
' was here
gmake[1]: *** [tui.o] Error 1
gmake[1]: Leaving directory `/home/windl/GNU/gdb-6.3/gdb'
gmake: *** [all-gdb] Error 2


Examples for source:
/usr/include/term.h:
#ifndef _CHTYPE_DEFINED
#       define _CHTYPE_DEFINED
typedef uint32_t chtype;
#endif /* _CHTYPE_DEFINED */

/usr/local/include/ncurses/ncurses.h:
#undef  NCURSES_CH_T
#define NCURSES_CH_T chtype

typedef unsigned long chtype;

#include <stdio.h>





reply via email to

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