Gast
#367850
Ich versuche die MSP430 GCC / GDB Toolchain unter Suse Linux 10.1 zu generieren. Dafür verwende ich das Script http://random.linux-site.net/files/mspgcc/build_mspgcc.sh in der aktuellen Version. Es hatte bisher gut funktioniert ( Suse 9.3 ). binutils, gcc und msp430-libc werden compiliert und installiert. Beim Übersetzen von gdb bekomme ich nun folgenden Fehler, den ich mir momentan nicht erklären kann. Es liegt nicht am script, wenn ich gdb nach Anleitung compiliere, bricht das makefile mit der gleichen Fehlermeldung ab. Hat jemand eine Idee was fehlt oder sogar eine Lösung? als root # # ./build_mspgcc.sh <username> ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~ gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/msp430/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 arch-utils.c: In function legacy_extract_return_value: arch-utils.c:59: warning: pointer targets in passing argument 4 of gdbarch_deprecated_extract_return_value differ in signedness arch-utils.c: In function legacy_store_return_value: arch-utils.c:71: warning: pointer targets in passing argument 3 of gdbarch_deprecated_store_return_value differ in signedness gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/msp430/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] Fehler 1 make[1]: Leaving directory `/tmp/mspgcc/gdb-6.0/gdb' make: *** [all-gdb] Fehler 2