J'ai installé avec succès le compilateur msp430-gcc 4.7.0. Le compilateur à la étape finale du processus de liaison il me montre l'erreur suivante pour Ubuntu 12.04.
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
/opt/mspgccx/lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make: *** [hello-world.sky] Error 1
J'ai étendu mon chemin de recherche car msp430-gcc 4.7 était installé sous /opt
à l'adresse ~/.bashrc
pour inclure le /opt
les répertoires.
msp430-gcc --version
msp430-gcc (GCC) 4.7.0 20120322 (mspgcc dev 20120911)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
mswarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
msp430-ld -version
GNU ld (GNU Binutils) 2.22 (mspgcc dev 20120911)
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later
version.
This program has absolutely no warranty.
$ gcc -v
Using built-in specs.
could not find specs file msp430mcu.spec
COLLECT_GCC=gcc
Target: msp430
Configured with: ../gcc-4.7.0/configure --target=msp430
--enable-languages=c --program-prefix=msp430- --prefix=/opt/mspgccx
Thread model: single
gcc version 4.7.0 20120322 (mspgcc dev 20120911) (GCC)
$ld -v
GNU ld (GNU Binutils for Ubuntu) 2.22
uname -a
Linux px 3.5.0-32-generic #53~precise1-Ubuntu SMP Wed May 29 20:35:31 UTC 2013 i686 i686 i386 GNU/Linux
J'ai essayé :
sudo apt-get install libcv-dev libcvaux-dev libhighgui-dev
sudo apt-get install glibc-static
sudo apt-get install build-essential
sudo apt-get update && sudo apt-get install libc6-dev
Des suggestions ?