I am trying to install TinyOS 2 in Ubuntu. The installation did not throw any errors. After installation, i proceeded to verify if TinyOS was successfully installed. As explained in Tutorial 1<http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson1.html>at the TinyOS website, I ran the following commands:
$ tos-check-env (The script ran successfully) $ configure (The output is attached as a text file) $ make (The following errors were generated:) Making all in env make[2]: Entering directory `/opt/tinyos-2.x/tools/tinyos/java/env' gcc -I/usr/lib/jvm/java-1.5.0-sun/include/linux -I/usr/lib/jvm/java-1.5.0-sun/include -shared -fpic -m64 net_tinyos_util_Env.c - olibgetenv-64.so /usr/bin/ld: cannot find -lgcc_s Any help will be much appreciated. Thank you. Regards, Shankar.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking for perl... /usr/bin/perl checking for python... /usr/bin/python checking for nescc... /usr/bin/nescc configure: Default ncc build target is mica configure: ...but using a tos/.default-platform file is a better choice configure: TinyOS directory is /opt/tinyos-2.x/tos checking for cygwin... no checking for JDK location... /usr/lib/jvm/java-1.5.0-sun configure: creating ./config.status config.status: creating Makefile config.status: creating platforms/Makefile config.status: creating platforms/mica/Makefile config.status: creating platforms/mica/cc1000-channelgen/Makefile config.status: creating platforms/msp430/Makefile config.status: creating platforms/msp430/motelist/Makefile config.status: creating platforms/msp430/pybsl/Makefile config.status: creating platforms/msp430/pybsl/tos-bsl.1 config.status: creating platforms/msp430/pybsl/serial/Makefile config.status: creating tinyos/Makefile config.status: creating tinyos/java/Makefile config.status: creating tinyos/java/env/Makefile config.status: creating tinyos/java/serial/Makefile config.status: creating tinyos/misc/tos-ident-flags config.status: creating tinyos/misc/tos-install-jni config.status: creating tinyos/misc/tos-set-symbols config.status: creating tinyos/misc/tos-write-image config.status: creating tinyos/misc/tos-storage-at45db config.status: creating tinyos/misc/tos-storage-stm25p config.status: creating tinyos/misc/Makefile config.status: creating tinyos/ncc/Makefile config.status: creating tinyos/ncc/mig config.status: creating tinyos/ncc/ncc config.status: creating tinyos/ncc/ncg config.status: creating tinyos/ncc/nesdoc config.status: creating tinyos/ncc/nesdoc-py/Makefile config.status: executing depfiles commands === configuring in platforms/mica/uisp (/opt/tinyos-2.x/tools/platforms/mica/uisp) configure: running /bin/bash ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for strstr... yes checking for strtol... yes checking for strtod... yes checking for cygwin... no configure: creating ./config.status config.status: creating src/Makefile config.status: creating kernel/Makefile config.status: creating kernel/win32/Makefile config.status: creating uisp.1 config.status: creating uisp.spec config.status: creating Makefile config.status: creating src/config.h config.status: src/config.h is unchanged config.status: executing depfiles commands
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
