Hi
I have problems with tinyos-1.x and imote2. I found this post
http://www.mail-archive.com/[email protected]/msg19542.html
and my problem is the same. I followed the same steps, at
http://www.eecs.harvard.edu/~konrad/projects/imote2Camera/IMote2-Installation-Instructions.html.
My enviroment is
#uname -a
Linux xubuntu-tos 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
GNU/Linux
#xscale-elf-gcc -v
Leyendo especificaciones de /usr/lib/gcc/xscale-elf/3.4.3/specs
Configurado con: ../configure --target=xscale-elf --prefix=/usr --with-gnu-as
--with-gnu-ld --enable-languages=c
Modelo de hilos: single
gcc versión 3.4.3
The version isn't 3.4.4 as the instruccions, but I think the problem isn't it.
I don't know what to do.
I compile Blink with
#make imote2
and the report messages are
mkdir -p build/imote2
xscale-elf-as -mcpu=iwmmxt -mfpu=softfpa -defsym BOOTLOADER=1
/opt/tinyos-1.x/tos/platform/pxa27x/../imote2/flash.s
/opt/tinyos-1.x/tos/platform/pxa27x/../imote2/binarymover.s
/opt/tinyos-1.x/tos/platform/pxa27x/barecrt.s
/opt/tinyos-1.x/tos/platform/pxa27x/mmu_table.s
/opt/tinyos-1.x/tos/platform/pxa27x/util.s -o build/imote2/asms.o
cd /opt/tinyos-1.x/tos/platform/pxa27x/lib; make;
make[1]: Entering directory `/opt/tinyos-1.x/beta/platform/pxa27x/lib'
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o bufferManagement.o
bufferManagement.c
In file included from bufferManagement.c:2:
assert.h:8: aviso: se ignora la directiva de atributo `C'
In file included from bufferManagement.c:4:
systemUtil.h:28: aviso: se ignora la directiva de atributo `C'
systemUtil.h:28: aviso: se ignora la directiva de atributo `spontaneous'
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o downsample.o downsample.c
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o frequency.o frequency.c
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o paramtask.o paramtask.c
In file included from paramtask.c:4:
systemUtil.h:28: aviso: se ignora la directiva de atributo `C'
systemUtil.h:28: aviso: se ignora la directiva de atributo `spontaneous'
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o profile.o profile.c
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o queue.o queue.c
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o systemUtil.o systemUtil.c
In file included from systemUtil.c:2:
systemUtil.h:28: aviso: se ignora la directiva de atributo `C'
systemUtil.h:28: aviso: se ignora la directiva de atributo `spontaneous'
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o utils.o utils.c
xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP
-I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o wmmx.o wmmx.c
xscale-elf-ar -rvs libimote2.a bufferManagement.o downsample.o frequency.o
paramtask.o profile.o queue.o systemUtil.o utils.o wmmx.o
r - bufferManagement.o
r - downsample.o
r - frequency.o
r - paramtask.o
r - profile.o
r - queue.o
r - systemUtil.o
r - utils.o
r - wmmx.o
make[1]: Leaving directory `/opt/tinyos-1.x/beta/platform/pxa27x/lib'
compiling Blink to a imote2 binary
ncc -o build/imote2/main.exe -O1 -g -I/opt/tinyos-1.x/tos/lib/CC2420Radio
-I/opt/tinyos-1.x/tos/lib/Flash -DAUTO_BATTERY_MONITORING=1 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=imote2
-fnesc-cfile=build/imote2/app.c -board= -DBOOTLOADER
-DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"drodenas\"
-DIDENT_HOSTNAME=\"drodenasPC\" -DIDENT_USER_HASH=0xfeea6a95L
-DIDENT_UNIX_TIME=0x49efb093L -DIDENT_UID_HASH=0x54910eabL Blink.nc -lm
build/imote2/asms.o /opt/tinyos-1.x/tos/platform/pxa27x/lib/libimote2.a
In file included from /opt/tinyos-1.x/tos/system/Main.nc:49,
from Blink.nc:42:
In component `PotC':
/opt/tinyos-1.x/tos/system/PotC.nc:90: component HPLPotC not found
/opt/tinyos-1.x/tos/system/PotC.nc:93: no match
In file included from Blink.nc:42:
In component `Main':
/opt/tinyos-1.x/tos/system/Main.nc:49: component HPLInit not found
/opt/tinyos-1.x/tos/system/Main.nc:52: no match
In file included from /opt/tinyos-1.x/tos/system/TimerC.nc:57,
from SingleTimer.nc:52,
from Blink.nc:42:
In component `ClockC':
/opt/tinyos-1.x/tos/system/ClockC.nc:51: component HPLClock not found
/opt/tinyos-1.x/tos/system/ClockC.nc:53: no match
/opt/tinyos-1.x/tos/system/ClockC.nc:54: no match
In file included from SingleTimer.nc:52,
from Blink.nc:42:
In component `TimerC':
/opt/tinyos-1.x/tos/system/TimerC.nc:57: component HPLPowerManagementM not found
/opt/tinyos-1.x/tos/system/TimerC.nc:61: no match
make: *** [exe0] Error 1
Thanks
_________________________________________________________________
Más rápido, sencillo y seguro. Descárgate ya el nuevo Internet Explorer 8 ¡Es
gratis!
http://www.vivelive.com/ie8 _______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help