hi, 
i come across compilation errors when trying to recreate tinyos.jar, which 
appear to stem from /opt/tinyos-2.x/support/sdk/java/net/tinyos/packet
i'm trying to recreate tinyos.jar in /opt/tinyos-2.x/support/sdk/java by
make cleanmakemake tinyos.jar
my setup is Windows XP, cygwin, tinyos-2.1 installed using rpms, 
# echo $CLASSPATHc:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.
# which java/cygdrive/c/Program Files/Java/jdk1.6.0_20/bin/java
# which javac/cygdrive/c/Program Files/Java/jdk1.6.0_20/bin/javac
running make in /opt/tinyos-2.x/support/sdk/java/net/tinyos/packet
produces:
# make... /opt/tinyos-2.x/support/sdk/java/net/tinyos/packetncg -o Serial.java 
-java-classname=net.tinyos.packet.Serial java 
/opt/tinyos-2.x/tos/lib/serial/Serial.h Serial.hIn file included from 
/usr/include/stdio.h:45,                 from 
/opt/tinyos-2.x/tos/system/tos.h:9:/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: In function 
`_EXFNPTR':/usr/include/sys/reent.h:242: syntax error before 
`('/usr/include/sys/reent.h: In function 
`_EXFNPTR':/usr/include/sys/reent.h:244: syntax error before 
`('/usr/include/sys/reent.h: In function 
`_EXFNPTR':/usr/include/sys/reent.h:245: syntax error before 
`('/usr/include/sys/reent.h: In function 
`_EXFNPTR':/usr/include/sys/reent.h:264: syntax error before 
`('/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: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 
parameter list/usr/include/sys/reent.h:596: warning: its scope is only this 
definition or declaration,/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 parameter list/usr/include/sys/reent.h:596: 
warning: `struct _glue' declared inside 
parameterlist/usr/include/sys/reent.h:596: confused by earlier errors - bailing 
outfailed to parse nesC file /opt/tinyos-2.x/tos/lib/serial/Serial.hmake: *** 
[Serial.java] Error 1

any help to resolve this would be greatly appreciated.
regards
brooksy


                                          
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to