Hello,

I am trying to allow my sensors to send readings to be displayed on my
computer. I am running Ubuntu 11.10 (32 bit), java 6, TinyOS 2.1.1. I am
trying to use Java Listen, to listen to my port following this tutorial.
However when I go into TinyOS tools and type make it fails. I've included
the execution of make, both just the ending and the entire thing). If
anyone has any ideas I would really appreciate it!

Mike.

I get the following at the end:
...
make[1]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos'
Making all in java
make[2]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java'
Making all in env
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java/env'
gcc "-I/usr/lib/jvm/java-6-openjdk/include/linux"
"-I/usr/lib/jvm/java-6-openjdk/include" -shared -fpic -m32
net_tinyos_util_Env.c -olibgetenv-32.so || \
    (echo 32-bit libgetenv.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD
AN RPM; echo Press return to continue; read; rm -f libgetenv-32.so)
gcc -I/usr/lib/jvm/java-6-openjdk/include/linux
-I/usr/lib/jvm/java-6-openjdk/include -shared -fpic -m64
net_tinyos_util_Env.c -olibgetenv-64.so
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java/env'
Making all in serial
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java/serial'
g++ -m32 -O1 -shared -fPIC "-I/usr/lib/jvm/java-6-openjdk/include"
"-I/usr/lib/jvm/java-6-openjdk/include/linux" -o libtoscomm-32.so
NativeSerial_linux.cpp || \
    (echo 32-bit libtoscomm.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD
AN RPM; echo Press return to continue; read; rm -f libtoscomm-32.so)
g++ -m64 -O1 -shared -fPIC -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux -o libtoscomm-64.so
NativeSerial_linux.cpp
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/i686-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/i686-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
64-bit libtoscomm.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD AN RPM
Press return to continue
..
..

The entire execution of make is here:

