I just found the solution, so I will post it for the record. The only thing that needs to be done is to copy the dll files in the directory /xserve/cygwindlls to the directory /cygwin/bin/. Hope it helps someone. I just didn't find it so obvious at the beginning.
2008/4/7, Javier Zazo <[EMAIL PROTECTED]>: > Hi, > I need to make xserve of Xbow work under tinyos-1.x in cygwin, but > have encountered serveral problems, and now I do not know how to fix > the last one... > > First, I copied the directory /MoteWorks/tools/xserve to the > /tinyos-1.x/tools/xserve directory. > Then I copied the cygwin1.dll from /cygwin/bin/cygwin1.dll from the > MoteWorks distribution to the TinyOS system because it was a newer > one, and did not work without it. > After that, Xserve worked, it could be loaded and it showed raw > packets on the screen. The problem is that it did not parse or convert > any packet. > > However xserve works well and parses the packets of the motes I > configured in MoteWorks, but I cannot make the same happen in the > TinyOS system > > I have modified the xparams.properties file with the correct paths and > I have also defined the following environment variables (which I found > in the MoteWorks distro): > > # > # XServe configuration... > # > export > PATH=.:/opt/tinyos-1.x/tools/xserve/bin/lib:/opt/tinyos-1.x/tools/xserve/bin/lib/datasinks:/opt/tinyos-1.x/tools/xserve/bin/lib/commands:/opt/tinyos-1.x/tools/xserve/bin/lib/parsers:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/gdome2/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/httpd/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/libmatheval/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/libxml2/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/modbus/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/postgresql/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/xmlrpc/lib:.:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/libxml2/bin:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/postgresql/bin:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/xmlrpc/bin:/opt/tinyos-1.x/tools/xserve/bin/bin:"$PATH" > > export > LD_LIBRARY_PATH=.:/opt/tinyos-1.x/tools/xserve/bin/lib:/opt/tinyos-1.x/tools/xserve/bin/lib/datasinks:/opt/tinyos-1.x/tools/xserve/bin/lib/commands:/opt/tinyos-1.x/tools/xserve/bin/lib/parsers:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/gdome2/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/httpd/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/libmatheval/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/libxml2/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/modbus/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/postgresql/lib:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/xmlrpc/lib:.:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/libxml2/bin:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/postgresql/bin:/opt/tinyos-1.x/tools/xserve/bin/3rdparty/xmlrpc/bin:/opt/tinyos-1.x/tools/xserve/bin/bin:$LD_LIBRARY_PATH > > export > XSERVE_PARAMETER_FILE=/opt/tinyos-1.x/tools/xserve/bin/xparams.properties > > That's almost everything. I have done thousands of checks, and still > it does not work. I was wondering if anyone had experienced the same > and in the end managed to make it work... > Thanks a lot for your help. > > Javier > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
