[Tinyos-devel] [nescc-devel] nesC 1.3.0 beta2

David Gay dgay42 at gmail.com
Thu Jun 19 14:44:56 PDT 2008


On Thu, Jun 19, 2008 at 3:40 AM, Vlado Handziski
<handzisk at tkn.tu-berlin.de> wrote:
> It looks like there is a bug in src/nesc-compile related to the path of the
> deputy_stage2.h file. At least on my machine the /include subfolder in ncc
> is not created, and the header files are put in ncc, resulting in compile
> error:
>
> [hanjo at localhost Blink]$ make telosb safe
> mkdir -p build/telosb
>     compiling BlinkAppC to a telosb binary
> ncc -o build/telosb/main.exe -DSAFE_TINYOS -fnesc-deputy -fnesc-default-safe
> -fnesc-deputy-args='-I/home/hanjo/tos/tinyos-2.x-vanilla/tos/lib/safe/include
> --FLIDs --envmachine -DSAFE_TINYOS --nolib '
> /home/hanjo/tos/tinyos-2.x-vanilla/tos/lib/safe/msp430/fail.c  -Os -O
> -mdisable-hwmul -Wall -Wshadow -Wnesc-all -target=telosb
> -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
> -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"hanjo\"
> -DIDENT_HOSTNAME=\"localhost.local\" -DIDENT_USER_HASH=0x43fc9287L
> -DIDENT_UNIX_TIME=0x485a36c0L -DIDENT_UID_HASH=0x751fee7bL  BlinkAppC.nc -lm
> build/telosb/app.c:1:54: /usr/local/lib/ncc/include/deputy_stage2.h: No such
> file or directory

Ok, I've put a beta3 on sourceforge which fixes this problem (thanks
Vlado!). Two options now:
- we (Kevin ;-)) can make a beta3 debian package
- all beta2 users can do:
  sudo ln -s /usr/lib/ncc /usr/lib/ncc/include

David


More information about the Tinyos-devel mailing list