Is tos.h actually in the directory specified?
And are you sure it's not "Program Files" with a space?
If it is with a space it will probably trip you up
since *NIX shell utilities often can't deal with it.
Also see if you have environment variables like this
set to your actual directories:
export TOSROOT=C:/cygwin/opt/tinyos-1.1.7
export TOSDIR=/cygdrive/C/cygwin/opt/tinyos-1.1.7/tos
MS
ankur jain wrote:
Hi all,
I was trying to execute the TracerouteTest app. present in
contrib/hsn/apps directory.I downloaded whole hsn repository fron
tinyos.cvs.sourceforge.net and placed it accordingly in the the contrib
folder.But when i tried to compile that app. for mica2 platform it
thrown some strange error which is as follows:
[TraceRouteTestAODV]$make mica2
mkdir -p build/mica2
compiling TraceRouteTest to a mica2 binary
ncc -o build/mica2/main.exe -Os -tosdir=../../../../tos/ -I.
-I%T/../contrib/hsn
/tos/interfaces -I%T/../contrib/hsn/tos/system
-I%T/../contrib/hsn/tos/lib -I%T/
../contrib/hsn/tos/lib/neighborhood -DDSDV_PERSISTANCE=1
-DDSDV_PASSIVE_ACK=1 -D
CONST_NEIGHBOR_LIST_LEN=5 -DTR_PIGGYBACK_LEN=5 -DDSDV_BI_DIR_QUALITY=1
-DDSDV_PE
RSISTANCE=1 -DDSDV_PASSIVE_ACK=1 -DRUPDATE_RANDOMIZE=1
-DFAST_START_DSDV=1 -DCON
ST_TXRES_VAL=85 -DFAST_START_DSDV=1 -DCONST_PROGVER=55 -DBUILD_DAY=24
-DBUILD_MO
NTH=7 -DBUILD_YEAR=7 -I%T/../contrib/hsn/tos/platform/mica2
-finline-limit=10000
0 -Wall -Wshadow -DDEF_TOS_AM_GROUP=125 -Wnesc-all -target=mica2
-fnesc-cfile=bu
ild/mica2/app.c -board=micasb -DCC1K_DEF_FREQ=916700000 -I%T/lib/Deluge
-DIDENT_
PROGRAM_NAME=\"TraceRouteTest\" -DIDENT_USER_ID=\"Administrator\"
-DIDENT_HOSTNA
ME=\"administrator\" -DIDENT_USER_HASH=0xeada8bc5L
-DIDENT_UNIX_TIME=0x46a58529L
-DIDENT_UID_HASH=0xcded0b7eL TraceRouteTest.nc -lm
cc1: e:\Program
Files\tinyos\UCB\cygwin\opt\tinyos-1.x\contrib\hsn\tos\interfaces\: No
such file or directory
<commandline>: failed to preprocess
e:\ProgramFiles\tinyos\UCB\cygwin\opt\tinyos-1.x\tos\system/tos.h
cc1: e:\Program
Files\tinyos\UCB\cygwin\opt\tinyos-1.x\contrib\hsn\tos\interfaces\: No
such file or directory
<commandline>: failed to preprocess TraceRouteTest.nc
make: *** [exe0] Error 1
I am not able to understand why it isn't finding or able to locate to
the interfaces directory and why it can't preprocess th tos.h file in
the system directory.
Do i need to make certain changes to the application makefile(i.e to
include something) as well as to the MakeHSN file.......???
Kindly somebody help me out as i am stuck due to this error for last one
week and struggling with it..
Thnx in advance
Ankur jain
------------------------------------------------------------------------
Get the freedom to save as many mails as you wish. Click here to know
how.
<http://in.rd.yahoo.com/tagline_mail_5/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/>
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help