Hi All, I plan to use TinyDB in a project im currently working on to decrease the workload (Bachelor-Thesis). Therefore I need to use TinyOS 1.x, because TinyDB isnt available for 2.x.
I have encountered several problems installing TinyOS 1.x using cygwin in Windows and solved them with the help of the archives. I have setup all rpms according to the 1.x install manual and updated some, which caused errors. Javacomm etc. is installed aswell and toscheck is OK. I Found a similiar thread in the December 2004 archive with no solution. I am trying to install tinyos-1.1.15Dec2005cvs-1.cygwin.noarch.rpm as suggested in an old thread (1.1.10 being rather outdatet compared to 1.1.15). Installing 1.1.15 I encounter following error: [...] make[1]: Entering directory `/opt/tinyos-1.x/tools/java/jni' make -f Makefile.CYGWIN "JDK=/cygdrive/c/Java/jdk1.6.0_29" "JNI=/cygdrive/c/Java/jdk1.6.0_29/jre/bin" all make[2]: Entering directory `/opt/tinyos-1.x/tools/java/jni' gcc -shared -ogetenv.dll -mno-cygwin "-I/cygdrive/c/Java/jdk1.6.0_29/include" "-I/cygdrive/c/Java/jdk1.6.0_29/include/win32" -D_JNI_IMPLEMENTATION -Wl,--kill-at net_tinyos_util_Env.c gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler. make[2]: *** [getenv.dll] Error 1 make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/jni' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/jni' make: *** [subdirs] Error 2 error: %post(tinyos-1.1.15Dec2005cvs-1) scriptlet failed, exit status 2 Running make in the directory will put out the same error. I have installed the avr-gcc-3.3tinyos-1w.cygwin.i386.rpm from the installtion guide but gcc -- version says im running 4.5.3 -- toscheck finds the 3.3 though... I have deinstalled all versions of gcc I found in cygwin and the rpms and reinstalled them. getenv.dll is checked in in the cvs so could I use that instead of compiling it? And how did I prevent the routine trying to compile it? Thats the only quick hack that comes to my mind. I hope somebody can help me with this issue, although its a problem from back in days concering 1.x. On the other hand: I will certainly encounter more problems with 1.x and I will have to rely on the archives, which might not work out. So: Is there a legit alternative to TinyDB in 2.x ? I am willing to do some coding, but my time is to limited to get deep into nesC and write complicated code. I planned to use TinyDB with TOSSIM to simulate a WSN for a certain domain, for which I am planning to write a proper middleware to connect the WSN with the business processes of the domain. So nothing really fancy on the WSN side. Thanks in Advance Tim _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
