Hi, When I try to compile msp430-gdb I keep getting this error on gdbtypes.c 

gcc -c -march=i686 -O2 -pipe    -I. -I. -I./config
-DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
-I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl 
-DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparentheses -Wpointer-arith -Wuninitialized  arch-utils.c
gcc -c -march=i686 -O2 -pipe    -I. -I. -I./config
-DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
-I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl 
-DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparentheses -Wpointer-arith -Wuninitialized  gdbtypes.c
gdbtypes.c: In function ‘recursive_dump_type’:
gdbtypes.c:3059: error: invalid lvalue in increment
make[1]: *** [gdbtypes.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/dev-embedded/msp430-gdb-6.0/work/gdb-6.0/gdb'
make: *** [all-gdb] Error 2


And this line only has this: 

3054               printf_filtered (" <same as already seen type>\n");
3055               return;
3056             }
3057         }
3058 
3059       obstack_ptr_grow (&dont_print_type_obstack, type);
3060     }
3061 
3062   printfi_filtered (spaces, "type node ");

Any advise to solve the problem? 
-- 
View this message in context: 
http://www.nabble.com/Compile-msp430-gdb-tp17583012p17583012.html
Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.


Reply via email to