make TARGET=sky
에있는 오류를 제거하려면 어떻게합니까?구성 msp430-unknown-none 지원되지 않음
ERROR 1 : (.text
은 지역 rom
에 적합하지 않습니다)
1.c: At top level:
1.c:14:57: warning: ‘last_informer’ defined but not used [-Wunused-variable]
/usr/lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: 1.sky section `.text' will not fit in region `rom'
/usr/lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: section .vectors loaded at [000000000000ffe0,000000000000ffff] overlaps section .text loaded at [0000000000004000,00000000000110eb]
/usr/lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region `rom' overflowed by 6342 bytes
/usr/lib/gcc/msp430/4.6.3/mmpy-16/libcrt0.a(_copy_data.o): In function `__do_copy_data':
/build/buildd/gcc-msp430-4.6.3~mspgcc-20120406/./gcc-4.6.3/gcc/config/msp430/crt0.S:195: relocation truncated to fit: R_MSP430_16_BYTE against symbol `__data_load_start' defined in *ABS* section in 1.sky
obj_sky/contiki-sky-main.o: In function `main':
contiki-sky-main.c:(.init9+0x76): relocation truncated to fit: R_MSP430_16 against symbol `memset' defined in .text section in /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(memset.o)
contiki-sky-main.c:(.init9+0x82): relocation truncated to fit: R_MSP430_16 against symbol `memcpy' defined in .text section in /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(memcpy.o)
contiki-sky-main.c:(.init9+0x8c): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
contiki-sky-main.c:(.init9+0x90): relocation truncated to fit: R_MSP430_16 against symbol `printf' defined in .text section in /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(printf.o)
contiki-sky-main.c:(.init9+0xa0): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
contiki-sky-main.c:(.init9+0xa4): relocation truncated to fit: R_MSP430_16 against symbol `printf' defined in .text section in /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(printf.o)
contiki-sky-main.c:(.init9+0xb8): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
contiki-sky-main.c:(.init9+0xbc): relocation truncated to fit: R_MSP430_16 against symbol `printf' defined in .text section in /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(printf.o)
contiki-sky-main.c:(.init9+0xd8): relocation truncated to fit: R_MSP430_16 against symbol `memset' defined in .text section in /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(memset.o)
contiki-sky-main.c:(.init9+0x116): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make: *** [1.sky] Error 1
메이크 :
dINES+=PROJECT_CONF_H=\"project-conf.h\"
CONTIKI_PROJECT = 1 2
LIBS += node-id
all: $(CONTIKI_PROJECT)
CONTIKI = ../..
WITH_UIP6=1
UIP_CONF_IPV6=1
CFLAGS+= -DUIP_CONF_IPV6_RPL -DUIP_CONF_IPV6 -DWITH_UIP6
TARGET_LIBFILES+=-lm
ifdef PERIOD
CFLAGS=-DPERIOD=$(PERIOD)
endif
include $(CONTIKI)/Makefile.include
내가 mspgcc 버전 4.6.3을 사용하고 있습니다. 일부 사이트에서는 mspgcc 버전 4.7을 사용하여 ERROR 1
을 제거 할 것을 제안했습니다.
ERROR : 2 : (구성 MSP430 - 알 - 아무도는 지원되지 않습니다)
checking whether times is declared... yes
checking whether sigaltstack is declared... yes
checking whether madvise is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking if mkdir takes one argument... no
*** Configuration msp430-unknown-none not supported
make[1]: *** [configure-gcc] Error 1
make[1]: Leaving directory `/home/taare/tmp/gcc-4.7.0-msp430'
이 점점 mspgcc 올바른 방법을 업데이트하려고했다 https://github.com/contiki-os/contiki/wiki/MSP430X의 지시에 따라하는 동안
나는 다음과 같은 오류가 발생했습니다ERROR 1
을 제거 하시겠습니까?
예인 경우 ERROR 2
은 어떻게 해결합니까?
아니요, 아니요, 어떻게하면 ERROR 1
을 해결할 수 있습니까?
현재 MSP430 4.6을 얻을 수 있습니다. http://simonduq.github.io/resources/mspgcc-4.7.2-compiled. tar.bz2 – kfx
문제 해결에 도움이되지 않을 것입니다. 플래시 공간이 6342 바이트입니다. 스카이 빌딩을 위해 무엇을 만들 수있는 방법은 없습니다. 다른 msp430 플랫폼을 선택하십시오. – kfx
감사합니다. 다른 msp430 플랫폼은 무엇입니까? 또는 메모리 제약 조건을 충족시키기 위해 기본적으로 프로그램을 실행해야합니까? –