Hi,

I am trying to use intel imote for the first time.

I am trying to make Blink.(on Windows XP, RVDS
Evaluation CD v2.1
for linking to ARM, tinyOS v 1.1.11  )

1. Where is the best place to ask for help?
2. Where can I obtain make files that have worked.

I get Error
Fatal error: X0000U: Unrecognized option '-armlib'.
Finished: 0 information, 0 warning, 0 error and 1
fatal error messages.
make: *** [build/imote/main.exe] Error 1

I am attaching my part of makerules file and error
messages below.

Part of makefile using -armlib option is

$(MAIN_EXE): $(BUILDDIR) $(BUILD_EXTRA_DEPS) FORCE
        @echo "    compiling $(COMPONENT) to a $(PLATFORM)
binary"
ifeq ($(PLATFORM),imote)
        $(NCC) -c -fshort-enums -mstructure-size-boundary=8
-mthumb-interwork -mcpu=arm7tdmi -o $(MAIN_EXE).o
$(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc
$(LIBS) $(LDFLAGS)
# This works
        $(LD) -symdefs tmp.o -o $(MAIN_EXE) -remove
"(zi/dbg)" -armlib -scatter
$(IMOTE_LIB_DIR_ADS)/ScatterFile.txt -map -list
fred.txt $(IMOTE_LIB_DIR_ADS)/Dfu_JumpTbl.sym
$(IMOTE_LIB_DIR_ADS)/RM_Rom1.sym
$(IMOTE_LIB_DIR_ADS)/RM_Rom2.sym
$(IMOTE_LIB_DIR_ADS)/SU_PatchVects.sym
$(IMOTE_LIB_DIR_ADS)/SU_FlashBoot.o
$(IMOTE_LIB_DIR_ADS)/motelib.a
$(IMOTE_LIB_DIR_ADS)/GCCStub.o $(MAIN_EXE).o
$(LIBGCC_DIR)/libgcc.a

else
        $(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS)
$(COMPONENT).nc $(LIBS) $(LDFLAGS)
endif
        @echo "    compiled $(COMPONENT) to $@"
        @objdump -h $(MAIN_EXE) | perl -ne '$$b{$$1}=hex $$2
if /^\s*\d+\s*\.(text|data|bss)\s+(\S+)/; END {
printf("%16d bytes in ROM\n%16d bytes in
RAM\n",$$b{text}+$$b{data},$$b{bss}); }'

*********************************
ACTUAL SCRIPT AND ERROR MESSAGE
*********************************

$ make install imote
    compiling Blink to a imote binary
ncc -c -fshort-enums -mstructure-size-boundary=8
-mthumb-interwork -mcpu=arm7tdm
i -o build/imote/main.exe.o -Os -board=imotesb
-target=imote  -Wall -Wshadow -DD
EF_TOS_AM_GROUP=0x7d -Wnesc-all
-I/opt/tinyos-1.x/beta/platform/imote -I/opt/tin
yos-1.x/beta/platform/imote/imotelib
-I/usr/local/include/ -finline-limit=100000
 -fnesc-cfile=build/imote/app.c -DTINY_OS
-I/opt/tinyos-1.x/beta/platform/imote/
zeevo1.2/\ChipBase/\BlueOS
-I/opt/tinyos-1.x/beta/platform/imote/zeevo1.2/\ChipB
ase/\Common
-I/opt/tinyos-1.x/beta/platform/imote/zeevo1.2/\ChipBase/\StartUp
-I
/opt/tinyos-1.x/beta/platform/imote/zeevo1.2/\ChipBase/\TargetManager
-I/opt/tin
yos-1.x/beta/platform/imote/zeevo1.2/\ChipBase/\TargetSupervisor
-I/opt/tinyos-1
.x/beta/platform/imote/zeevo1.2/\ChipBase/\Utilities
-I/opt/tinyos-1.x/beta/plat
form/imote/zeevo1.2/\BTLLStack/\LinkManager
-I/opt/tinyos-1.x/beta/platform/imot
e/zeevo1.2/\BTLLStack/\LinkManager
-I/opt/tinyos-1.x/beta/platform/imote/zeevo1.
2/\LMU
-I/opt/tinyos-1.x/beta/platform/imote/zeevo1.2/\ULS
-I/opt/tinyos-1.x/bet
a/platform/imote/zeevo1.2/\HCI
-I/opt/tinyos-1.x/beta/platform/imote/zeevo1.2/\C
ountLED  Blink.nc -lm
arm-thumb-elf-gcc: -lm: linker input file unused
because linking not done
/cygdrive/c/Program\
Files/ARM/RVCT/Programs/2.1/350/eval2-sc/win_32-pentium/arm
link -symdefs tmp.o -o build/imote/main.exe -remove
"(zi/dbg)" -armlib -scatter
/cygdrive/c/Program\
Files/UCB/cygwin//opt/tinyos-1.x/beta/platform/imote/imotel
ib/ScatterFile.txt -map -list fred.txt
/cygdrive/c/Program\ Files/UCB/cygwin//op
t/tinyos-1.x/beta/platform/imote/imotelib/Dfu_JumpTbl.sym
/cygdrive/c/Program\ F
iles/UCB/cygwin//opt/tinyos-1.x/beta/platform/imote/imotelib/RM_Rom1.sym
/cygdri
ve/c/Program\
Files/UCB/cygwin//opt/tinyos-1.x/beta/platform/imote/imotelib/RM_R
om2.sym /cygdrive/c/Program\
Files/UCB/cygwin//opt/tinyos-1.x/beta/platform/imot
e/imotelib/SU_PatchVects.sym /cygdrive/c/Program\
Files/UCB/cygwin//opt/tinyos-1
.x/beta/platform/imote/imotelib/SU_FlashBoot.o
/cygdrive/c/Program\ Files/UCB/cy
gwin//opt/tinyos-1.x/beta/platform/imote/imotelib/motelib.a
/cygdrive/c/Program\

Files/UCB/cygwin//opt/tinyos-1.x/beta/platform/imote/imotelib/GCCStub.o
build/i
mote/main.exe.o /cygdrive/c/Program\
Files/UCB/cygwin//opt/tinyos-1.x/beta/platf
orm/imote/libgcc/libgcc.a
Licence found.
Your trial started at: Thu Jan 26 00:00:00 2006
Your trial will end at: Sun Mar 12 23:59:59 2006
Fatal error: X0000U: Unrecognized option '-armlib'.
Finished: 0 information, 0 warning, 0 error and 1
fatal error messages.
make: *** [build/imote/main.exe] Error 1

thanking you,




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to