michael@meee:~/libraries/local/src/tinyos-2.x/tools$ make
Making all in platforms
make[1]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms'
Making all in mica
make[2]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica'
Making all in cc1000-channelgen
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/cc1000-channelgen'
gcc -DPACKAGE_NAME=\"tinyos-tools\" -DPACKAGE_TARNAME=\"tinyos-tools\"
-DPACKAGE_VERSION=\"1.2.4\" -DPACKAGE_STRING=\"tinyos-tools\ 1.2.4\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyos-tools\"
-DVERSION=\"1.2.4\" -I.     -g -O2 -MT tos-channelgen.o -MD -MP -MF
.deps/tos-channelgen.Tpo -c -o tos-channelgen.o tos-channelgen.c
mv -f .deps/tos-channelgen.Tpo .deps/tos-channelgen.Po
gcc  -g -O2   -o tos-channelgen tos-channelgen.o
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/cc1000-channelgen'
Making all in uisp
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp'
Making all in src
make[4]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp/src'
make  all-am
make[5]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp/src'
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT Avr.o -MD -MP -MF .deps/Avr.Tpo
-c -o Avr.o Avr.C
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
Avr.C:127:1: warning: deprecated conversion from string constant to ‘char*’
[-Wwrite-strings]
mv -f .deps/Avr.Tpo .deps/Avr.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT AvrAtmel.o -MD -MP -MF
.deps/AvrAtmel.Tpo -c -o AvrAtmel.o AvrAtmel.C
mv -f .deps/AvrAtmel.Tpo .deps/AvrAtmel.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT AvrDummy.o -MD -MP -MF
.deps/AvrDummy.Tpo -c -o AvrDummy.o AvrDummy.C
mv -f .deps/AvrDummy.Tpo .deps/AvrDummy.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT AvrStargate.o -MD -MP -MF
.deps/AvrStargate.Tpo -c -o AvrStargate.o AvrStargate.C
mv -f .deps/AvrStargate.Tpo .deps/AvrStargate.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT DAPA.o -MD -MP -MF
.deps/DAPA.Tpo -c -o DAPA.o DAPA.C
mv -f .deps/DAPA.Tpo .deps/DAPA.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT Main.o -MD -MP -MF
.deps/Main.Tpo -c -o Main.o Main.C
mv -f .deps/Main.Tpo .deps/Main.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT MotIntl.o -MD -MP -MF
.deps/MotIntl.Tpo -c -o MotIntl.o MotIntl.C
MotIntl.C: In member function ‘void TMotIntl::Read(const char*, bool,
bool)’:
MotIntl.C:354:39: warning: ignoring return value of ‘char* fgets(char*,
int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/MotIntl.Tpo .deps/MotIntl.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT SASA.o -MD -MP -MF
.deps/SASA.Tpo -c -o SASA.o SASA.C
SASA.C: In member function ‘unsigned char TSASA::SendRecv(unsigned char)’:
SASA.C:152:21: warning: ignoring return value of ‘ssize_t write(int, const
void*, size_t)’, declared with attribute warn_unused_result
[-Wunused-result]
SASA.C:153:27: warning: ignoring return value of ‘ssize_t read(int, void*,
size_t)’, declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/SASA.Tpo .deps/SASA.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT Serial.o -MD -MP -MF
.deps/Serial.Tpo -c -o Serial.o Serial.C
mv -f .deps/Serial.Tpo .deps/Serial.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT Stk500.o -MD -MP -MF
.deps/Stk500.Tpo -c -o Stk500.o Stk500.C
Stk500.C: In member function ‘virtual void TStk500::FlushWriteBuffer()’:
Stk500.C:424:37: warning: suggest parentheses around ‘+’ inside ‘<<’
[-Wparentheses]
Stk500.C:410:9: warning: variable ‘addr’ set but not used
[-Wunused-but-set-variable]
Stk500.C: In member function ‘void TStk500::Initialize()’:
Stk500.C:632:61: warning: suggest parentheses around assignment used as
truth value [-Wparentheses]
Stk500.C: In member function ‘void TStk500::ReadMem()’:
Stk500.C:808:9: warning: variable ‘addr’ set but not used
[-Wunused-but-set-variable]
mv -f .deps/Stk500.Tpo .deps/Stk500.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT Terminal.o -MD -MP -MF
.deps/Terminal.Tpo -c -o Terminal.o Terminal.C
Terminal.C: In member function ‘void TTerminal::Run()’:
Terminal.C:66:22: warning: ignoring return value of ‘int scanf(const char*,
...)’, declared with attribute warn_unused_result [-Wunused-result]
Terminal.C:85:54: warning: ignoring return value of ‘int scanf(const char*,
...)’, declared with attribute warn_unused_result [-Wunused-result]
Terminal.C:93:54: warning: ignoring return value of ‘int scanf(const char*,
...)’, declared with attribute warn_unused_result [-Wunused-result]
Terminal.C:122:23: warning: ignoring return value of ‘int scanf(const
char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Terminal.C:143:21: warning: ignoring return value of ‘int scanf(const
char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Terminal.C:149:26: warning: ignoring return value of ‘int scanf(const
char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Terminal.C:153:21: warning: ignoring return value of ‘int scanf(const
char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/Terminal.Tpo .deps/Terminal.Po
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT cygwinp.o -MD -MP -MF
.deps/cygwinp.Tpo -c -o cygwinp.o cygwinp.C
mv -f .deps/cygwinp.Tpo .deps/cygwinp.Po
g++ -Wall -g -O2   -o uisp Avr.o AvrAtmel.o AvrDummy.o AvrStargate.o DAPA.o
Main.o MotIntl.o SASA.o Serial.o Stk500.o Terminal.o cygwinp.o
make[5]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp/src'
make[4]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp/src'
make[4]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp'
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica/uisp'
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica'
make[2]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/mica'
Making all in msp430
make[2]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430'
Making all in motelist
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/motelist'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/motelist'
Making all in pybsl
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/pybsl'
Making all in serial
make[4]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/pybsl/serial'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/pybsl/serial'
make[4]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/pybsl'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/pybsl'
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430/pybsl'
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430'
make[2]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/msp430'
Making all in sam3
make[2]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/sam3'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms/sam3'
make[2]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms'
make[1]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/platforms'
Making all in tinyos
make[1]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos'
Making all in java
make[2]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java'
Making all in env
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java/env'
gcc "-I/usr/lib/jvm/java-6-openjdk/include/linux"
"-I/usr/lib/jvm/java-6-openjdk/include" -shared -fpic -m32
net_tinyos_util_Env.c -olibgetenv-32.so || \
    (echo 32-bit libgetenv.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD
AN RPM; echo Press return to continue; read; rm -f libgetenv-32.so)
gcc -I/usr/lib/jvm/java-6-openjdk/include/linux
-I/usr/lib/jvm/java-6-openjdk/include -shared -fpic -m64
net_tinyos_util_Env.c -olibgetenv-64.so
make[3]: Leaving directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java/env'
Making all in serial
make[3]: Entering directory
`/home/michael/libraries/local/src/tinyos-2.x/tools/tinyos/java/serial'
g++ -m32 -O1 -shared -fPIC "-I/usr/lib/jvm/java-6-openjdk/include"
"-I/usr/lib/jvm/java-6-openjdk/include/linux" -o libtoscomm-32.so
NativeSerial_linux.cpp || \
    (echo 32-bit libtoscomm.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD
AN RPM; echo Press return to continue; read; rm -f libtoscomm-32.so)
g++ -m64 -O1 -shared -fPIC -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux -o libtoscomm-64.so
NativeSerial_linux.cpp
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/i686-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/i686-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
64-bit libtoscomm.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD AN RPM
Press return to continue
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to