Hi All,
I am trying to generate docs but it is not working, I checked past
postings and I tried what they suggested as suggestion but also it didn't
work (like adding (-fnesc-topdir=/cygdrive/C/tinyos/cygwin/opt/tinyos-1.x
or -nesc-topdir=/cygdrive/C/tinyos/cygwin/opt/tinyos-1.x
or -topdir=/cygdrive/C/tinyos/cygwin/opt/tinyos-1.x )
The error I am getting is the following:
"
[EMAIL PROTECTED] /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/Blink
$ make mica2 docs
Making documentation for Blink on mica2
nesdoc /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/doc/nesdoc/mica2
-fnesc-is-app
-finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all
-target=
mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
-DIDENT_PROGRAM_NAME="Blink"
-DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107,0"
-DIDENT_USER_HASH=0xd6e60454L
-DIDENT_UNIX_TIME=0x4509be80L Blink.nc
nesc1: ERROR: The current directory is not a subdir of one
nesc1: of the source topdirs! Please correct or add
nesc1: the -nesc-topdir= options
nesc1:
nesc1: CWD: /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/Blink
nesc1:
nesc1: TOPDIRS:
nesc1: /opt/tinyos-1.x
make: *** [docs_] Error 1"
Note: I am using TinyOS 1.1.10 and Mica2 sensor node.
Thanks in advance,
Julia.
> Here are some past postings on this issue.
> https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2003-December
> /002663.html
> https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-November
> /006493.html
>
> If that doesn't help, please try posting your problem to TinyOS users
> communit at [email protected] and see if someone with
> similar experience in the past can help.
>
> Regards,
> Giri
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 13, 2006 1:13 PM
> To: Giri Baleri
> Subject: RE: Case Response for Case# 00002098
>
> The output from the command "rpm -qa" is:
> "
> [EMAIL PROTECTED] /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBase
> $ rpm -qa
> avr-libc-20030512cvs-1w
> avarice-2.0.20030825cvs-1w
> nesc-1.1-1w
> tinyos-contrib-1.1.0-1
> tinyos-1.1.10Jan2005cvs-1
> avr-binutils-2.13.2.1-1w
> avr-gcc-3.3tinyos-1w
> avr-insight-pre6.0cvs.tinyos-1w
> tinyos-tools-1.1.0-1
> task-tinydb-1.1.0-1
> tinyos-vm-1.1.0-1"
>
> "
> [EMAIL PROTECTED]
> /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/apps/Blink
> $ make mica2 docs
> Making documentation for Blink on mica2 nesdoc
> /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/doc/nesdoc/mica2
> -f nesc-is-app -I%T/../contrib/xbow/tos/platform/mica2
> -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=125 -Wnesc-all
> -target=mica2 -fnesc-cfile=build/mic a2/app.c -board=micasb
> -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00
> -DRADIO_XMIT
> _POWER=0xFF -DCC2420_TXPOWER=TXPOWER_MAX -DCC2420_DEF_CHANNEL=26
> -DIDENT_PROGRAM _NAME="Blink"
> -DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107,0"
> -DIDENT_USER_HAS
> H=0xd6e60454L -DIDENT_UNIX_TIME=0x4508661bL Blink.nc
> nesc1: ERROR: The current directory is not a subdir of one
> nesc1: of the source topdirs! Please correct or add
> nesc1: the -nesc-topdir= options
> nesc1:
> nesc1: CWD:
> /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/apps/Blink
> nesc1:
> nesc1: TOPDIRS:
> nesc1: /opt/tinyos-1.x
> make: *** [docs_] Error 1"
>
> Thanks in advance,
>
> Julia.
>
>
>> I mis-typed, can you send me the output from "rpm -qa" command in
>> Cygwin?
>>
>> If you issue "make mica2 docs" from /contrib/xbow/apps/Blink folder,
>> do you get a valid doc generation?
>>
>> Regards,
>> Giri
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, September 12, 2006 5:52 PM
>> To: Giri Baleri
>> Subject: Re: Case Response for Case# 00002098
>>
>> I am using TinyOS 1.1.10 and mica2 sensor node (915 Mhz)
>>
>> When I type make mica2 docs I get:
>> "$ make mica2 docs
>> Making documentation for TOSBase on mica2 nesdoc
>> /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/doc/nesdoc/mica2
>> -fnesc-is-app
>> -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
>> -Wnesc-all -target=
>> mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
>> -DIDENT_PROGRAM_NAME="TOSBase "
>> -DIDENT_PROGRAM_NAME_BYTES="84,79,83,66,97,115,101,0"
>> -DIDENT_USER_HASH=0xd6e6
>> 0454L -DIDENT_UNIX_TIME=0x4507553fL TOSBase.nc
>> nesc1: ERROR: The current directory is not a subdir of one
>> nesc1: of the source topdirs! Please correct or add
>> nesc1: the -nesc-topdir= options
>> nesc1:
>> nesc1: CWD: /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBase
>> nesc1:
>> nesc1: TOPDIRS:
>> nesc1: /opt/tinyos-1.x
>> make: *** [docs_] Error 1"
>>
>> when I type the command "rp -qa" I get:
>> "
>> [EMAIL PROTECTED] /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBase
>> $ rp -qa
>> bash: rp: command not found"
>>
>> Thanks in advance,
>>
>> Julia
>>
>>> Subject:
>>> ---------------------------------------------------------------
>>> Generate docs mica2 error
>>>
>>>
>>> Question:
>>> ---------------------------------------------------------------
>>> Hello,
>>>
>>> I am trying to generate docs "how different components used by
>>> the code are wired to each other"...
>>> so in
>>> "/cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/apps/TOSB
>>> a
>>> se"
>>> I wrote the command:
>>> "make docs mica" but I got the following error:
>>>
>>>
>>> $ make docs mica
>>> Making documentation for TOSBase on mica nesdoc
>>> /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/doc/nesdoc/mica
>>> -fn esc-is-app -I%T/../contrib/xbow/tos/platform/mica2
>>> -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=125
>>> -Wnesc-all -target=mica -fnesc-cfile=build/mica /app.c -board=micasb
>>> -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00
>>> -DRADIO_XMIT_P
>>> OWER=0xFF -DCC2420_TXPOWER=TXPOWER_MAX -DCC2420_DEF_CHANNEL=26
>>> -DIDENT_PROGRAM_N AME="TOSBase"
>>> -DIDENT_PROGRAM_NAME_BYTES="84,79,83,66,97,115,101,0"
>>> -DIDENT_USER
>>> _HASH=0xd6e60454L -DIDENT_UNIX_TIME=0x45073961L TOSBase.nc
>>> nesc1: ERROR: The current directory is not a subdir of one
>>> nesc1: of the source topdirs! Please correct or add
>>> nesc1: the -nesc-topdir= options
>>> nesc1:
>>> nesc1: CWD:
>>> /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/apps/TOSBase
>>> nesc1:
>>> nesc1: TOPDIRS:
>>> nesc1: /opt/tinyos-1.x
>>> make: *** [docs_] Error 1.
>>>
>>> Thanks in advance,
>>>
>>> Julia.
>>>
>>>
>>> Response:
>>> ---------------------------------------------------------------
>>> Please note that mica is an old platform that is not supported for
>>> doc
>>
>>> generation.
>>> Does "make mica2 docs" work well?
>>> If not, which version of TinyOS are you currently using?
>>> Please send me the output that you get when you type "rp -qa" command
>
>>> in Cygwin window.
>>>
>>>
>>>
>>> Sincerely,
>>>
>>> Giri Baleri
>>> Crossbow Technology, Inc
>>> www.xbow.com
>>>
>>> Please take a moment to complete this survey to help us serve you
>> better.
>>> http://www.xbow.com/Support/satform.htm
>>>
>>>
>>>
>>
>>
>>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help