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
> -DDELUG
> E_BASESTATION -DDELUGE_BASESTATION -fnesc-dump=wiring
> -fnesc-dump='interfaces(!a
> bstract())' -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