Hi!

On Sun, 17 Jun 2007, Yu-En Tsai wrote:

Hi Mike,
I use these 2 instructions to do CVS update:
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos-2.x

After this checkout did you update the TOSDIR variable to point the checkout? The bnp.extra is using the TOSDIR to build the paths the Deluge T2 needs.

I update my CVS tree again and the same problems still occur.

Did you install the tools/tinyos/misc?

Also, I tried to download "bnp.extra" directly from web-based CVS
repository.
It didn't work either.
Did I miss anything?

Can you be more specific about what exactly have you done?

Ryan,
I tried your suggestion too.
There will be more error messages.

In file included from GoldenImageC.nc:31:
******************************************************************
In component `DelugeC':
/opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:37: component FlashVolumeManagerC 
not found
/opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:37: component 
`FlashVolumeManagerC ' is not generic
...

Manually adding the path to DelugeC is not enough. The path to the FlashVolumeManager, Dissemination and a bunch of platform specific components are also necessary. The bnp.extra should properly include everything.

--
Razvan ME


On 6/17/07, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]> wrote:

Hi Yu-En,

It seems that you don't have the latest "bnp.extra" in
"tinyos-2.x/support/make/" directory. Could you please update your CVS
tree and try again?

Mike



On 6/17/07, J. Ryan Stinnett <[EMAIL PROTECTED]> wrote:

Yu-En Tsai wrote:
> I was guessing it's because I couldn't install GoldenImage, then I tried
> install it.
> Now the compiler complains the component DelugeC cannot be found:
>
> *****************************************************************
> $ CFLAGS=-DDELUGE_BASESTATION make micaz install mib510,/dev/ttyS0
> mkdir -p build/micaz
>     compiling GoldenImageC to a micaz binary
> ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow 
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
-Ibuild/micaz -DDELUGE_BASESTATION -DDELUGE_BASESTATION -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml GoldenImageC.nc -lm
> In component `GoldenImageC':
> GoldenImageC.nc:31: component DelugeC not found
> make: *** [exe0] Error 1

I haven't tried using Deluge under T2 yet, but if DelugeC is not in the
same directory as GoldenImageC, I'm guessing you'd need to add a CFLAGS
+= -I... where the "..." should be replaced with the directory
containing DelugeC to the Makefile or command line when making
GoldenImageC.

- Ryan


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to