This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cannot compile gdb-6.0 on HP-UX 11.11 - make fails


Hi,
I would like to build gdb 6.0 with gcc 3.2.3.

Configure command:
./configure --prefix=/u/9000/785/B.11.11/gdb-6.0 --disable-nls --enable-gcc


1/ I get the following compiler error with gcc-3.2.3:
gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"4.3"' -g -O2 vi_mode.c
vi_mode.c: In function `_rl_vi_change_mbchar_case':
vi_mode.c:691: `mbrtowc' undeclared (first use in this function)
vi_mode.c:691: (Each undeclared identifier is reported only once
vi_mode.c:691: for each function it appears in.)
make[1]: *** [vi_mode.o] Error 1
make[1]: Leaving directory `/tmp_mnt/free/GNU_BUILD/G1/devenv/build_src/9000/785/B.11.11/gdb-6.0/readline'


2/ I get the following compiler error with HP vendor compiler:
cc -Wp,-H256000 -c -g -D__HP_CURSES -Dvfork=fork -I. -I. -I./config -DLOCALEDIR="\"/free/GNU_BUILD/G1/devenv/distrib/9000/785/B.11.11/gdb-6.0/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 somsolib.c
cc: "somsolib.c", line 1071: error 1502: Array size must be a constant expression.
make[1]: *** [somsolib.o] Error 1
make[1]: Leaving directory `/tmp_mnt/free/GNU_BUILD/G1/devenv/build_src/9000/785/B.11.11/gdb-6.0/gdb'



Could you help me? Thanks,

--
Philippe Scelers


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]