Hi
            I have installed tinyos 2.1.1 in ubuntu 10.10.It works
fine.Then i need to run some code on tinyos 1.x.Though tinyos 2.1.1 is
not backward compatible.So i someone from
tinyos-help@millennium.berkeley.edu suggested me to installed install
tinyos 1.x by cvs.As i have already installed installed tinyos 2.1.1
so i go only for tinyos 1.x by cvs But now i am facing following
problem from last 3 days.i tried to set java classpath in different
ways But the problem remain the same plzzzzzzzzzzzz help




/opt/tinyos-1.x/beta/TOSComm$ sudo make
cd comm && make && make install
make[1]: Entering directory `/opt/tinyos-1.x/beta/TOSComm/comm'
g++ -O2 -shared -pg \
          -Ibuild_linux -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux \
          -o build_linux/libTOSComm.so NativeSerial_linux.cpp
NativeSerial_linux.cpp: In member function ‘void
NativeSerial::errno_wrap(bool, const char*)’:
NativeSerial_linux.cpp:77: error: ‘strerror’ was not declared in this scope
NativeSerial_linux.cpp: In constructor
‘NativeSerial::NativeSerial(const char*)’:
NativeSerial_linux.cpp:455: error: ‘bzero’ was not declared in this scope
NativeSerial_linux.cpp: In static member function ‘static std::string
NativeSerial::getTOSCommMap()’:
NativeSerial_linux.cpp:506: error: ‘getenv’ was not declared in this scope
make[1]: *** [build_linux/libTOSComm.so] Error 1
make[1]: Leaving directory `/opt/tinyos-1.x/beta/TOSComm/comm'
make: *** [all] Error 2

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to