Hi Yusnaidi, I don't know about your problem, as I currently don't have a Mac OS X system with the latest OS to play with. However, I did compile the libraries for different systems, and the libraries included in the latest tinyos.jar should support Mac OS X on PPC, Intel 32-bit and Intel 64-bit platforms. If you don't absolutely want to compile the libraries yourself, you can use the latest tinyos.jar and see how this works for you: http://tinyos-main.googlecode.com/svn/trunk/support/sdk/java/tinyos.jar
You can also download the macosx_universal_*.lib files, rename them to lib*.jnilib and manually put them in the right folders. The files are universal binaries for Mac OS X supporting the aforementioned processors. Cheers, Urs On 03/24/2011 12:11 AM, Yusnaidi Md Yusof wrote: > Hi, > > I really stucked here. Please give me a help... > > I want to install tinyos-2.x (downloaded from git source) onto my Mac OS > X snow leopard. I have successfully install all the macports, AVR tools, > etc but when come to a stage to 'make' and 'make install' in the > $TOSROOT/tools dir, I got the following errors: > > g++ -O2 -bundle "-I/System/Library/Frameworks/JavaVM.framework/Headers" \ > -o libtoscomm.jnilib NativeSerial_darwin.cpp > NativeSerial_darwin.cpp: In member function 'void > NativeSerial::errno_wrap(bool, const char*)': > NativeSerial_darwin.cpp:77: error: 'strerror' was not declared in this scope > NativeSerial_darwin.cpp: In static member function 'static std::string > NativeSerial::getTOSCommMap()': > NativeSerial_darwin.cpp:504: error: 'getenv' was not declared in this scope > make[3]: *** [libtoscomm.jnilib] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > > I really have no idea what is wrong here. Please help me. > > thanks > > Yusnaidi > > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help