Hi all - 

        I'm trying to build gdb 6.0 with the m68k-bdm patches.  Walking 
through the readme file, I got the bdm-chk program to work with the PE 
debugger, but I am getting errors when I try to compile gdb itself.

        I'm using Fedora Core 6, which has gcc 4.1.2.

The error that I am getting is:


make[1]: Entering directory `/opt/gdb60-build/gdb'
gcc -c -g -O2    -I. -I../../gdb-6.0/gdb -I../../gdb-6.0/gdb/config 
-DLOCALEDIR="\"/opt/m68k-bdm/share/locale\"" -DHAVE_CONFIG_H 
-I../../gdb-6.0/gdb/../include/opcode -I../../gdb-6.0/gdb/../readline/.. 
-I../bfd -I../../gdb-6.0/gdb/../bfd  -I../../gdb-6.0/gdb/../include 
-I../intl -I../../gdb-6.0/gdb/../intl  -DMI_OUT=1 -Wimplicit -Wreturn-type 
-Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith 
-Wuninitialized  ../../gdb-6.0/gdb/gdbtypes.c
../../gdb-6.0/gdb/gdbtypes.c: In function ?recursive_dump_type?:
../../gdb-6.0/gdb/gdbtypes.c:3059: error: invalid lvalue in increment
make[1]: *** [gdbtypes.o] Error 1
make[1]: Leaving directory `/opt/gdb60-build/gdb'
make: *** [all-gdb] Error 2

I read from google that one cannot compile gdb with gcc 4 and up.  Is this 
true???

Any help would be appreciated.

Thanks
Mark
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to