GDB configure problem

Xuemei Zhao zhao0043 at infoeng.flinders.edu.au
Thu Oct 28 05:08:55 UTC 2004


Hi,

    I am trying to build GNU tools,
    Can I set the parameter --prefix=/home/multiproc/rtems, instead of 
--prefix=/opt/rtems?
    I met the following error when I configured GDB 5.2. Before that, I 
have succeeded to build gcc and binutil.

gmake[1]: Entering directory `/home/multiproc/tools/b-gdb/gdb'
gcc -c -g -O2  -I/usr/include/v9  -I. -I../../gdb-5.2/gdb 
-I../../gdb-5.2/gdb/config -DHAVE_CONFIG_H 
-I../../gdb-5.2/gdb/../include/opcode -I../../gdb-5.2/gdb/../readline/.. 
-I../bfd -I../../gdb-5.2/gdb/../bfd  -I../../gdb-5.2/gdb/../include 
-I../intl -I../../gdb-5.2/gdb/../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit 
-Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith 
-Wuninitialized  ../../gdb-5.2/gdb/ser-unix.c
In file included from /usr/include/netinet/in.h:41,
                  from /usr/include/sys/socket.h:203,
                  from ../../gdb-5.2/gdb/ser-unix.c:29:
/usr/include/sys/stream.h:330: redefinition of `struct bcache'
gmake[1]: *** [ser-unix.o] Error 1
gmake[1]: Leaving directory `/home/multiproc/tools/b-gdb/gdb'
gmake: *** [all-gdb] Error 2

     what's the problem? How can I solve it?
     Any idea?
     Thanka a lot.

May





More information about the users mailing list