Hi,
I tried installing GDB-4.18 on IBM machine 
i.e
rem1ap51:/xalocal/home/xausr2> uname -a
AIX rem1ap51 3 4 004555984C00

I got the following error during 
make

rem1ap51:/xalocal/home/xa21/gdb-4.18>./configure

/* gone through with out error */

rem1ap51:/xalocal/home/xa21/gdb-4.18>make
...
...
Target "all" is up to date.
        xaxlc -c -g -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1
-DHAVE_LIMITS_H=1 -DHAVE_STDDEF_H=1  -I. -I./../include ./mm.c
"./sbrk-sup.c", line 27.8: 1506-343 (S) Redeclaration of sbrk differs from
previous declaration on line 586 of "/usr/include/unistd.h".
"./sbrk-sup.c", line 27.8: 1506-377 (I) The type "int" of parameter 1
differs from the previous type "long".
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.

Could you please guide me what to do to get rid of this error and install
gdb successfully.

Thanks
Srinivas

Reply via email to