Hey,
 
I am also geting error due to this default python 2.6 installation in cygwin.. 
Have look below to see my error..
 
How to downgrade it to python2.5-dev?
 
HERE IS WHAT I GET
 
$ make micaz sim
mkdir -p simbuild/micaz
make: execvp: python2.5-config: Invalid argument
make: execvp: python2.5-config: Invalid argument
make: execvp: python2.5-config: Invalid argument
make: execvp: python2.5-config: Invalid argument
  placing object files in simbuild/micaz
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -DUSE_DL_IMPORT -fpic  -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido
-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gc
c -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -boa
rd=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DI
DENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"SHIVAM\" -DIDENT_HOSTNAME=\"hs\" -
DIDENT_USERHASH=0x8467c8e1L -DIDENT_TIMESTAMP=0x4c4ee8beL -DIDENT_UIDHASH=0xc956
44bdL -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components -fnesc-dump=vari
ables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnes
c-dump=tags -fnesc-dumpfile=app.xml
In file included from /usr/include/stdio.h:45,
                 from /opt/tinyos-2.x/tos/lib/tossim/tos.h:45:
/usr/include/sys/reent.h:185: syntax error before `('
/usr/include/sys/reent.h:186: warning: no semicolon at end of struct or union
/usr/include/sys/reent.h:187: syntax error before `('
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:240: syntax error before `('
/usr/include/sys/reent.h:241: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:187: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:242: syntax error before `('
/usr/include/sys/reent.h:243: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:240: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:244: syntax error before `('
/usr/include/sys/reent.h:244: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:242: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:245: syntax error before `('
/usr/include/sys/reent.h:245: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:244: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:264: syntax error before `('
/usr/include/sys/reent.h:264: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:245: warning: location of shadowed declaration
/usr/include/sys/reent.h:271: storage class specified for parameter `__FILE'
/usr/include/sys/reent.h:281: syntax error before `__FILE'
/usr/include/sys/reent.h:281: warning: no semicolon at end of struct or union
/usr/include/sys/reent.h:580: warning: tag _reent shadows enclosing struct/union
/enum
/usr/include/sys/reent.h:586: syntax error before `__FILE'
/usr/include/sys/reent.h:586: warning: no semicolon at end of struct or union
/usr/include/sys/reent.h:596: syntax error before `('
/usr/include/sys/reent.h:596: warning: `struct _rand48' declared inside paramete
r list
/usr/include/sys/reent.h:596: warning: its scope is only this definition or decl
aration,
/usr/include/sys/reent.h:596: warning: which is probably not what you want.
/usr/include/sys/reent.h:596: warning: `struct _reent' declared inside parameter
 list
/usr/include/sys/reent.h:596: warning: `struct __sFILE64' declared inside parame
ter list
/usr/include/sys/reent.h:596: warning: `struct _glue' declared inside parameter
list
/usr/include/sys/reent.h:596: confused by earlier errors - bailing out
make: *** [sim-exe] Error 1
 
 
Please help me out
 
Thanks
HS


--- On Fri, 21/5/10, Sam Azzaro <[email protected]> wrote:


From: Sam Azzaro <[email protected]>
Subject: Re: [Tinyos-help] cant run : make micaz sim
To: [email protected], "Tinyos-help" <[email protected]>
Date: Friday, 21 May, 2010, 1:57 PM





Hello,i had the same error,
you must install python2.5-dev
if you are using TOSSIM with ubento, you just have to tape:

> sudo apt-cache search python
>sudo apt-get install python2.5-dev


Regards 
Sam,


Date: Thu, 20 May 2010 12:59:18 +0200
From: [email protected]
To: [email protected]
Subject: [Tinyos-help] cant run : make micaz sim

hi people,
when i type make micaz sim on the promt i get this error.
my Python version ist : 2.6.5

 /opt/tinyos-2.x/tos/lib/
tossim/tossim_wrap.cxx -I/usr/include/python2.5 
-I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H 
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: No such 
file or directory
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++ forbids 
declaration of ‘PyObject’ with no type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296: error: expected ‘;’ before 
‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:297: error: ‘PyObject’ has not 
been declared
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:302: error: ‘PyObject_HEAD’ does 
not name a type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:306: error: expected initializer 
before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:313: error: ‘FILE’ has not been 
declared
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘int 
swig_varlink_print(swig_varlinkobject*, int*, int)’:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:316: error: ‘fprintf’ was not 
declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:317: error: ‘struct 
swig_varlinkobject’ has no member named ‘vars’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: At global scope:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:325: error: expected initializer 
before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected ‘}’ at end 
of input
make: *** [sim-exe] Fehler 1


Votre messagerie et bien plus où que vous soyez. Passez à Windows Live Hotmail, 
c'est gratuit ! Inscrivez-vous 
-----Inline Attachment Follows-----


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to