hi, please ignore my lat message. thanks to
tinyos floks, i have a vmware installation of tos
on xubuntu up and running. i installed vitps on
top and this is what i am getting when i run a
demo
(the starting error is about inability to find
jni.h):
---ptolemy.kernel.util.IllegalActionException:
Running "make -C
/usr/PTII/ptolemy/domains/ptinyos/demo/SenseToLeds/output
-f
_SenseToLeds_InWireless_MicaBoard_MicaCompositeActor0.mk
ptII" returned '2', which is a nonzero value,
which indicates an error.
Output:
make: Entering directory
`/usr/PTII/ptolemy/domains/ptinyos/demo/SenseToLeds/output'
mkdir -p build/ptII
    compiling
_SenseToLeds_InWireless_MicaBoard_MicaCompositeActor0
to a ptII binary
ncc -E -o build/ptII/main.exe -g -O0
-I%T/lib/Counters -DCOMMAND_PORT=10584
-DEVENT_PORT=10585 -D_PTII_NODEID=0
"-I/usr/PTII/vendors/ptinyos/tinyos-1.x/contrib/ptII/ptinyos/beta/TOSSIM-packet"
-I/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII
-I/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/types
-fnesc-nido-tosnodes=1000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=ptII
-fnesc-cfile=build/ptII/app.c -board=micasb
-DPLATFORM_PC
-DIDENT_PROGRAM_NAME=\"_SenseToLeds_In\"
-DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"wahid-desktop\"
-DIDENT_USER_HASH=0xcd0dd9e6L
-DIDENT_UNIX_TIME=0x473c2296L
-DIDENT_UID_HASH=0xa4a57787L
_SenseToLeds_InWireless_MicaBoard_MicaCompositeActor0.nc

    compiled
_SenseToLeds_InWireless_MicaBoard_MicaCompositeActor0
to build/ptII/app.c
/usr/bin/gcc  "-I/usr/include" \
                "-I/usr/include/linux" \
                  \
        
-D_PTII_NODE_NAME=_1SenseToLeds_1InWireless_1MicaBoard_1MicaCompositeActor0
\
                -shared -o
build/ptII/lib_SenseToLeds_InWireless_MicaBoard_MicaCompositeActor0.so
\
                build/ptII/app.c
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c

make: Leaving directory
`/usr/PTII/ptolemy/domains/ptinyos/demo/SenseToLeds/output'
Error:
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/system/ADCM.nc:
In function ‘ADCM$startGet’:
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/system/ADCM.nc:136:
warning: comparison is always false due to
limited range of data type
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/heap_array.c:
In function ‘__nesc_nido_initialise’:
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/heap_array.c:418:
warning: passing argument 1 of ‘memset’ discards
qualifiers from pointer target type
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/system/ADCM.nc:
In function ‘ADCM$startGet’:
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/system/ADCM.nc:136:
warning: comparison is always false due to
limited range of data type
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/heap_array.c:
In function ‘__nesc_nido_initialise’:
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/heap_array.c:418:
warning: passing argument 1 of ‘memset’ discards
qualifiers from pointer target type
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:35:17:
error: jni.h: No such file or directory
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:73:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:74:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ptII_global_obj’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:76:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:77:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ptII_jobject_obj’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:80:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_enqueueEvent’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:81:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ptII_jmethodID_tosDebug’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:82:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_getCharParameterValue’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:83:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_sendToPort’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:84:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_joinThreads’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:85:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_startThreads’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:88:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_serverSocketCreate’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/platform/ptII/ptII.c:89:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘ptII_jmethodID_serverSocketClose’
/usr/PTII/vendors/ptinyos/tinyos-1.x/tos/../contrib/ptII/ptinyos/tos/.........

ERRORS continue...


please help me out with this.

 Elaine Cheong <[EMAIL PROTECTED]> wrote:

> I'm away from email until Monday, November 26,
> 2007.  I will read your
> email upon my return.  If the matter is urgent,
> please indicate so in
> your email.
> 
> Elaine
> 
> (This is an automated reply).
> 



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to