what is the meaning and solution of the following errors:
1.
[EMAIL PROTECTED] Blink]# make micaz sim
.
.
.
.
.
.
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3289: `int resultobj'
previously
defined here
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3307: parse error before
`return
'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3308: syntax error before `:'
token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3313: syntax error before `*'
token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3316: ISO C++ forbids
declaration of `SWIG_TypeClientData' with no type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3316: redefinition of `int
SWIG_TypeClientData'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2943: `int SWIG_TypeClientData'
previously defined here
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3316: initializer list being
treated as compound expression
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3317: ISO C++ forbids
declaration of `Py_INCREF' with no type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3317: redefinition of `int
Py_INCREF'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3238: `int Py_INCREF'
previously
defined here
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3318: parse error before
`return
'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3320: syntax error before `['
token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3473: parse error before `}'
token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function `void
init_TOSSIM()':
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3480: ISO C++ forbids
declaration of `PyObject' with no type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3480: parse error before `*'
token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3482: `m' undeclared (first use
this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3484: `SWIG_globals' undeclared
(first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3484: `SWIG_newvarlink'
undeclared (first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3485: `SwigMethods' undeclared
(first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3485: `Py_InitModule'
undeclared
(first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3486: `PyModule_GetDict'
undeclared (first use this function)
make: *** [sim-exe] Error 1
2.
[EMAIL PROTECTED] Blink]# make micaz docs
Making documentation for BlinkAppC on micaz
nesdoc -o /opt/tinyos-2.x/doc/nesdoc -finline-limit=100000 -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"root\"
-DIDENT_HOSTNAME=\"localhost.local\" -DIDENT_USER_HASH=0x53b81074L
-DIDENT_UNIX_TIME=0x46f556f1L -DIDENT_UID_HASH=0x4ab14f95L BlinkAppC.nc
interface Boot (tos.interfaces.Boot)
Traceback (most recent call last):
File "/usr/lib/tinyos/nesdoc/archive.py", line 219, in ?
doc = creator.createDocument(None, None, None)
File "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py", line 807,
in
createDocument
raise xml.dom.InvalidCharacterErr("Element with no name")
xml.dom.InvalidCharacterErr: Element with no name
make: *** [docs_] Error 1
3.
[EMAIL PROTECTED] Blink]# rpm -ivh --replacepkgs
/root/installation2/linux/s4/tinyos-tools-1.2.4-3.i386.rpm
Preparing... ########################################### [100%]
1:tinyos-tools ########################################### [100%]
Java not found, not installing JNI code
with the knowledge that my environment is :
[EMAIL PROTECTED] Blink]# tos-check-env
Path:
/opt/ibm/java2-i386-50/bin
/opt/ibm/java2-i386-50/jre/bin
/usr/local/sbin
/usr/local/bin
/sbin
/bin
/usr/sbin
/usr/bin
/usr/X11R6/bin
/opt/msp430/bin
/root/bin
/opt/msp430/bin
Classpath:
.
/opt/tinyos-2.x/support/sdk/java/tinyos.jar
rpms:
/bin/rpm
msp430tools-binutils-2.16-20050607
automake-1.6.3-5
msp430tools-python-tools-1.0-1
avr-gcc-3.4.3-1
nesc-1.2.7a-1
pmake-1.45-10
msp430tools-gdb-6.0-20050609
avarice-2.4-1
make-3.80tinyos-1
automake14-1.4p6-5.1
avr-binutils-2.15tinyos-3
avr-insight-6.3-1
msp430tools-gcc-3.2.3-20050607
automake15-1.5-6
msp430tools-base-0.1-20050607
tinyos-2.0.2-2
tinyos-tools-1.2.4-3
avr-libc-1.2.3-1
msp430tools-jtag-lib-20031101cvs-20050610
msp430tools-libc-20050308cvs-20050608
nesc:
/usr/bin/nescc
Version: nescc: 1.2.7a
perl:
/usr/bin/perl
Version: v5.8.0 built for i386-linux-thread-multi
flex:
/usr/bin/flex
bison:
/usr/bin/bison
java:
/opt/ibm/java2-i386-50/bin/java
java version "1.5.0"
graphviz:
/usr/bin/dot
dot version 1.10 (Thu Jul 10 02:30:40 EDT 2003)
tos-check-env completed without error.
[EMAIL PROTECTED] Blink]#
thank you very much.
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos & more. _______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help