[Tinyos-devel] Compilation error CompressionTest !!

Philip Levis pal at cs.stanford.edu
Mon Jun 15 15:12:15 PDT 2009


Please send questions to tinyos-help. This list is for discussing  
TinyOS internals.

Phil

On Jun 15, 2009, at 3:05 PM, Das Samar wrote:

> Hi,
>
> I'm currently using Cygwin. After setting the enviorment variable  
> using the following commands:
>
> cd tinyos-2.x-contrib
> source diku/env
>
> I tried to compile the CompresionTest application (opt/tinyos-2.x- 
> contrib/diku/common/apps/CompressionTest) with command
> 'make cc2430em'  but it gave the following errors:
>
> *******************************************************************
>
> $ make cc2430em
> mkdir -p build/cc2430em
> /opt/tinyos-2.x-contrib/diku/mcs51/support/make/mcs51/ 
> mcs51_env_check.sh
>    compiling CompressionTestAppC to a cc2430em binary
> ncc -S -Os -I/opt/tinyos-2.x-contrib/diku/mcs51/tos/platforms/ 
> cc2430em -DIDENT_A
> PPNAME=\"CompressionTest\" -DIDENT_USERNAME=\"samarjit\" - 
> DIDENT_HOSTNAME=\"PC-s
> amarjit\" -DIDENT_USERHASH=0x93d61795L -DIDENT_TIMESTAMP=0x4a3631efL  
> -DIDENT_UID
> HASH=0x4b282144L -D__cc2430em__ -D__cc2430__ -Wall -Wshadow - 
> DDEF_TOS_AM_GROUP=0
> x22 -Wnesc-all -conly -D__KEIL__ -target=cc2430em -fnesc-cfile=build/ 
> cc2430em/ap
> p.c -board=  CompressionTestAppC.nc 2>&1 | \
>                 grep -v "attribute directive ignored"
> In file included from /opt/tinyos-2.x-contrib/diku/common/lib/ 
> compression/Compre
> ssorM.nc:10,
>                  from CompressionTestAppC.nc:45:
> In component `CompressorM':
> /opt/tinyos-2.x-contrib/diku/common/lib/compression/compressor.h:1:  
> syntax error
>  before `lz77'
> CompressorM: `Compressor.init' not implemented
> CompressorM: `Compressor.flush' not implemented
> CompressorM: `Compressor.compress' not implemented
>     compiled CompressionTestAppC to build/cc2430em/app.c
> mv build/cc2430em/app.c build/cc2430em/app.preMangle.c
> mv: cannot stat `build/cc2430em/app.c': No such file or directory
> make: *** [mangle] Error 1
>
> **********************************************************************
>
> I'm now using the following version:
>
> ----------------------------------------------
> ncc: 1.2.4
> nescc: 1.3.0
> gcc: gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> Compiler: Keil version 1.7.0.1
> platform: cc2430em
> ----------------------------------------------
>
> Can you please suggest..what is the actual problem? Is this  
> something wrong with the setup or anything else?
>
> Thank you in advance.
>
> with regards
> Samarjit.
>
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel



More information about the Tinyos-devel mailing list