erro de compilação cooja: msp430 / bin / ld: não é possível localizar -lc

0

Eu atualizei o msp430-gcc para a versão 4.7.0 no InstantContiki2.6.

Quando eu simulo o exemplo hello-world, ele mostra o seguinte erro:


> make hello-world.sky TARGET=sky 
msp430-gcc -DCONTIKI=1 -DCONTIKI_TARGET_SKY=1 -Os -fno-strict-aliasing -ffunction-sections -Wall -mmcu=msp430f1611 -g   -I. -I../../platform/sky/. -I../../platform/sky/dev -I../../platform/sky/apps -I../../platform/sky/net -I../../cpu/msp430/f1xxx -I../../cpu/msp430/. -I../../cpu/msp430/dev -I../../core/dev -I../../core/lib -I../../core/net -I../../core/net/mac -I../../core/net/rime -I../../core/net/rpl -I../../core/sys -I../../core/cfs -I../../core/ctk -I../../core/lib/ctk -I../../core/loader -I../../core/. -I../../platform/sky/ -DAUTOSTART_ENABLE -c hello-world.c -o hello-world.co
msp430-gcc -DCONTIKI=1 -DCONTIKI_TARGET_SKY=1 -Os -fno-strict-aliasing -ffunction-sections -Wall -mmcu=msp430f1611 -g   -I. -I../../platform/sky/. -I../../platform/sky/dev -I../../platform/sky/apps -I../../platform/sky/net -I../../cpu/msp430/f1xxx -I../../cpu/msp430/. -I../../cpu/msp430/dev -I../../core/dev -I../../core/lib -I../../core/net -I../../core/net/mac -I../../core/net/rime -I../../core/net/rpl -I../../core/sys -I../../core/cfs -I../../core/ctk -I../../core/lib/ctk -I../../core/loader -I../../core/. -I../../platform/sky/ -MMD -c ../../platform/sky/./contiki-sky-main.c -o obj_sky/contiki-sky-main.o
msp430-gcc -mmcu=msp430f1611 -Wl,-Map=contiki-sky.map -Wl,--gc-sections,--undefined=_reset_vector__,--undefined=InterruptVectors,--undefined=_copy_data_init__,--undefined=_clear_bss_init__,--undefined=_end_of_init__  hello-world.co obj_sky/contiki-sky-main.o contiki-sky.a  -o hello-world.sky
/usr/local/msp430/lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
rm obj_sky/contiki-sky-main.o hello-world.co
make: *** [hello-world.sky] Error 1
Process returned error code 2

Eu li o post de: msp430 / bin / ld: não é possível encontrar -lc .

Mas Sarwarul não detalha a resposta.

Alguém tem alguma ideia?

    
por Francis 18.07.2013 / 14:56

1 resposta

0

Se você escolher o tipo de mote como mote do céu, isso pode acontecer. Tente abrir este mesmo arquivo como cooja mote e compile, ainda pode funcionar ...

    
por vishal 28.11.2013 / 06:29

Tags