GDB configure problem
zhao0043 at infoeng.flinders.edu.au
Fri Oct 29 00:26:09 UTC 2004
Hi, joel. Thanks a lot for your reply.
My host system is solaris 2.9 on sparc.
Two definitions of struct bcache are in /usr/include/sys/stream.h:330 and
How can I solve this problem?
At 06:27 AM 28/10/2004 -0500, you wrote:
>Xuemei Zhao wrote:
>> I am trying to build GNU tools,
>> Can I set the parameter --prefix=/home/multiproc/rtems, instead of
>> I met the following error when I configured GDB 5.2. Before that, I
>> have succeeded to build gcc and binutil.
>Changing the prefix is perfectly OK and should have absolutely nothing to
>do with this problem.
>What host are you on?
>Where are the two definitions of struct bcache?
>>gmake: Entering directory `/home/multiproc/tools/b-gdb/gdb'
>>gcc -c -g -O2 -I/usr/include/v9 -I. -I../../gdb-5.2/gdb
>>-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: *** [ser-unix.o] Error 1
>>gmake: 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.
>Joel Sherrill, Ph.D. Director of Research & Development
>joel at OARcorp.com On-Line Applications Research
>Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
School of Informatics and Engineering
Adelaide 5042, S.A.
Home Phone: (08) 8291 6361
Office Phone: (08) 8201 5158
More information about the users